diff options
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r-- | chapter05/perl.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 14858b17b..77d18a8d6 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -43,6 +43,12 @@ <sect2 role="installation"> <title>Installation of Perl</title> + <para>First, fix a build issue that arises only in the LFS environment:</para> + +<screen><userinput remap="pre">sed -e '9751 a#ifndef PERL_IN_XSUB_RE' \ + -e '9808 a#endif' \ + -i regexec.c</userinput></screen> + <para>Prepare Perl for compilation:</para> <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm</userinput></screen> |