source: temp-tools/common/perl.xml@ 9a83e07

Last change on this file since 9a83e07 was 9a83e07, checked in by Jim Gifford <clfs@…>, 19 years ago

r661@server (orig r659): manuel | 2005-11-08 13:24:20 -0800
Removing SBUs and DUs. Chapter temp-tools.

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-temp-tools-perl" role="wrap">
11 <?dbhtml filename="perl.html"?>
12
13 <title>Perl-&perl-version;</title>
14
15 <indexterm zone="ch-temp-tools-perl">
16 <primary sortas="a-Perl">Perl</primary>
17 <secondary>temporary tools</secondary>
18 </indexterm>
19
[9a83e07]20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../../final-system/common/perl.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
[bf8c11f]23
24 <sect2 role="installation">
25 <title>Installation of Perl</title>
26
27 <para os="aa">First adapt some hard-wired paths to the C library by applying
28 the following patch:</para>
29
30<screen os="ab"><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
31
32 <para os="ac">Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
33 part of the command correct&mdash;they are all letters):</para>
34
35<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen>
36
37 <variablelist os="ad">
38 <title>The meaning of the configure option:</title>
39
40 <varlistentry>
41 <term><parameter>-Dstatic_ext='IO Fcntl POSIX'</parameter></term>
42 <listitem>
43 <para>This tells Perl to build the minimum set of static
44 extensions needed for installing and testing the Coreutils
45 package in the next chapter.</para>
46 </listitem>
47 </varlistentry>
48
49 </variablelist>
50
51 <para os="ae">Only a few of the utilities contained in this package need to be
52 built:</para>
53
54<screen os="af"><userinput>make perl utilities</userinput></screen>
55
56 <para os="ag">Although Perl comes with a test suite, it is not recommended to
57 run it at this point. Only part of Perl was built and running
58 <userinput>make test</userinput> now will cause the rest of Perl to be
59 built as well, which is unnecessary at this point. The test suite can
60 be run in the next chapter if desired.</para>
61
62 <para os="ah">Install these tools and their libraries:</para>
63
64<screen os="ai"><userinput>cp perl pod/pod2man /tools/bin
65install -d /tools/lib/perl5/&perl-version;
66cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
67
68 </sect2>
69
70 <sect2 role="content">
71 <title/>
72
73 <para>Details on this package are located in <xref
74 linkend="contents-perl" role="."/></para>
75
76 </sect2>
77
78</sect1>
Note: See TracBrowser for help on using the repository browser.