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

systemd
Last change on this file since b9fa514 was a74a2be, checked in by William Harrington <kb0iic@…>, 8 years ago

Update Perl to 5.24.1.

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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/2001/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/2001/XInclude"
26 href="../common/perl.xml"
27 xpointer="xpointer(//*[@os='s3'])"/>
28
29<screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \
30 -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
31 -e '/^LIB/s,\./zlib-src,/usr/lib32,' \
32 cpan/Compress-Raw-Zlib/config.in</userinput></screen>
33
34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
35 href="perl-64bit.xml"
36 xpointer="xpointer(//*[@os='mp1'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39 href="perl-64bit.xml"
40 xpointer="xpointer(//*[@os='mp2'])"/>
41
42 <para os="m2">We still need to tell perl to actually use
43 <filename class="directory">lib32</filename>:</para>
44
45<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' &gt;&gt; hints/linux.sh</userinput></screen>
46
47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
48 href="../common/perl.xml"
49 xpointer="xpointer(//*[@os='a'])"/>
50
51<screen os="b"><userinput>./configure.gnu \
52 --prefix=/usr \
53 -Dvendorprefix=/usr \
54 -Dman1dir=/usr/share/man/man1 \
55 -Dman3dir=/usr/share/man/man3 \
56 -Dpager="/bin/less -isR" \
57 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
58 -Dcc="gcc ${BUILDN32}" \
59 -Dusethreads \
60 -Duseshrplib</userinput></screen>
61
62 <variablelist os="m4">
63 <title>The meaning of the new configure option:</title>
64
65 <varlistentry>
66 <term><parameter>-Dlibpth="/usr/local/lib32 /lib32 /usr/lib32"</parameter></term>
67 <listitem>
68 <para>This tells Perl to link against the N32 libraries.</para>
69 </listitem>
70 </varlistentry>
71
72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
73 href="../common/perl.xml"
74 xpointer="xpointer(//*[@os='c1'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
77 href="../common/perl.xml"
78 xpointer="xpointer(//*[@os='c2'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
81 href="../common/perl.xml"
82 xpointer="xpointer(//*[@os='c3'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
85 href="../common/perl.xml"
86 xpointer="xpointer(//*[@os='c4'])"/>
87
88 </variablelist>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="../common/perl.xml"
92 xpointer="xpointer(//*[@os='d'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
95 href="../common/perl.xml"
96 xpointer="xpointer(//*[@os='e'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
99 href="../common/perl.xml"
100 xpointer="xpointer(//*[@os='h'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
103 href="../common/perl.xml"
104 xpointer="xpointer(//*[@os='h2'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
107 href="../common/perl.xml"
108 xpointer="xpointer(//*[@os='j'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../common/perl.xml"
112 xpointer="xpointer(//*[@os='k'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="perl.xml"
116 xpointer="xpointer(//*[@os='l'])"/>
117
118<screen os="m"><userinput>mv -v /usr/bin/perl{,-n32}
119mv -v /usr/bin/perl&perl-version;{,-n32}</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="content">
124 <title/>
125
126 <para>Details on this package are located in <xref
127 linkend="contents-perl" role="."/></para>
128
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.