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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since dcc1eee2 was d73cf0a, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Change the text in the top of the perl instructions so that you only set the hostname and bring the loopback device up if you've followed the boot method.
Only show those notes on the first perl build - No need to set the hostname to clfs twice on multilib builds.

  • 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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/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"
26 href="../common/perl.xml"
27 xpointer="xpointer(//*[@os='s1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/perl.xml"
31 xpointer="xpointer(//*[@os='s2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="perl-64bit.xml"
35 xpointer="xpointer(//*[@os='p3'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="perl-64bit.xml"
39 xpointer="xpointer(//*[@os='p4'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="perl-64bit.xml"
43 xpointer="xpointer(//*[@os='s1'])"/>
44
45<screen os="s2"><userinput>sed -i "/libc/s@/lib@/lib32@" hints/linux.sh</userinput></screen>
46
47 <para os="m2">We still need to tell perl to actually use lib32:</para>
48
49<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../common/perl.xml"
53 xpointer="xpointer(//*[@os='a'])"/>
54
55<screen os="b"><userinput>./configure.gnu --prefix=/usr \
56 -Dman1dir=/usr/share/man/man1 \
57 -Dman3dir=/usr/share/man/man3 \
58 -Dpager="/bin/less -isR" \
59 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
60 -Dcc="gcc ${BUILDN32}" \
61 -Dusethreads</userinput></screen>
62
63 <variablelist os="m4">
64 <title>The meaning of the new configure option:</title>
65
66 <varlistentry>
67 <term><parameter>-Dlibpth="/usr/local/lib32 /lib32 /usr/lib32"</parameter></term>
68 <listitem>
69 <para>This tells Perl to link against the N32 libraries.</para>
70 </listitem>
71 </varlistentry>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/perl.xml"
75 xpointer="xpointer(//*[@os='c1'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../common/perl.xml"
79 xpointer="xpointer(//*[@os='c2'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/perl.xml"
83 xpointer="xpointer(//*[@os='c3'])"/>
84
85 </variablelist>
86
87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
88 href="../common/perl.xml"
89 xpointer="xpointer(//*[@os='d'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
92 href="../common/perl.xml"
93 xpointer="xpointer(//*[@os='e'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
96 href="../common/perl.xml"
97 xpointer="xpointer(//*[@os='h'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
100 href="../common/perl.xml"
101 xpointer="xpointer(//*[@os='j'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../common/perl.xml"
105 xpointer="xpointer(//*[@os='k'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="perl.xml"
109 xpointer="xpointer(//*[@os='l'])"/>
110
111<screen os="m"><userinput>mv /usr/bin/perl{,-n32}
112mv /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.