perl.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <sect1 id="ch05-perl">
  2. <title>Installing Perl-&perl-version;</title>
  3. <?dbhtml filename="perl.html" dir="chapter05"?>
  4. <screen>Estimated build time: &perl-time-tools;
  5. Estimated required disk space: &perl-compsize-tools;</screen>
  6. &aa-perl-shortdesc;
  7. &aa-perl-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Perl</title>
  11. <para>First adapt some hard-wired paths to the C library:</para>
  12. <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
  13. <para>And make sure some static extensions get built:</para>
  14. <screen><userinput>chmod u+w hints/linux.sh
  15. echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen>
  16. <para>Now prepare Perl for compilation:</para>
  17. <screen><userinput>./configure.gnu --prefix=/tools</userinput></screen>
  18. <para>Compile only the required tools:</para>
  19. <screen><userinput>make perl utilities</userinput></screen>
  20. <para>Then copy these tools and their libraries:</para>
  21. <screen><userinput>cp perl pod/pod2man /tools/bin
  22. mkdir -p /tools/lib/perl5/&perl-version;
  23. cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
  24. </sect2>
  25. </sect1>