- Timestamp:
- 05/03/2004 09:28:58 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 5f505ff, c8ba565
- Parents:
- 411ceb8
- Location:
- chapter06
- Files:
-
- 5 added
- 7 deleted
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r411ceb8 r9dfc02f 19 19 20 20 21 22 21 <sect2> 23 22 <title>Installation of Bash</title> … … 31 30 <para>Now prepare Bash for compilation:</para> 32 31 33 <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen> 32 <screen><userinput>./configure --prefix=/usr --bindir=/bin \ 33 --without-bash-malloc</userinput></screen> 34 34 35 35 <para>Compile the package:</para> -
chapter06/binutils.xml
r411ceb8 r9dfc02f 35 35 <para>Your chroot environment is not set up for proper PTY operation. In this 36 36 case there is no point in running the test suites for Binutils and GCC until you 37 are able to resolve the issue. Please refer back to <xref linkend="ch-system-proc"/> 38 and the <xref linkend="ch-system-MAKEDEV"/> section and perform the recommended steps 39 to fix the problem.</para> 37 are able to resolve the issue.</para> 40 38 41 39 <para>This package is known to behave badly when you have changed its … … 73 71 <para>Test the results:</para> 74 72 75 <screen><userinput>make check</userinput></screen>73 <screen><userinput>make -k check</userinput></screen> 76 74 77 75 <para>The test suite notes from <xref linkend="ch-tools-binutils-pass2"/> are still -
chapter06/bison.xml
r411ceb8 r9dfc02f 23 23 <title>Installation of Bison</title> 24 24 25 <para>First fix a minor compilation problem that Bison has with some packages, 26 the patch is back-ported from CVS:</para> 27 28 <screen><userinput>patch -Np1 -i ../bison-&bison-version;-attribute.patch</userinput></screen> 29 30 <para>Now prepare Bison for compilation:</para> 25 <para>Prepare Bison for compilation:</para> 31 26 32 27 <screen><userinput>./configure --prefix=/usr</userinput></screen> -
chapter06/bzip2.xml
r411ceb8 r9dfc02f 56 56 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so 57 57 rm /usr/bin/{bunzip2,bzcat,bzip2} 58 mv /usr/bin/{bzip2recover,bzless,bzmore} /bin59 58 ln -s bzip2 /bin/bunzip2 60 59 ln -s bzip2 /bin/bzcat</userinput></screen> -
chapter06/chapter06.xml
r411ceb8 r9dfc02f 9 9 <?dbhtml filename="chapter06.html"?> 10 10 11 12 11 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/> 13 14 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="proc.xml"/> 16 17 12 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernfs.xml"/> 18 13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chroot.xml"/> 19 20 21 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="changingowner.xml"/> 22 23 24 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingdirs.xml"/> 25 26 27 16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="createfiles.xml"/> 28 29 30 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pwdgroup.xml"/> 31 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="makedev.xml"/> 34 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernel-headers.xml"/> 37 38 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="devices.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/> 39 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man-pages.xml"/> 40 41 42 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/> 43 44 45 46 47 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readjusting.xml"/> 48 49 50 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/> 51 52 53 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/> 54 55 56 57 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/> 58 59 60 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib.xml"/> 61 62 63 27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/> 64 65 66 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iana-etc.xml"/> 67 68 69 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/> 70 71 72 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/> 73 74 75 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/> 76 77 78 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/> 79 80 81 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/> 82 83 84 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/> 85 86 87 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/> 88 89 90 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/> 91 92 93 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/> 94 95 96 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/> 97 98 99 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/> 100 101 102 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="net-tools.xml"/> 103 104 105 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/> 106 107 108 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/> 109 110 111 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/> 112 113 114 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="autoconf.xml"/> 115 116 117 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="automake.xml"/> 118 119 120 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/> 121 122 123 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file.xml"/> 124 125 126 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libtool.xml"/> 127 128 129 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bzip2.xml"/> 130 131 132 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/> 133 134 135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ed.xml"/>136 137 138 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kbd.xml"/> 139 140 141 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/> 142 143 144 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/> 145 146 147 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/> 148 149 150 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/> 151 152 153 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man.xml"/> 154 155 156 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/> 157 158 159 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="modutils.xml"/> 160 161 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="module-init-tools.xml"/> 162 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/> 163 164 165 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procinfo.xml"/>166 167 168 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procps.xml"/> 169 170 171 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="psmisc.xml"/> 172 173 174 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shadow.xml"/> 175 176 177 63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/> 178 179 180 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysvinit.xml"/> 181 182 183 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/> 184 185 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/> 186 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/> 187 188 189 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-2953.xml"/>190 191 192 193 194 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutdebug.xml"/> 195 196 69 197 70 <sect1 id="ch-system-strippingagain"> … … 240 113 </sect1> 241 114 242 243 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="revisedchroot.xml"/> 244 116 -
chapter06/coreutils.xml
r411ceb8 r9dfc02f 58 58 <screen><userinput>make install-root</userinput></screen> 59 59 60 <para>Create a 'table of mounted filesystems' file with:</para> 61 62 <screen><userinput>touch /etc/mtab</userinput></screen> 63 64 <para>And create two dummy groups and a dummy user name:</para> 60 <para>Create two dummy groups and a dummy user name:</para> 65 61 66 62 <screen><userinput>echo "dummy1:x:1000" >> /etc/group … … 71 67 are meant to be run as <emphasis>root</emphasis>:</para> 72 68 73 <screen><userinput> export NON_ROOT_USERNAME=dummy;make check-root</userinput></screen>69 <screen><userinput>make NON_ROOT_USERNAME=dummy make check-root</userinput></screen> 74 70 75 71 <para>Then run the remainder of the tests as the <emphasis>dummy</emphasis> … … 80 76 <para>When you're done testing, remove the dummy user and groups:</para> 81 77 82 <screen><userinput>sed -i .bak'/dummy/d' /etc/passwd /etc/group</userinput></screen>78 <screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen> 83 79 84 80 <para>Install the package:</para> … … 88 84 <para>And move some programs to their proper locations:</para> 89 85 90 <screen><userinput>mv /usr/bin/{ basename,cat,chgrp,chmod,chown,cp,dd,df} /bin86 <screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin 91 87 mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin 92 88 mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin … … 100 96 <screen><userinput>rm /usr/bin/kill</userinput></screen> 101 97 102 <para>Finally, create two symlinks to be FHS-compliant:</para> 103 104 <screen><userinput>ln -s test /bin/[ 105 ln -s ../../bin/install /usr/bin</userinput></screen> 98 <para>Finally, create a symlink to be FHS-compliant:</para> 99 100 <screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen> 106 101 107 102 </sect2> -
chapter06/creatingdirs.xml
r411ceb8 r9dfc02f 12 12 standard tree:</para> 13 13 14 <screen><userinput>mkdir -p /{bin,boot,dev /{pts,shm},etc/opt,home,lib,mnt,proc}14 <screen><userinput>mkdir -p /{bin,boot,dev,etc/opt,home,lib,mnt} 15 15 mkdir -p /{root,sbin,srv,tmp,usr/local,var,opt} 16 16 mkdir -p /media/{floppy,cdrom} … … 26 26 mkdir /usr/local/share/man/man{1,2,3,4,5,6,7,8} 27 27 mkdir /var/{lock,log,mail,run,spool} 28 mkdir -p /var/{tmp,opt,cache,lib/ misc,local}28 mkdir -p /var/{tmp,opt,cache,lib/{misc,locate},local} 29 29 mkdir /opt/{bin,doc,include,info} 30 30 mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> -
chapter06/e2fsprogs.xml
r411ceb8 r9dfc02f 24 24 <title>Installation of E2fsprogs</title> 25 25 26 <para>It is recommended to build E2fsprogs outside of the27 source tree:</para>28 29 <screen><userinput>mkdir ../e2fsprogs-build30 cd ../e2fsprogs-build</userinput></screen>31 32 26 <para>Prepare E2fsprogs for compilation:</para> 33 27 34 <screen><userinput>. ./e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \35 --enable-elf-shlibs </userinput></screen>28 <screen><userinput>./configure --prefix=/usr --with-root-prefix="" \ 29 --enable-elf-shlibs --disable-evms</userinput></screen> 36 30 37 31 <para>The meaning of the configure options:</para> … … 56 50 <screen><userinput>make</userinput></screen> 57 51 58 <para>If you to test the results, first make sure an mtab file 59 exists with <userinput>touch /etc/mtab</userinput> to prevent some sixty tests 60 from failing, and (if it doesn't already exist) fake the presence of an old 61 pager with <userinput>ln -s /tools/bin/cat /bin/more</userinput> to prevent one 62 test from failing, then issue: <userinput>make check</userinput>.</para> 52 <para>To test the results, issue: 53 <userinput>make check</userinput>.</para> 63 54 64 55 <para>Install most of the package:</para> -
chapter06/findutils.xml
r411ceb8 r9dfc02f 29 29 30 30 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \ 31 --localstatedir=/var/lib/misc</userinput></screen>31 --localstatedir=/var/lib/locate</userinput></screen> 32 32 33 33 <para>The localstatedir directive above changes the location of the locate 34 database to be in /var/lib/ misc, which is FHS-compliant.</para>34 database to be in /var/lib/locate, which is FHS-compliant.</para> 35 35 36 36 <para>Compile the package:</para> -
chapter06/flex.xml
r411ceb8 r9dfc02f 24 24 <title>Installation of Flex</title> 25 25 26 <para>Prepare Flex for compilation:</para> 26 <para>Flex contains several known bugs. Fix these with the following patch:</para> 27 28 <screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian-fixes-2.patch</userinput></screen> 29 30 <para>The GNU autotools detects that the Flex source code has been modified by the patch, 31 and tries to update the man pages to include those changes, but this breaks on many 32 systems, and the default pages are fine, so make sure they don't get renegerated:</para> 33 34 <screen><userinput>touch doc/*.1</userinput></screen> 35 36 <para>Now prepare Flex for compilation:</para> 27 37 28 38 <screen><userinput>./configure --prefix=/usr</userinput></screen> … … 33 43 34 44 <para>To test the results, issue: 35 <userinput>make bigcheck</userinput>.</para>45 <userinput>make check</userinput>.</para> 36 46 37 47 <para>Now install the package:</para> -
chapter06/gcc.xml
r411ceb8 r9dfc02f 56 56 57 57 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 58 -- enable-shared --enable-threads=posix \59 --enable-__cxa_atexit --enable-clocale=gnu \60 --enable-languages=c,c++</userinput></screen>58 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 59 --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ 60 </userinput></screen> 61 61 62 62 <para>Compile the package:</para> -
chapter06/glibc.xml
r411ceb8 r9dfc02f 43 43 <para>Now prepare Glibc for compilation:</para> 44 44 45 <screen><userinput>../glibc-&glibc-version; -20031202/configure --prefix=/usr \46 --disable-profile --enable-add-ons= linuxthreads \47 --libexecdir=/ usr/lib --with-headers=/usr/include\48 --with out-cvs</userinput></screen>45 <screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ 46 --disable-profile --enable-add-ons=nptl --with-tls \ 47 --libexecdir=/tmp/pt_chown --without-cvs \ 48 --with-headers=/tools/glibc-kernheaders</userinput></screen> 49 49 50 50 <para>The meaning of the new configure options:</para> 51 51 52 52 <itemizedlist> 53 <listitem><para><userinput>--libexecdir=/ usr/lib</userinput>: This changes the54 location of the <filename>pt_chown</filename> program from its default of 53 <listitem><para><userinput>--libexecdir=/tmp/pt_chown</userinput>: This changes 54 the location of the <filename>pt_chown</filename> program from its default of 55 55 <filename class="directory">/usr/libexec</filename> to 56 <filename class="directory">/usr/lib</filename>. The use of 57 <emphasis>libexec</emphasis> is considered not to be FHS-compliant because the 58 FHS doesn't even mention it.</para></listitem> 59 60 <listitem><para><userinput>--with-headers=/usr/include</userinput>: This 61 ensures that the kernel headers in <filename>/usr/include</filename> are used 62 for this build. If you don't pass this switch then the headers from 63 <filename>/tools/include</filename> are used which of course is not ideal 64 (although they should be identical). Using this switch has the advantage 65 that you will be informed immediately should you have forgotten to install the 66 kernel headers into <filename>/usr/include</filename>.</para></listitem> 56 <filename class="directory">/tmp/pt_chown</filename>. This program isn't required 57 on modern systems, so we install it in a place from which we will delete it 58 later.</para></listitem> 67 59 </itemizedlist> 68 60 … … 120 112 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> 121 113 122 <para>Finally, build the linuxthreads man pages:</para> 123 124 <screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man</userinput></screen> 114 <para>Finally, build the linuxthreads man pages, which are a great reference 115 on the threading API (applicable to NPTL as well):</para> 116 117 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen> 125 118 126 119 <para>And install these pages:</para> 127 120 128 <screen><userinput>make -C ../glibc-&glibc-version; -20031202/linuxthreads/man install</userinput></screen>121 <screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen> 129 122 130 123 </sect2> -
chapter06/grub.xml
r411ceb8 r9dfc02f 33 33 <screen><userinput>./configure --prefix=/usr</userinput></screen> 34 34 35 <para>Compile the package:</para> 35 <para>A few of the files comprising Grub have issues with optimizations done 36 by GCC 3.4. Compile these few files with known-good optimizations:</para> 37 38 <screen><userinput>make -C stage2 STAGE2_CFLAGS=-O2 \ 39 pre_stage2_exec-builtins.o pre_stage2_exec-serial.o</userinput></screen> 40 41 <para>Now compile the rest of the package:</para> 36 42 37 43 <screen><userinput>make</userinput></screen> 44 45 <para>To test the results, issue: 46 <userinput>make check</userinput>.</para> 38 47 39 48 <para>Now install it:</para> -
chapter06/inetutils.xml
r411ceb8 r9dfc02f 22 22 <sect2> 23 23 <title>Installation of Inetutils</title> 24 25 <para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues 26 by applying the following patch:</para> 27 28 <screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-2.6-1.patch</userinput></screen> 24 29 25 30 <para>We are not going to install all the programs that come with Inetutils. -
chapter06/kbd.xml
r411ceb8 r9dfc02f 23 23 <title>Installation of Kbd</title> 24 24 25 <para>By default some of Kbd's utilities (<command>setlogcons</command>, 26 <command>setvesablank</command> and <command>getunimap</command>) are 27 not installed. First enable the compilation of these utilities:</para> 28 29 <screen><userinput>patch -Np1 -i ../kbd-&kbd-version;-more-programs-1.patch</userinput></screen> 30 31 <para>Now prepare Kbd for compilation:</para> 25 <para>Prepare Kbd for compilation:</para> 32 26 33 27 <screen><userinput>./configure</userinput></screen> … … 74 68 75 69 <screen><userinput>loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz > \ 76 /usr/src/linux- 2.4.25/drivers/char/defkeymap.c</userinput></screen>70 /usr/src/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen> 77 71 78 72 </sect2> -
chapter06/net-tools.xml
r411ceb8 r9dfc02f 37 37 38 38 <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-miitool-gcc33-1.patch</userinput></screen> 39 40 <para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues 41 by applying the following patch:</para> 42 43 <screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel-2.6-1.patch</userinput></screen> 39 44 40 45 <para>Now prepare Net-tools for compilation (if you intend to accept the -
chapter06/psmisc.xml
r411ceb8 r9dfc02f 26 26 <para>Prepare Psmisc for compilation:</para> 27 27 28 <screen><userinput>./configure --prefix=/usr --exec-prefix= /</userinput></screen>28 <screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen> 29 29 30 30 <para>The meaning of the configure option:</para> 31 31 32 32 <itemizedlist> 33 <listitem><para><userinput>--exec-prefix= /</userinput>: This causes the33 <listitem><para><userinput>--exec-prefix=""</userinput>: This causes the 34 34 binaries to be installed in <filename>/bin</filename> instead of 35 35 <filename>/usr/bin</filename>. As the Psmisc programs are often used in -
chapter06/pwdgroup.xml
r411ceb8 r9dfc02f 46 46 dialout:x:10: 47 47 audio:x:11: 48 video:x:12: 48 49 <userinput>EOF</userinput></screen> 49 50 50 51 <para>The created groups aren't part of any standard -- they are some of the 51 groups that the <command>make_devices</command> scriptin the next section52 groups that the Udev configuration we will be using in the next section 52 53 uses. The LSB (<ulink url="http://www.linuxbase.org/">Linux Standard 53 54 Base</ulink>) recommends only that, beside the group <quote>root</quote> with a -
chapter06/shadow.xml
r411ceb8 r9dfc02f 43 43 44 44 <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen> 45 46 <para>Shadow incorrectly declares the malloc() function, causing compilation 47 failure. Fix this:</para> 48 49 <screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen> 45 50 46 51 <para>Compile the package:</para> -
chapter06/sysklogd.xml
r411ceb8 r9dfc02f 19 19 20 20 21 22 21 <sect2> 23 22 <title>Installation of Sysklogd</title> 23 24 <para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues 25 by applying the following patch:</para> 26 27 <screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_header.patch</userinput></screen> 24 28 25 29 <para>Compile Sysklogd:</para> -
chapter06/util-linux.xml
r411ceb8 r9dfc02f 39 39 <sect2> 40 40 <title>Installation of Util-linux</title> 41 42 <para>Util-linux has issues with the Linux 2.6 kernel series - fix these isues 43 by applying the following patch:</para> 44 45 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-kernel-dj-2.6-1.patch</userinput></screen> 41 46 42 47 <para>Prepare Util-linux for compilation:</para> -
chapter06/vim.xml
r411ceb8 r9dfc02f 46 46 47 47 <para>To test the results, you can issue: 48 <userinput>make check</userinput>. However, this test suite outputs a lot of48 <userinput>make test</userinput>. However, this test suite outputs a lot of 49 49 seemingly garbage characters to the screen, and this can wreak havoc with the 50 50 settings of the current terminal. Therefore the running of the test suite here
Note:
See TracChangeset
for help on using the changeset viewer.