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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since dccb1a6 was dccb1a6, checked in by William Harrington <kb0iic@…>, 10 years ago

Seds for lib32 and li64 path are no longer used in hints. The scripts use plibpth now and are rewwritten.

  • Property mode set to 100644
File size: 3.8 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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
43 href="../common/perl.xml"
44 xpointer="xpointer(//*[@os='a'])"/>
45
46<screen os="b"><userinput>./configure.gnu --prefix=/usr \
47 -Dvendorprefix=/usr \
48 -Dman1dir=/usr/share/man/man1 \
49 -Dman3dir=/usr/share/man/man3 \
50 -Dpager="/bin/less -isR" \
51 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
52 -Dcc="gcc ${BUILDN32}" \
53 -Dusethreads -Duseshrplib</userinput></screen>
54
55 <variablelist os="m4">
56 <title>The meaning of the new configure option:</title>
57
58 <varlistentry>
59 <term><parameter>-Dlibpth="/usr/local/lib32 /lib32 /usr/lib32"</parameter></term>
60 <listitem>
61 <para>This tells Perl to link against the N32 libraries.</para>
62 </listitem>
63 </varlistentry>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/perl.xml"
67 xpointer="xpointer(//*[@os='c1'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70 href="../common/perl.xml"
71 xpointer="xpointer(//*[@os='c2'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74 href="../common/perl.xml"
75 xpointer="xpointer(//*[@os='c3'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
78 href="../common/perl.xml"
79 xpointer="xpointer(//*[@os='c4'])"/>
80
81 </variablelist>
82
83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
84 href="../common/perl.xml"
85 xpointer="xpointer(//*[@os='d'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/perl.xml"
89 xpointer="xpointer(//*[@os='e'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../common/perl.xml"
93 xpointer="xpointer(//*[@os='h'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
96 href="../common/perl.xml"
97 xpointer="xpointer(//*[@os='h2'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../common/perl.xml"
101 xpointer="xpointer(//*[@os='j'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../common/perl.xml"
105 xpointer="xpointer(//*[@os='k'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="perl.xml"
109 xpointer="xpointer(//*[@os='l'])"/>
110
111<screen os="m"><userinput>mv -v /usr/bin/perl{,-n32}
112mv -v /usr/bin/perl&perl-version;{,-n32}</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="content">
117 <title/>
118
119 <para>Details on this package are located in <xref
120 linkend="contents-perl" role="."/></para>
121
122 </sect2>
123
124</sect1>
Note: See TracBrowser for help on using the repository browser.