diff options
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r-- | chapter05/perl.xml | 8 |
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" > /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> |