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 /chapter06/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 'chapter06/perl.xml')
-rw-r--r-- | chapter06/perl.xml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 8528e6149..5e90ec069 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -7,7 +7,42 @@ Estimated required disk space: &perl-compsize;</screen> &aa-perl-shortdesc; &aa-perl-dep; -&c6-perl-inst; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of Perl</title> + +<para>Prepare Perl for compilation:</para> + +<screen><userinput>./configure.gnu --prefix=/usr</userinput></screen> + +<para>If you want more control over the way Perl sets itself up to be +built, you can run the interactive <userinput>Configure</userinput> script +instead and modify the way Perl is built. If you think you can live with the +(sensible) defaults Perl auto-detects, then just use the command listed +above.</para> + +<para>Compile the package:</para> + +<screen><userinput>make</userinput></screen> + +<para>This package has a test suite available which can perform a number of +checks to ensure it built correctly. Should you choose to run it, you first +have to create a basic <filename>/etc/hosts</filename> file, needed by a +couple of tests to resolve the name <emphasis>localhost</emphasis>:</para> + +<screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> + +<para>Now run the tests, if you wish:</para> + +<screen><userinput>make test</userinput></screen> + +<para>And install the package:</para> + +<screen><userinput>make install</userinput></screen> + +</sect2> </sect1> |