source: BOOK/temp-tools/common/perl.xml@ 8fdfc096

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8fdfc096 was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.0 KB
Line 
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
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/perl.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/perl.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Perl</title>
45
46 <para os="aa">First adapt some hard-wired paths to the C library by applying
47 the following patch:</para>
48
49<screen os="ab"><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
50
51 <para os="ac">Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
52 part of the command correct&mdash;they are all letters):</para>
53
54<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen>
55
56 <variablelist os="ad">
57 <title>The meaning of the configure option:</title>
58
59 <varlistentry>
60 <term><parameter>-Dstatic_ext='IO Fcntl POSIX'</parameter></term>
61 <listitem>
62 <para>This tells Perl to build the minimum set of static
63 extensions needed for installing and testing the Coreutils
64 package in the next chapter.</para>
65 </listitem>
66 </varlistentry>
67
68 </variablelist>
69
70 <para os="ae">Only a few of the utilities contained in this package need to be
71 built:</para>
72
73<screen os="af"><userinput>make perl utilities</userinput></screen>
74
75 <para os="ag">Although Perl comes with a test suite, it is not recommended to
76 run it at this point. Only part of Perl was built and running
77 <userinput>make test</userinput> now will cause the rest of Perl to be
78 built as well, which is unnecessary at this point. The test suite can
79 be run in the next chapter if desired.</para>
80
81 <para os="ah">Install these tools and their libraries:</para>
82
83<screen os="ai"><userinput>cp perl pod/pod2man /tools/bin
84install -d /tools/lib/perl5/&perl-version;
85cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="content">
90 <title/>
91
92 <para>Details on this package are located in <xref
93 linkend="contents-perl" role="."/></para>
94
95 </sect2>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.