source: BOOK/temp-tools/multilib/perl.xml@ 2bca08cf

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

r689@server (orig r687): ken | 2005-11-11 09:57:19 -0800
Reduce multilib temporary perl to a single build.

  • Property mode set to 100644
File size: 2.9 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 %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, 32 Bit</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="a0a">We need a working Perl to build glibc and test coreutils, it
26 doesn't matter whether this is a 32-bit or a 64-bit program. But, the perl
27 configure process knows nothing about multilib and assumes it will be installed
28 in a 'lib' directory. Using the same patch as for non-multilib systems we can
29 easily install into <filename class="directory">/tools/lib</filename>.</para>
30
31 <para os="a0b">Installing successfully into a different directory such as
32 <filename class="directory">/tools/lib64</filename> would require more effort
33 (compare how we install Perl in the final system) for no real gain. On this
34 multilib system, <filename class="directory">/tools/lib</filename> is where we
35 install 32-bit libraries, so for consistency we will build a 32-bit Perl here.
36 </para>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/perl.xml"
40 xpointer="xpointer(//*[@os='aa'])"/>
41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/perl.xml"
44 xpointer="xpointer(//*[@os='ab'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/perl.xml"
48 xpointer="xpointer(//*[@os='ac'])"/>
49
50<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper IO Fcntl POSIX' \
51 -Dcc="gcc ${BUILD32}"</userinput></screen>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../common/perl.xml"
55 xpointer="xpointer(//*[@os='ad'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../common/perl.xml"
59 xpointer="xpointer(//*[@os='ae'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../common/perl.xml"
63 xpointer="xpointer(//*[@os='af'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/perl.xml"
67 xpointer="xpointer(//*[@os='ag'])"/>
68
69 <para>Intall the libraries:</para>
70
71<screen><userinput>install -d /tools/lib/perl5/&perl-version;
72cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
73
74 </sect2>
75
76 <sect2 role="content">
77 <title/>
78
79 <para>Details on this package are located in <xref
80 linkend="contents-perl" role="."/></para>
81
82 </sect2>
83
84</sect1>
Note: See TracBrowser for help on using the repository browser.