source: BOOK/final-system/multilib/perl-n32.xml@ 5fdc965

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5fdc965 was ccd51bc, checked in by Chris Staub <chris@…>, 16 years ago

Add sed command to make perl use system-installed zlib

  • Property mode set to 100644
File size: 4.2 KB
RevLine 
[9c1db810]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[9c1db810]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-perl-n32" role="wrap">
9 <?dbhtml filename="perl-n32.html"?>
10
11 <title>Perl-&perl-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-perl-n32">
14 <primary sortas="a-Perl">Perl</primary>
15 <secondary>N32</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/perl.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Perl</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/perl.xml"
[96d0fe5]27 xpointer="xpointer(//*[@os='s1'])"/>
[9c1db810]28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/perl.xml"
[96d0fe5]31 xpointer="xpointer(//*[@os='s2'])"/>
[9c1db810]32
[ccd51bc]33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../common/perl.xml"
35 xpointer="xpointer(//*[@os='s3'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/perl.xml"
39 xpointer="xpointer(//*[@os='s4'])"/>
40
[9c1db810]41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="perl-64bit.xml"
[d10818d]43 xpointer="xpointer(//*[@os='mp1'])"/>
[9c1db810]44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="perl-64bit.xml"
[d10818d]47 xpointer="xpointer(//*[@os='mp2'])"/>
[9c1db810]48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="perl-64bit.xml"
51 xpointer="xpointer(//*[@os='s1'])"/>
52
53<screen os="s2"><userinput>sed -i "/libc/s@/lib@/lib32@" hints/linux.sh</userinput></screen>
54
55 <para os="m2">We still need to tell perl to actually use lib32:</para>
56
57<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../common/perl.xml"
61 xpointer="xpointer(//*[@os='a'])"/>
62
63<screen os="b"><userinput>./configure.gnu --prefix=/usr \
[42622bd]64 -Dvendorprefix=/usr \
[9c1db810]65 -Dman1dir=/usr/share/man/man1 \
66 -Dman3dir=/usr/share/man/man3 \
67 -Dpager="/bin/less -isR" \
68 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
69 -Dcc="gcc ${BUILDN32}" \
[1da2a84]70 -Dusethreads -Duseshrplib</userinput></screen>
[9c1db810]71
72 <variablelist os="m4">
73 <title>The meaning of the new configure option:</title>
74
75 <varlistentry>
76 <term><parameter>-Dlibpth="/usr/local/lib32 /lib32 /usr/lib32"</parameter></term>
77 <listitem>
78 <para>This tells Perl to link against the N32 libraries.</para>
79 </listitem>
80 </varlistentry>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../common/perl.xml"
84 xpointer="xpointer(//*[@os='c1'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../common/perl.xml"
88 xpointer="xpointer(//*[@os='c2'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../common/perl.xml"
92 xpointer="xpointer(//*[@os='c3'])"/>
93
[1da2a84]94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../common/perl.xml"
96 xpointer="xpointer(//*[@os='c4'])"/>
97
[9c1db810]98 </variablelist>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../common/perl.xml"
102 xpointer="xpointer(//*[@os='d'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/perl.xml"
106 xpointer="xpointer(//*[@os='e'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../common/perl.xml"
110 xpointer="xpointer(//*[@os='h'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../common/perl.xml"
114 xpointer="xpointer(//*[@os='j'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../common/perl.xml"
118 xpointer="xpointer(//*[@os='k'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="perl.xml"
122 xpointer="xpointer(//*[@os='l'])"/>
123
[1da2a84]124<screen os="m"><userinput>mv -v /usr/bin/perl{,-n32}
125mv -v /usr/bin/perl&perl-version;{,-n32}</userinput></screen>
[9c1db810]126
127 </sect2>
128
129 <sect2 role="content">
130 <title/>
131
132 <para>Details on this package are located in <xref
133 linkend="contents-perl" role="."/></para>
134
135 </sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.