perl.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-perl" role="wrap">
  7. <title>Perl-&perl-version;</title>
  8. <?dbhtml filename="perl.html"?>
  9. <sect2 role="package"><title/>
  10. <segmentedlist>
  11. <segtitle>&buildtime;</segtitle>
  12. <segtitle>&diskspace;</segtitle>
  13. <seglistitem><seg>0.8 SBU</seg><seg>74 MB</seg></seglistitem>
  14. </segmentedlist>
  15. </sect2>
  16. <sect2 role="installation">
  17. <title>Installation of Perl</title>
  18. <para>First adapt some hard-wired paths to the C library:</para>
  19. <screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
  20. <para>Now prepare Perl for compilation:</para>
  21. <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen>
  22. <para>Compile only the required tools:</para>
  23. <screen><userinput>make perl utilities</userinput></screen>
  24. <para>Then copy these tools and their libraries:</para>
  25. <screen><userinput>cp perl pod/pod2man /tools/bin
  26. mkdir -p /tools/lib/perl5/&perl-version;
  27. cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
  28. </sect2>
  29. </sect1>