aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/perl.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-04 22:22:49 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-04 22:22:49 +0000
commitfe5b13b40b50e7be2b16cbd477988e7828fcd8ca (patch)
tree33b61713c805145912ed919b77ef1db620e3d6de /chapter05/perl.xml
parent4248b0ec1488319d448ad624e275a9a2811c0090 (diff)
Moving Mounting proc to before Chroot, dropping Util-linux, adding an arch script to Perl.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3220 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r--chapter05/perl.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index dccb191c0..7251700c1 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -17,7 +17,13 @@
<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
-<para>Now prepare Perl for compilation (make sure to get the 'IO Fcntl'
+<para>Perl insists on using the <command>arch</command> program to find out
+the machine type. Create a little script to mimick this command:</para>
+
+<screen><userinput>echo "uname -m" &gt; /tools/bin/arch
+chmod 755 /tools/bin/arch</userinput></screen>
+
+<para>Now prepare Perl for compilation (make sure you get the 'IO Fcntl'
right, they are all letters):</para>
<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen>