source: BOOK/final-system/common/temp-perl.xml@ c1c31c0

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

r1063@server (orig r1061): jim | 2006-01-12 23:32:15 -0800

r1379@server: jim | 2006-01-12 23:28:29 -0800
Phase2 of Moving Temporary Perl from Temp-System to Final-System


  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[6bef17d]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-system-temp-perl" role="wrap">
9 <?dbhtml filename="temp-perl.html"?>
10
11 <title>Temporary Perl-&perl-version;</title>
12
13 <indexterm zone="ch-system-temp-perl">
14 <primary sortas="a-Perl">Perl</primary>
15 <secondary>temporary tools</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/perl.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Perl</title>
24
25 <para os="a">First adapt some hard-wired paths to the C library by applying
26 the following patch:</para>
27
28<screen os="b"><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
29
30<screen os="c"><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc"</userinput></screen>
31
32 <variablelist os="d">
33 <title>The meaning of the configure option:</title>
34
35 <varlistentry>
36 <term><parameter>-Dstatic_ext='Data/Dumper IO Fcntl POSIX'</parameter></term>
37 <listitem>
38 <para>This tells Perl to build the minimum set of static
39 extensions needed for installing and testing the Coreutils
40 package in the next chapter.</para>
41 </listitem>
42 </varlistentry>
43
44 </variablelist>
45
46 <para os="e">Now we are ready to make our perl utilities:</para>
47
48<screen os="f"><userinput>make perl utilities</userinput></screen>
49
50 <para os="g">Install these tools and their libraries:</para>
51
52<screen os="h"><userinput>cp perl pod/pod2man /tools/bin
53install -d /tools/lib/perl5/&perl-version;
54cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
55
56 </sect2>
57
58 <sect2 role="content">
59 <title/>
60
61 <para>Details on this package are located in <xref
62 linkend="contents-perl" role="."/></para>
63
64 </sect2>
65
66</sect1>
Note: See TracBrowser for help on using the repository browser.