source: BOOK/temp-tools/common/perl.xml@ 0a6f670

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0a6f670 was aa3ee8b, checked in by Jim Gifford <clfs@…>, 19 years ago

r783@server (orig r781): jim | 2005-11-30 22:29:11 -0800

r840@server: jim | 2005-11-30 22:28:43 -0800
Text updates to temp-tools


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