Changeset b7d9d404 for chapter06


Ignore:
Timestamp:
01/16/2003 07:55:00 PM (21 years ago)
Author:
Timothy Bauscher <timothy@…>
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, 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, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a78a9b4
Parents:
b2933b9
Message:

Converted m4, bison, less, groff, textutils, sed, flex, binutils, fileutils, shellutils, gettext and net-tools to new layout.

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

Location:
chapter06
Files:
4 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2><title>Installation of Binutils</title>
    24
     
    810been warned.</para>
    911
    10 <para>Install Binutils by running the following commands:</para>
     12<para>It is recommended by the Binutils installation documentation to build
     13Binutils outside of the source directory. Create the build directory:</para>
    1114
    1215<para><screen><userinput>mkdir ../binutils-build &amp;&amp;
    13 cd ../binutils-build &amp;&amp;
    14 ../binutils-&binutils-version;/configure --prefix=/usr --enable-shared &amp;&amp;
    15 make tooldir=/usr &amp;&amp;
    16 make tooldir=/usr install &amp;&amp;
    17 make tooldir=/usr install-info &amp;&amp;
    18 cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para>
     16cd ../binutils-build</userinput></screen></para>
     17
     18<para>Next, prepare Binutils to be compiled:</para>
     19
     20<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen></para>
     21
     22<para>Continue with compiling the package:</para>
     23
     24<para><screen><userinput>make tooldir=/usr</userinput></screen></para>
     25
     26<para>Normally, the <emphasis>tooldir</emphasis> (the directory where the
     27executables end up) is set to $(exec_prefix)/$(target_alias) which expands
     28into, for example, /usr/i686-pc-linux-gnu. Since we only build for our
     29own system, we don't need this target specific directory in /usr. That
     30setup would be used if the system was used to cross-compile (for example
     31compiling a package on the Intel machine that generates code that can be
     32executed on Apple PowerPC machines).</para>
     33
     34<para>Install the package:</para>
     35
     36<para><screen><userinput>make tooldir=/usr install</userinput></screen></para>
     37
     38<para>Install the info pages:</para>
     39
     40<para><screen><userinput>make tooldir=/usr install-info</userinput></screen></para>
     41
     42<para>Some packages require the <emphasis>libiberty</emphasis> header
     43in order to build. To honor those packages, install the file:</para>
     44
     45<para><screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para>
    1946
    2047</sect2>
  • chapter06/binutils.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &binutils-compsize;</screen>
    77
     8&aa-binutils-shortdesc;
     9&aa-binutils-dep;
    810&c6-binutils-inst;
    9 &c6-binutils-exp;
    10 &aa-binutils-desc;
    11 &aa-binutils-dep;
    1211
    1312</sect1>
  • chapter06/bison-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Bison</title>
    35
    4 <para>Install Bison by running the following commands:</para>
     6<para>Prepare Bison to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Finish installing the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter06/bison.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &bison-compsize;</screen>
    77
     8&aa-bison-shortdesc;
     9&aa-bison-dep;
    810&c6-bison-inst;
    9 &aa-bison-desc;
    10 &aa-bison-dep;
    1111
    1212</sect1>
  • chapter06/fileutils-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Fileutils</title>
    35
    4 <para>Install Fileutils by running the following commands:</para>
     6<para>Prepare Fileutils to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;
    7 make &amp;&amp;
    8 make install &amp;&amp;
    9 ln -s ../../bin/install /usr/bin</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Install the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
     17
     18<para>Some packages hardwire the path to the
     19<userinput>install</userinput> program as
     20<emphasis>/usr/bin/install</emphasis>. Create a symlink
     21to account for this:</para>
     22
     23<para><screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen></para>
    1024
    1125</sect2>
  • chapter06/fileutils.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &fileutils-compsize;</screen>
    77
     8&aa-fileutils-shortdesc;
     9&aa-fileutils-dep;
    810&c6-fileutils-inst;
    9 &aa-fileutils-desc;
    10 &aa-fileutils-dep;
    1111
    1212</sect1>
  • chapter06/flex-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Flex</title>
    35
    4 <para>Install Flex by running the following commands:</para>
     6<para>Prepare Flex to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install &amp;&amp;
    9 ln -s libfl.a /usr/lib/libl.a</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
    109
    11 <para>Some programs don't know about flex and try to find the lex program
    12 (flex is a (better) alternative for lex). So to please those few
    13 programs out there we'll create a bash script called lex that calls flex
    14 and have it emulate lex.</para>
     10<para>Continue with compiling the package:</para>
    1511
    16 <para>Create a new file <filename>/usr/bin/lex</filename> by running the
    17 following:</para>
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Install the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
     17
     18<para>There are which packages expect to find the flex library
     19in the <filename>/usr/lib</filename> directory. Create a symlink
     20to account for this:</para>
     21
     22<para><screen><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen></para>
     23
     24<para>Some programs don't know about flex and try to find the lex
     25program (flex is a (better) alternative for lex). To please those
     26programs, create a shell script named lex which calls flex in
     27emulation mode:</para>
    1828
    1929<para><screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"</userinput>
  • chapter06/flex.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &flex-compsize;</screen>
    77
     8&aa-flex-shortdesc;
     9&aa-flex-dep;
    810&c6-flex-inst;
    9 &aa-flex-desc;
    10 &aa-flex-dep;
    1111
    1212</sect1>
  • chapter06/gettext-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Gettext</title>
    35
    4 <para>Install Gettext by running the following commands:</para>
     6<para>Prepare Gettext to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Finish installing the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter06/gettext.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &gettext-compsize;</screen>
    77
     8&aa-gettext-shortdesc;
     9&aa-gettext-dep;
    810&c6-gettext-inst;
    9 &aa-gettext-desc;
    10 &aa-gettext-dep;
    1111
    1212</sect1>
  • chapter06/groff-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Groff</title>
    35
    4 <para>Install Groff by running the following commands:</para>
     6<para>Prepare Groff to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install &amp;&amp;
    9 ln -s soelim /usr/bin/zsoelim &amp;&amp;
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Install the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
     17
     18<para>Some groff/man document programs, such as <userinput>xman</userinput>,
     19will not work work properly without the following symlinks:</para>
     20
     21<para><screen><userinput>ln -s soelim /usr/bin/zsoelim &amp;&amp;
    1022ln -s eqn /usr/bin/geqn &amp;&amp;
    1123ln -s tbl /usr/bin/gtbl</userinput></screen></para>
  • chapter06/groff.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &groff-compsize;</screen>
    77
     8&aa-groff-shortdesc;
     9&aa-groff-dep;
    810&c6-groff-inst;
    9 &c6-groff-exp;
    10 &aa-groff-desc;
    11 &aa-groff-dep;
    1211
    1312</sect1>
  • chapter06/less-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Less</title>
    35
    4 <para>Install Less by running the following commands:</para>
     6<para>Prepare Less to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc &amp;&amp;
    7 make &amp;&amp;
    8 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Finish installing the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter06/less.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &less-compsize;</screen>
    77
     8&aa-less-shortdesc;
     9&aa-less-dep;
    810&c6-less-inst;
    9 &aa-less-desc;
    10 &aa-less-dep;
    1111
    1212</sect1>
  • chapter06/m4-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of M4</title>
    35
    4 <para>Install M4 by running the following commands:</para>
     6<para>Prepare M4 to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Finish installing the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter06/m4.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &m4-compsize;</screen>
    77
     8&aa-m4-shortdesc;
     9&aa-m4-dep;
    810&c6-m4-inst;
    9 &aa-m4-desc;
    10 &aa-m4-dep;
    1111
    1212</sect1>
  • chapter06/nettools-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Net-tools</title>
    3 
    4 <para>Install Net-tools by running the following commands:</para>
    5 
    6 <para><screen><userinput>make &amp;&amp;
    7 make update</userinput></screen></para>
    8 
    9 <para>If you want to accept all the default answers, you can run these
    10 commands instead:</para>
    11 
    12 <para><screen><userinput>yes "" | make &amp;&amp;
    13 make update</userinput></screen></para>
    145
    156<para>If you don't know what to answer to all the questions asked during
     
    2516it's up to the kernel to make them available to the system.</para>
    2617
     18<para>If you intend to accept the default settings, you may skip
     19the questions generated by <emphasis>make</emphasis> by runing
     20<userinput>yes "" | make</userinput>.</para>
     21
     22<para>Compile the package:</para>
     23
     24<para><screen><userinput>make</userinput></screen></para>
     25
     26<para>Finish installing the package:</para>
     27
     28<para><screen><userinput>make update</userinput></screen></para>
     29
     30<para>The <emphasis>update</emphasis> option to <userinput>make</userinput>
     31works similarly to the <emphasis>install</emphasis> option, with one
     32exception: it doesn't make backups of files it's replacing. One of the
     33things net-tools replaces is sh-utils's version of /bin/hostname
     34(net-tools's version is far better than sh-utils's version).</para>
     35
     36<para>Also, if you decide to reinstall this package at some point in the
     37future, a make update won't backup all the files from a previous net-tools
     38installation.</para>
     39
    2740</sect2>
    2841
  • chapter06/nettools.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &net-tools-compsize;</screen>
    77
     8&aa-nettools-shortdesc;
     9&aa-nettools-dep;
    810&c6-nettools-inst;
    9 &c6-nettools-exp;
    10 &aa-nettools-desc;
    11 &aa-nettools-dep;
    1211
    1312</sect1>
  • chapter06/sed-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Sed</title>
    35
    4 <para>Install Sed by running the following commands:</para>
     6<para>Prepare Sed to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;
    7 make &amp;&amp;
    8 make install</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Finish installing the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
    917
    1018</sect2>
  • chapter06/sed.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &sed-compsize;</screen>
    77
     8&aa-sed-shortdesc;
     9&aa-sed-dep;
    810&c6-sed-inst;
    9 &aa-sed-desc;
    10 &aa-sed-dep;
    1111
    1212</sect1>
  • chapter06/shellutils-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Sh-utils</title>
    35
    46<para>This package requires its hostname-patch to be applied before you
    5 can install it.</para>
     7can install it. This patch suppresses the build of the hostname program
     8which will be installed later with the net-tools package. The hostname
     9program from the net-tools package is a much better version (and in some
     10cases even required since it supports options that are needed by some
     11programs such as XFree86). Apply the patch:</para>
    612
    7 <para>Install Sh-utils by running the following commands:</para>
     13<para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch</userinput></screen></para>
    814
    9 <para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch &amp;&amp;
    10 ./configure --prefix=/usr &amp;&amp;
    11 make &amp;&amp;
    12 make install &amp;&amp;
    13 mv /usr/bin/{basename,date,echo,false,pwd} /bin &amp;&amp;
     15<para>Prepare Shellutils to be compiled:</para>
     16
     17<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     18
     19<para>Continue with compiling the package:</para>
     20
     21<para><screen><userinput>make</userinput></screen></para>
     22
     23<para>Install the package:</para>
     24
     25<para><screen><userinput>make install</userinput></screen></para>
     26
     27<para>Finally, move some of the programs to more appropriate
     28locations:</para>
     29
     30<para><screen><userinput>mv /usr/bin/{basename,date,echo,false,pwd} /bin &amp;&amp;
    1431mv /usr/bin/{sleep,stty,su,test,true,uname} /bin &amp;&amp;
    1532mv /usr/bin/chroot /usr/sbin</userinput></screen></para>
  • chapter06/shellutils.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &sh-utils-compsize;</screen>
    77
     8&aa-shellutils-shortdesc;
     9&aa-shellutils-dep;
    810&c6-shellutils-inst;
    9 &c6-shellutils-exp;
    10 &aa-shellutils-desc;
    11 &aa-shellutils-dep;
    1211
    1312</sect1>
  • chapter06/textutils-inst.xml

    rb2933b9 rb7d9d404  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2>
    24<title>Installation of Textutils</title>
    35
    4 <para>Install Textutils by running the following commands:</para>
     6<para>Prepare Textutils to be compiled:</para>
    57
    6 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 make &amp;&amp;
    8 make install &amp;&amp;
    9 mv /usr/bin/{cat,head} /bin</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     9
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>Install the package:</para>
     15
     16<para><screen><userinput>make install</userinput></screen></para>
     17
     18<para>Finally, complete the installation of this package
     19by moving some of its programs to the appropriate directory:</para>
     20
     21<para><screen><userinput>mv /usr/bin/{cat,head} /bin</userinput></screen></para>
    1022
    1123</sect2>
  • chapter06/textutils.xml

    rb2933b9 rb7d9d404  
    66Estimated required disk space:  &textutils-compsize;</screen>
    77
     8&aa-textutils-shortdesc;
     9&aa-textutils-dep;
    810&c6-textutils-inst;
    9 &aa-textutils-desc;
    10 &aa-textutils-dep;
    1111
    1212</sect1>
Note: See TracChangeset for help on using the changeset viewer.