|
@@ -48,19 +48,13 @@
|
|
|
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
|
|
|
|
|
|
- <para>The configuration script needs to be adjusted to run in the restricted
|
|
|
- LFS environment:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">chmod -v 0775 Configure
|
|
|
-sed -i -e '/Restore computed paths/i libswanted=""' Configure</userinput></screen>
|
|
|
-
|
|
|
<para>Prepare Perl for compilation:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools</userinput></screen>
|
|
|
|
|
|
<para>Build the package:</para>
|
|
|
|
|
|
-<screen><userinput remap="make">make CLDFLAGS='-lm'</userinput></screen>
|
|
|
+<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
<para>Although Perl comes with a test suite, it would be better to wait
|
|
|
until it is insalled in the next chapter.</para>
|