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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bc88d7a was 7c6284f, checked in by Ken Moffat <zarniwhoop@…>, 16 years ago

Fix known perl vulnerabilities.

  • Property mode set to 100644
File size: 4.5 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"
[3508ede]26 href="../common/perl.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/perl.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
[d10818d]33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../common/perl.xml"
35 xpointer="xpointer(//*[@os='p3'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/perl.xml"
39 xpointer="xpointer(//*[@os='p4'])"/>
40
[3508ede]41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[7c6284f]42 href="../common/perl.xml"
43 xpointer="xpointer(//*[@os='p5'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/perl.xml"
47 xpointer="xpointer(//*[@os='p6'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[9c1db810]50 href="../common/perl.xml"
[96d0fe5]51 xpointer="xpointer(//*[@os='s1'])"/>
[9c1db810]52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../common/perl.xml"
[96d0fe5]55 xpointer="xpointer(//*[@os='s2'])"/>
[9c1db810]56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="perl-64bit.xml"
[d10818d]59 xpointer="xpointer(//*[@os='mp1'])"/>
[9c1db810]60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="perl-64bit.xml"
[d10818d]63 xpointer="xpointer(//*[@os='mp2'])"/>
[9c1db810]64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="perl-64bit.xml"
67 xpointer="xpointer(//*[@os='s1'])"/>
68
69<screen os="s2"><userinput>sed -i "/libc/s@/lib@/lib32@" hints/linux.sh</userinput></screen>
70
71 <para os="m2">We still need to tell perl to actually use lib32:</para>
72
73<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../common/perl.xml"
77 xpointer="xpointer(//*[@os='a'])"/>
78
79<screen os="b"><userinput>./configure.gnu --prefix=/usr \
80 -Dman1dir=/usr/share/man/man1 \
81 -Dman3dir=/usr/share/man/man3 \
82 -Dpager="/bin/less -isR" \
83 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
84 -Dcc="gcc ${BUILDN32}" \
85 -Dusethreads</userinput></screen>
86
87 <variablelist os="m4">
88 <title>The meaning of the new configure option:</title>
89
90 <varlistentry>
91 <term><parameter>-Dlibpth="/usr/local/lib32 /lib32 /usr/lib32"</parameter></term>
92 <listitem>
93 <para>This tells Perl to link against the N32 libraries.</para>
94 </listitem>
95 </varlistentry>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/perl.xml"
99 xpointer="xpointer(//*[@os='c1'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../common/perl.xml"
103 xpointer="xpointer(//*[@os='c2'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../common/perl.xml"
107 xpointer="xpointer(//*[@os='c3'])"/>
108
109 </variablelist>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../common/perl.xml"
113 xpointer="xpointer(//*[@os='d'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../common/perl.xml"
117 xpointer="xpointer(//*[@os='e'])"/>
118
119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
120 href="../common/perl.xml"
121 xpointer="xpointer(//*[@os='h'])"/>
122
123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
124 href="../common/perl.xml"
125 xpointer="xpointer(//*[@os='j'])"/>
126
127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
128 href="../common/perl.xml"
129 xpointer="xpointer(//*[@os='k'])"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
132 href="perl.xml"
133 xpointer="xpointer(//*[@os='l'])"/>
134
[1e5ca3e]135<screen os="m"><userinput>mv /usr/bin/perl{,-n32}
136mv /usr/bin/perl&perl-version;{,-n32}</userinput></screen>
[9c1db810]137
138 </sect2>
139
140 <sect2 role="content">
141 <title/>
142
143 <para>Details on this package are located in <xref
144 linkend="contents-perl" role="."/></para>
145
146 </sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.