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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c3f58f was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

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