Changeset 9dfc02f for chapter06


Ignore:
Timestamp:
05/03/2004 09:28:58 PM (20 years ago)
Author:
Zack Winkles <winkie@…>
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
Message:

Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
5 added
7 deleted
22 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r411ceb8 r9dfc02f  
    1919
    2020
    21 
    2221<sect2>
    2322<title>Installation of Bash</title>
     
    3130<para>Now prepare Bash for compilation:</para>
    3231
    33 <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
     32<screen><userinput>./configure --prefix=/usr --bindir=/bin \
     33    --without-bash-malloc</userinput></screen>
    3434
    3535<para>Compile the package:</para>
  • chapter06/binutils.xml

    r411ceb8 r9dfc02f  
    3535<para>Your chroot environment is not set up for proper PTY operation. In this
    3636case 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>
     37are able to resolve the issue.</para>
    4038
    4139<para>This package is known to behave badly when you have changed its
     
    7371<para>Test the results:</para>
    7472
    75 <screen><userinput>make check</userinput></screen>
     73<screen><userinput>make -k check</userinput></screen>
    7674
    7775<para>The test suite notes from <xref linkend="ch-tools-binutils-pass2"/> are still
  • chapter06/bison.xml

    r411ceb8 r9dfc02f  
    2323<title>Installation of Bison</title>
    2424
    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>
    3126
    3227<screen><userinput>./configure --prefix=/usr</userinput></screen>
  • chapter06/bzip2.xml

    r411ceb8 r9dfc02f  
    5656ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
    5757rm /usr/bin/{bunzip2,bzcat,bzip2}
    58 mv /usr/bin/{bzip2recover,bzless,bzmore} /bin
    5958ln -s bzip2 /bin/bunzip2
    6059ln -s bzip2 /bin/bzcat</userinput></screen>
  • chapter06/chapter06.xml

    r411ceb8 r9dfc02f  
    99<?dbhtml filename="chapter06.html"?>
    1010
    11 
    1211<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"/>
    1813<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="chroot.xml"/>
    19 
    20 
    2114<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="changingowner.xml"/>
    22 
    23 
    2415<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="creatingdirs.xml"/>
    25 
    26 
    2716<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="createfiles.xml"/>
    28 
    29 
    3017<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"/>
    3920<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man-pages.xml"/>
    40 
    41 
    4221<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/>
    43 
    44 
    45 
    46 
    4722<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readjusting.xml"/>
    48 
    49 
    5023<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils.xml"/>
    51 
    52 
    5324<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
    54 
    55 
    56 
    5725<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/>
    58 
    59 
    6026<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zlib.xml"/>
    61 
    62 
    6327<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/>
    64 
    65 
    6628<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iana-etc.xml"/>
    67 
    68 
    6929<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/>
    70 
    71 
    7230<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/>
    73 
    74 
    7531<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ncurses.xml"/>
    76 
    77 
    7832<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/>
    79 
    80 
    8133<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="m4.xml"/>
    82 
    83 
    8434<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bison.xml"/>
    85 
    86 
    8735<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/>
    88 
    89 
    9036<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/>
    91 
    92 
    9337<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sed.xml"/>
    94 
    95 
    9638<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex.xml"/>
    97 
    98 
    9939<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/>
    100 
    101 
    10240<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="net-tools.xml"/>
    103 
    104 
    10541<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/>
    106 
    107 
    10842<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/>
    109 
    110 
    11143<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/>
    112 
    113 
    11444<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="autoconf.xml"/>
    115 
    116 
    11745<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="automake.xml"/>
    118 
    119 
    12046<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/>
    121 
    122 
    12347<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="file.xml"/>
    124 
    125 
    12648<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libtool.xml"/>
    127 
    128 
    12949<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bzip2.xml"/>
    130 
    131 
    13250<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 
    13851<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kbd.xml"/>
    139 
    140 
    14152<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/>
    142 
    143 
    14453<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grep.xml"/>
    145 
    146 
    14754<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="grub.xml"/>
    148 
    149 
    15055<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/>
    151 
    152 
    15356<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man.xml"/>
    154 
    155 
    15657<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"/>
    16259<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 
    16860<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="procps.xml"/>
    169 
    170 
    17161<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="psmisc.xml"/>
    172 
    173 
    17462<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shadow.xml"/>
    175 
    176 
    17763<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/>
    178 
    179 
    18064<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysvinit.xml"/>
    181 
    182 
    18365<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"/>
    18667<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 
    19468<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutdebug.xml"/>
    195 
    19669
    19770<sect1 id="ch-system-strippingagain">
     
    240113</sect1>
    241114
    242 
    243115<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="revisedchroot.xml"/>
    244116
  • chapter06/coreutils.xml

    r411ceb8 r9dfc02f  
    5858<screen><userinput>make install-root</userinput></screen>
    5959
    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>
    6561
    6662<screen><userinput>echo "dummy1:x:1000" &gt;&gt; /etc/group
     
    7167are meant to be run as <emphasis>root</emphasis>:</para>
    7268
    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>
    7470
    7571<para>Then run the remainder of the tests as the <emphasis>dummy</emphasis>
     
    8076<para>When you're done testing, remove the dummy user and groups:</para>
    8177
    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>
    8379
    8480<para>Install the package:</para>
     
    8884<para>And move some programs to their proper locations:</para>
    8985
    90 <screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
     86<screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
    9187mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
    9288mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
     
    10096<screen><userinput>rm /usr/bin/kill</userinput></screen>
    10197
    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>
    106101
    107102</sect2>
  • chapter06/creatingdirs.xml

    r411ceb8 r9dfc02f  
    1212standard tree:</para>
    1313 
    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}
    1515mkdir -p /{root,sbin,srv,tmp,usr/local,var,opt}
    1616mkdir -p /media/{floppy,cdrom}
     
    2626mkdir /usr/local/share/man/man{1,2,3,4,5,6,7,8}
    2727mkdir /var/{lock,log,mail,run,spool}
    28 mkdir -p /var/{tmp,opt,cache,lib/misc,local}
     28mkdir -p /var/{tmp,opt,cache,lib/{misc,locate},local}
    2929mkdir /opt/{bin,doc,include,info}
    3030mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
  • chapter06/e2fsprogs.xml

    r411ceb8 r9dfc02f  
    2424<title>Installation of E2fsprogs</title>
    2525
    26 <para>It is recommended to build E2fsprogs outside of the
    27 source tree:</para>
    28 
    29 <screen><userinput>mkdir ../e2fsprogs-build
    30 cd ../e2fsprogs-build</userinput></screen>
    31 
    3226<para>Prepare E2fsprogs for compilation:</para>
    3327
    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>
    3630
    3731<para>The meaning of the configure options:</para>
     
    5650<screen><userinput>make</userinput></screen>
    5751
    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>
    6354
    6455<para>Install most of the package:</para>
  • chapter06/findutils.xml

    r411ceb8 r9dfc02f  
    2929
    3030<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
    31         --localstatedir=/var/lib/misc</userinput></screen>
     31    --localstatedir=/var/lib/locate</userinput></screen>
    3232
    3333<para>The localstatedir directive above changes the location of the locate
    34 database to be in /var/lib/misc, which is FHS-compliant.</para>
     34database to be in /var/lib/locate, which is FHS-compliant.</para>
    3535
    3636<para>Compile the package:</para>
  • chapter06/flex.xml

    r411ceb8 r9dfc02f  
    2424<title>Installation of Flex</title>
    2525
    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,
     31and tries to update the man pages to include those changes, but this breaks on many
     32systems, 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>
    2737
    2838<screen><userinput>./configure --prefix=/usr</userinput></screen>
     
    3343
    3444<para>To test the results, issue:
    35 <userinput>make bigcheck</userinput>.</para>
     45<userinput>make check</userinput>.</para>
    3646
    3747<para>Now install the package:</para>
  • chapter06/gcc.xml

    r411ceb8 r9dfc02f  
    5656
    5757<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>
    6161
    6262<para>Compile the package:</para>
  • chapter06/glibc.xml

    r411ceb8 r9dfc02f  
    4343<para>Now prepare Glibc for compilation:</para>
    4444
    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     --without-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>
    4949
    5050<para>The meaning of the new configure options:</para>
    5151
    5252<itemizedlist>
    53 <listitem><para><userinput>--libexecdir=/usr/lib</userinput>: This changes the
    54 location of the <filename>pt_chown</filename> program from its default of
     53<listitem><para><userinput>--libexecdir=/tmp/pt_chown</userinput>: This changes
     54the location of the <filename>pt_chown</filename> program from its default of
    5555<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
     57on modern systems, so we install it in a place from which we will delete it
     58later.</para></listitem>
    6759</itemizedlist>
    6860
     
    120112localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
    121113
    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
     115on the threading API (applicable to NPTL as well):</para>
     116
     117<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
    125118
    126119<para>And install these pages:</para>
    127120
    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>
    129122
    130123</sect2>
  • chapter06/grub.xml

    r411ceb8 r9dfc02f  
    3333<screen><userinput>./configure --prefix=/usr</userinput></screen>
    3434
    35 <para>Compile the package:</para>
     35<para>A few of the files comprising Grub have issues with optimizations done
     36by 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>
    3642
    3743<screen><userinput>make</userinput></screen>
     44
     45<para>To test the results, issue:
     46<userinput>make check</userinput>.</para>
    3847
    3948<para>Now install it:</para>
  • chapter06/inetutils.xml

    r411ceb8 r9dfc02f  
    2222<sect2>
    2323<title>Installation of Inetutils</title>
     24
     25<para>Inetutils has issues with the Linux 2.6 kernel series - fix these isues
     26by applying the following patch:</para>
     27
     28<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel-2.6-1.patch</userinput></screen>
    2429
    2530<para>We are not going to install all the programs that come with Inetutils.
  • chapter06/kbd.xml

    r411ceb8 r9dfc02f  
    2323<title>Installation of Kbd</title>
    2424
    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>
    3226
    3327<screen><userinput>./configure</userinput></screen>
     
    7468
    7569<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz &gt; \
    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>
    7771
    7872</sect2>
  • chapter06/net-tools.xml

    r411ceb8 r9dfc02f  
    3737
    3838<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
     41by applying the following patch:</para>
     42
     43<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel-2.6-1.patch</userinput></screen>
    3944
    4045<para>Now prepare Net-tools for compilation (if you intend to accept the
  • chapter06/psmisc.xml

    r411ceb8 r9dfc02f  
    2626<para>Prepare Psmisc for compilation:</para>
    2727
    28 <screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen>
     28<screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
    2929
    3030<para>The meaning of the configure option:</para>
    3131
    3232<itemizedlist>
    33 <listitem><para><userinput>--exec-prefix=/</userinput>: This causes the
     33<listitem><para><userinput>--exec-prefix=""</userinput>: This causes the
    3434binaries to be installed in <filename>/bin</filename> instead of
    3535<filename>/usr/bin</filename>. As the Psmisc programs are often used in
  • chapter06/pwdgroup.xml

    r411ceb8 r9dfc02f  
    4646dialout:x:10:
    4747audio:x:11:
     48video:x:12:
    4849<userinput>EOF</userinput></screen>
    4950
    5051<para>The created groups aren't part of any standard -- they are some of the
    51 groups that the <command>make_devices</command> script in the next section
     52groups that the Udev configuration we will be using in the next section
    5253uses. The LSB (<ulink url="http://www.linuxbase.org/">Linux Standard
    5354Base</ulink>) recommends only that, beside the group <quote>root</quote> with a
  • chapter06/shadow.xml

    r411ceb8 r9dfc02f  
    4343
    4444<screen><userinput>echo '#define HAVE_SETLOCALE 1' &gt;&gt; config.h</userinput></screen>
     45
     46<para>Shadow incorrectly declares the malloc() function, causing compilation
     47failure. Fix this:</para>
     48
     49<screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen>
    4550
    4651<para>Compile the package:</para>
  • chapter06/sysklogd.xml

    r411ceb8 r9dfc02f  
    1919
    2020
    21 
    2221<sect2>
    2322<title>Installation of Sysklogd</title>
     23
     24<para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues
     25by applying the following patch:</para>
     26
     27<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_header.patch</userinput></screen>
    2428
    2529<para>Compile Sysklogd:</para>
  • chapter06/util-linux.xml

    r411ceb8 r9dfc02f  
    3939<sect2>
    4040<title>Installation of Util-linux</title>
     41
     42<para>Util-linux has issues with the Linux 2.6 kernel series - fix these isues
     43by 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>
    4146
    4247<para>Prepare Util-linux for compilation:</para>
  • chapter06/vim.xml

    r411ceb8 r9dfc02f  
    4646
    4747<para>To test the results, you can issue:
    48 <userinput>make check</userinput>. However, this test suite outputs a lot of
     48<userinput>make test</userinput>. However, this test suite outputs a lot of
    4949seemingly garbage characters to the screen, and this can wreak havoc with the
    5050settings of the current terminal. Therefore the running of the test suite here
Note: See TracChangeset for help on using the changeset viewer.