Changeset 1da2a84 for BOOK/final-system/multilib
- Timestamp:
- Sep 14, 2008, 11:30:14 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e8e6c4e
- Parents:
- 9d32016
- Location:
- BOOK/final-system/multilib
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/multilib/bash.xml
r9d32016 r1da2a84 37 37 href="../common/bash.xml" 38 38 xpointer="xpointer(//*[@os='p2'])"/> 39 40 <para os="m1">The following sed points configure towards the correct 41 library directory while searching for Readline:</para> 42 43 <screen os="m2"><userinput>sed -i "/ac_cv_rl_libdir/s@/lib@&64@" configure</userinput></screen> 39 44 40 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/e2fsprogs-64bit.xml
r9d32016 r1da2a84 26 26 27 27 <screen os="m4"><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' configure</userinput></screen> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../common/e2fsprogs.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../common/e2fsprogs.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 28 36 29 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/e2fsprogs-n32.xml
r9d32016 r1da2a84 27 27 28 28 <screen os="m4"><userinput>sed -i '/libdir=.*\/lib/s@/lib@/lib32@g' configure</userinput></screen> 29 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../common/e2fsprogs.xml" 32 xpointer="xpointer(//*[@os='s1'])"/> 33 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../common/e2fsprogs.xml" 36 xpointer="xpointer(//*[@os='s2'])"/> 29 37 30 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/e2fsprogs.xml
r9d32016 r1da2a84 22 22 <sect2 role="installation"> 23 23 <title>Installation of E2fsprogs</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/e2fsprogs.xml" 27 xpointer="xpointer(//*[@os='s1'])"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../common/e2fsprogs.xml" 31 xpointer="xpointer(//*[@os='s2'])"/> 24 32 25 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/inetutils.xml
r9d32016 r1da2a84 29 29 href="../common/inetutils.xml" 30 30 xpointer="xpointer(//*[@os='p2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/inetutils.xml" 34 xpointer="xpointer(//*[@os='s1'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/inetutils.xml" 38 xpointer="xpointer(//*[@os='s2'])"/> 31 39 32 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/iproute2.xml
r9d32016 r1da2a84 38 38 xpointer="xpointer(//*[@os='a'])"/> 39 39 40 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LIBDIR=/usr/lib64 VARLIB=/var/lib64 SBINDIR=/sbin</userinput></screen> 40 <screen os="b"><userinput>make CC="gcc ${BUILD64}" DESTDIR=/ LIBDIR=/usr/lib64 \ 41 DOCDIR=/usr/share/doc/iproute2 \ 42 MANDIR=/usr/share/man SBINDIR=/sbin</userinput></screen> 41 43 42 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 52 54 xpointer="xpointer(//*[@os='e'])"/> 53 55 54 <screen os="f"><userinput>make LIBDIR=/usr/lib64 VARLIB=/var/lib64 SBINDIR=/sbin install</userinput></screen> 56 <screen os="f"><userinput>make DESTDIR=/ LIBDIR=/usr/lib64 \ 57 DOCDIR=/usr/share/doc/iproute2 \ 58 MANDIR=/usr/share/man SBINDIR=/sbin \ 59 install</userinput></screen> 55 60 56 61 </sect2> -
BOOK/final-system/multilib/kbd.xml
r9d32016 r1da2a84 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/kbd.xml" 26 xpointer="xpointer(//*[@os='s1'])"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/kbd.xml" 30 xpointer="xpointer(//*[@os='s2'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/kbd.xml" 34 xpointer="xpointer(//*[@os='aa'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/kbd.xml" 38 xpointer="xpointer(//*[@os='ab'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/kbd.xml" 26 42 xpointer="xpointer(//*[@os='a'])"/> 27 43 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --datadir=/lib64/kbd</userinput></screen> 44 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 45 --datadir=/lib64/kbd</userinput></screen> 29 46 30 47 <variablelist os="c"> -
BOOK/final-system/multilib/mpfr-64bit.xml
r9d32016 r1da2a84 21 21 <sect2 role="installation"> 22 22 <title>Installation of MPFR</title> 23 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"25 href="../common/mpfr.xml"26 xpointer="xpointer(//*[@os='p1'])"/>27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"29 href="../common/mpfr.xml"30 xpointer="xpointer(//*[@os='p2'])"/>31 23 32 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/mpfr-n32.xml
r9d32016 r1da2a84 22 22 <sect2 role="installation"> 23 23 <title>Installation of MPFR</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/mpfr.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/mpfr.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 24 33 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/mpfr.xml
r9d32016 r1da2a84 22 22 <sect2 role="installation"> 23 23 <title>Installation of MPFR</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/mpfr.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/mpfr.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 24 33 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/perl-64bit.xml
r9d32016 r1da2a84 56 56 -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \ 57 57 -Dcc="gcc ${BUILD64}" \ 58 -Dusethreads </userinput></screen>58 -Dusethreads -Duseshrplib</userinput></screen> 59 59 60 60 <variablelist os="m4"> … … 79 79 href="../common/perl.xml" 80 80 xpointer="xpointer(//*[@os='c3'])"/> 81 82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 83 href="../common/perl.xml" 84 xpointer="xpointer(//*[@os='c4'])"/> 81 85 82 86 </variablelist> … … 106 110 xpointer="xpointer(//*[@os='l'])"/> 107 111 108 <screen os="m"><userinput>mv /usr/bin/perl{,-64}109 mv /usr/bin/perl&perl-version;{,-64}</userinput></screen>112 <screen os="m"><userinput>mv -v /usr/bin/perl{,-64} 113 mv -v /usr/bin/perl&perl-version;{,-64}</userinput></screen> 110 114 111 115 <para os="n">Now we need to create a link to the multiarch wrapper that -
BOOK/final-system/multilib/perl-n32.xml
r9d32016 r1da2a84 59 59 -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \ 60 60 -Dcc="gcc ${BUILDN32}" \ 61 -Dusethreads </userinput></screen>61 -Dusethreads -Duseshrplib</userinput></screen> 62 62 63 63 <variablelist os="m4"> … … 82 82 href="../common/perl.xml" 83 83 xpointer="xpointer(//*[@os='c3'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../common/perl.xml" 87 xpointer="xpointer(//*[@os='c4'])"/> 84 88 85 89 </variablelist> … … 109 113 xpointer="xpointer(//*[@os='l'])"/> 110 114 111 <screen os="m"><userinput>mv /usr/bin/perl{,-n32}112 mv /usr/bin/perl&perl-version;{,-n32}</userinput></screen>115 <screen os="m"><userinput>mv -v /usr/bin/perl{,-n32} 116 mv -v /usr/bin/perl&perl-version;{,-n32}</userinput></screen> 113 117 114 118 </sect2> -
BOOK/final-system/multilib/perl.xml
r9d32016 r1da2a84 52 52 -Dpager="/bin/less -isR" \ 53 53 -Dcc="gcc ${BUILD32}" \ 54 -Dusethreads </userinput></screen>54 -Dusethreads -Duseshrplib</userinput></screen> 55 55 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 81 81 be used by the multiarch wrapper:</para> 82 82 83 <screen os="m"><userinput>mv /usr/bin/perl{,-32}84 mv /usr/bin/perl&perl-version;{,-32}</userinput></screen>83 <screen os="m"><userinput>mv -v /usr/bin/perl{,-32} 84 mv -v /usr/bin/perl&perl-version;{,-32}</userinput></screen> 85 85 86 86 </sect2> -
BOOK/final-system/multilib/udev-64bit.xml
r9d32016 r1da2a84 22 22 <title>Installation of Udev</title> 23 23 24 <para os="p1">This patch moves /lib/udev to /lib64/udev, to keep25 system consistency:</para>26 27 <screen os="p2"><userinput>patch -Np1 -i ../&udev-lib64-patch;</userinput></screen>28 29 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 25 href="../common/udev.xml" 31 26 xpointer="xpointer(//*[@os='a'])"/> 32 27 33 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ 34 EXTRAS="extras/ata_id extras/cdrom_id extras/collect \ 35 extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \ 36 extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev</userinput></screen> 28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 --exec-prefix= --sysconfdir=/etc \ 30 --with-libdir-name=lib64</userinput></screen> 37 31 38 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 43 37 href="../common/udev.xml" 44 38 xpointer="xpointer(//*[@os='d'])"/> 45 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"47 href="../common/udev.xml"48 xpointer="xpointer(//*[@os='e'])"/>49 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"51 href="../common/udev.xml"52 xpointer="xpointer(//*[@os='f'])"/>53 39 54 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 72 58 xpointer="xpointer(//*[@os='k'])"/> 73 59 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/udev.xml" 76 xpointer="xpointer(//*[@os='l'])"/> 77 78 <screen os="m"><userinput>install -dv /lib64/firmware</userinput></screen> 60 <screen os="l"><userinput>install -dv /lib64/firmware</userinput></screen> 79 61 80 62 </sect2> -
BOOK/final-system/multilib/udev-n32.xml
r9d32016 r1da2a84 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href=" udev.xml"25 href="../common/udev.xml" 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os="b"><userinput>cd extras/volume_id/lib 29 make CC="gcc ${BUILDN32}" AR=ar RANLIB=ranlib E=@echo Q=@</userinput></screen> 28 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 29 --exec-prefix= --sysconfdir=/etc \ 30 --with-libdir-name=lib32</userinput></screen> 30 31 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 href=" udev.xml"33 href="../common/udev.xml" 33 34 xpointer="xpointer(//*[@os='c'])"/> 34 35 35 <screen os="d"><userinput>make libdir=/lib32 usrlibdir=/usr/lib32 install</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/udev.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/udev.xml" 42 xpointer="xpointer(//*[@os='g'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/udev.xml" 46 xpointer="xpointer(//*[@os='h'])"/> 36 47 37 48 </sect2> -
BOOK/final-system/multilib/udev.xml
r9d32016 r1da2a84 9 9 <?dbhtml filename="udev.html"?> 10 10 11 <title>Udev-&udev-version; </title>11 <title>Udev-&udev-version; 32 Bit Libraries</title> 12 12 13 13 <indexterm zone="ch-system-udev-32"> … … 22 22 <title>Installation of Udev</title> 23 23 24 < para os="a">Udev only provides one library, libvolume_id. Instead of25 building the entire udev package for one library, We're just going to26 compile the single library:</para>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../common/udev.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os="b"><userinput>cd extras/volume_id/lib 29 make CC="gcc ${BUILD32}" AR=ar RANLIB=ranlib E=@echo Q=@</userinput></screen> 28 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr \ 29 --exec-prefix= --sysconfdir=/etc \ 30 --with-libdir-name=lib</userinput></screen> 30 31 31 <para os="c">Install the library:</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/udev.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 32 35 33 <screen os="d"><userinput>make install</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/udev.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/udev.xml" 42 xpointer="xpointer(//*[@os='g'])"/> 43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/udev.xml" 46 xpointer="xpointer(//*[@os='h'])"/> 34 47 35 48 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.