diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter05/perl.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r-- | chapter05/perl.xml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml index d1ab2cafe..21ec2f969 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -7,7 +7,35 @@ Estimated required disk space: &perl-compsize-tools;</screen> &aa-perl-shortdesc; &aa-perl-dep; -&c5-perl-inst; + +<sect2><title> </title><para> </para></sect2> +<sect2> +<title>Installation of Perl</title> + +<para>First adapt some hard-wired paths to the C library:</para> + +<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen> + +<para>And make sure some static extensions get built:</para> + +<screen><userinput>chmod u+w hints/linux.sh +echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen> + +<para>Now prepare Perl for compilation:</para> + +<screen><userinput>./configure.gnu --prefix=/tools</userinput></screen> + +<para>Compile only the required tools:</para> + +<screen><userinput>make perl utilities</userinput></screen> + +<para>Then copy these tools and their libraries:</para> + +<screen><userinput>cp perl pod/pod2man /tools/bin +mkdir -p /tools/lib/perl5/&perl-version; +cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen> + +</sect2> </sect1> |