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

sysvinit
Last change on this file since 2a70fe2 was 149f9af, checked in by Chris Staub <chris@…>, 10 years ago

Add command to multilib perl n32 and 64bit to properly set installstyle variable to use from the applied multilib patch.

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