aboutsummaryrefslogtreecommitdiffstats
path: root/prologue/hostreqs.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-28 03:34:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-28 03:34:38 +0000
commit3d2cea91bd05ac1a9868b0d7fe24bc9ffad404c3 (patch)
tree343e5443c2cbace8164b0ebbc8ce91b657571ddf /prologue/hostreqs.xml
parent377cfd011610da9f9e00209cb42404982c900847 (diff)
Update to man-pages-3.67.
Reformatted version check script to fit pdf pages properly. Added a note about adding the parent directory to the es and pt keymaps for proper keymap loading. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10569 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue/hostreqs.xml')
-rw-r--r--prologue/hostreqs.xml43
1 files changed, 30 insertions, 13 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 0a73e0132..14b010b6a 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -176,26 +176,39 @@ if [ -e /usr/bin/awk ];
then echo "/usr/bin/awk -&gt; `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
-gcc --version | head -n1
-g++ --version | head -n1
-ldd --version | head -n1 | cut -d" " -f2- # glibc version
-grep --version | head -n1
-gzip --version | head -n1
+gcc - -version | head -n1
+g++ - -version | head -n1
+ldd - -version | head -n1 | cut -d" " -f2- # glibc version
+grep - -version | head -n1
+gzip - -version | head -n1
cat /proc/version
-m4 --version | head -n1
-make --version | head -n1
-patch --version | head -n1
+m4 - -version | head -n1
+make - -version | head -n1
+patch - -version | head -n1
echo Perl `perl -V:version`
-sed --version | head -n1
-tar --version | head -n1
-xz --version | head -n1
+sed - -version | head -n1
+tar - -version | head -n1
+xz - -version | head -n1
echo 'main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
if [ -x dummy ]
then echo "g++ compilation OK";
else echo "g++ compilation failed"; fi
-rm -f dummy.c dummy
+rm -f dummy.c dummy</literal>
+<!--
+for lib in lib{gmp,mpfr,mpc}.la; do
+ echo $lib: $(if find /usr/lib* -name $lib|
+ grep -q $lib;then :;else echo not;fi) found
+done
+unset lib</literal>-->
+EOF
+
+bash version-check.sh</userinput></screen>
+
+ <para>Also check for some library consistency:</para>
+<screen role="nodump"><userinput>cat &gt; library-check.sh &lt;&lt; "EOF"
+<literal>#!/bin/bash
for lib in lib{gmp,mpfr,mpc}.la; do
echo $lib: $(if find /usr/lib* -name $lib|
grep -q $lib;then :;else echo not;fi) found
@@ -203,7 +216,11 @@ done
unset lib</literal>
EOF
-bash version-check.sh</userinput></screen>
+bash library-check.sh</userinput></screen>
+
+<para>The files identified by this script should be all present
+or all absent, but not only one or two present.</para>
+
</sect2>
</sect1>