perl-inst.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Perl</title>
  4. <para>Prepare Perl for compilation:</para>
  5. <para><screen><userinput>./configure.gnu --prefix=/usr</userinput></screen></para>
  6. <para>If you want more control over the way Perl sets itself up to be
  7. built, you can run the interactive <userinput>Configure</userinput> script
  8. instead and modify the way Perl is built. If you think you can live with the
  9. (sensible) defaults Perl auto-detects, then just use the command listed
  10. above.</para>
  11. <para>Compile the package:</para>
  12. <para><screen><userinput>make</userinput></screen></para>
  13. <para>This package has a test suite available which can perform a number of
  14. checks to ensure it built correctly. Should you choose to run it, you first
  15. have to create a basic <filename>/etc/hosts</filename> file, needed by a
  16. couple of tests to resolve the name <emphasis>localhost</emphasis>:</para>
  17. <para><screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen></para>
  18. <para>Now run the tests, if you wish:</para>
  19. <para><screen><userinput>make test</userinput></screen></para>
  20. <para>And install the package:</para>
  21. <para><screen><userinput>make install</userinput></screen></para>
  22. </sect2>