- Timestamp:
- 01/16/2003 07:55:00 PM (21 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, 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
- Location:
- chapter06
- Files:
-
- 4 deleted
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2><title>Installation of Binutils</title> 2 4 … … 8 10 been warned.</para> 9 11 10 <para>Install Binutils by running the following commands:</para> 12 <para>It is recommended by the Binutils installation documentation to build 13 Binutils outside of the source directory. Create the build directory:</para> 11 14 12 15 <para><screen><userinput>mkdir ../binutils-build && 13 cd ../binutils-build && 14 ../binutils-&binutils-version;/configure --prefix=/usr --enable-shared && 15 make tooldir=/usr && 16 make tooldir=/usr install && 17 make tooldir=/usr install-info && 18 cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para> 16 cd ../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 27 executables end up) is set to $(exec_prefix)/$(target_alias) which expands 28 into, for example, /usr/i686-pc-linux-gnu. Since we only build for our 29 own system, we don't need this target specific directory in /usr. That 30 setup would be used if the system was used to cross-compile (for example 31 compiling a package on the Intel machine that generates code that can be 32 executed 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 43 in 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> 19 46 20 47 </sect2> -
chapter06/binutils.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &binutils-compsize;</screen> 7 7 8 &aa-binutils-shortdesc; 9 &aa-binutils-dep; 8 10 &c6-binutils-inst; 9 &c6-binutils-exp;10 &aa-binutils-desc;11 &aa-binutils-dep;12 11 13 12 </sect1> -
chapter06/bison-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Bison</title> 3 5 4 <para> Install Bison by running the following commands:</para>6 <para>Prepare Bison to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 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> 9 17 10 18 </sect2> -
chapter06/bison.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &bison-compsize;</screen> 7 7 8 &aa-bison-shortdesc; 9 &aa-bison-dep; 8 10 &c6-bison-inst; 9 &aa-bison-desc;10 &aa-bison-dep;11 11 12 12 </sect1> -
chapter06/fileutils-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Fileutils</title> 3 5 4 <para> Install Fileutils by running the following commands:</para>6 <para>Prepare Fileutils to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin && 7 make && 8 make install && 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 21 to account for this:</para> 22 23 <para><screen><userinput>ln -s ../../bin/install /usr/bin</userinput></screen></para> 10 24 11 25 </sect2> -
chapter06/fileutils.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &fileutils-compsize;</screen> 7 7 8 &aa-fileutils-shortdesc; 9 &aa-fileutils-dep; 8 10 &c6-fileutils-inst; 9 &aa-fileutils-desc;10 &aa-fileutils-dep;11 11 12 12 </sect1> -
chapter06/flex-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Flex</title> 3 5 4 <para> Install Flex by running the following commands:</para>6 <para>Prepare Flex to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 8 make install && 9 ln -s libfl.a /usr/lib/libl.a</userinput></screen></para> 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 10 9 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> 15 11 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 19 in the <filename>/usr/lib</filename> directory. Create a symlink 20 to 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 25 program (flex is a (better) alternative for lex). To please those 26 programs, create a shell script named lex which calls flex in 27 emulation mode:</para> 18 28 19 29 <para><screen><userinput>cat > /usr/bin/lex << "EOF"</userinput> -
chapter06/flex.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &flex-compsize;</screen> 7 7 8 &aa-flex-shortdesc; 9 &aa-flex-dep; 8 10 &c6-flex-inst; 9 &aa-flex-desc;10 &aa-flex-dep;11 11 12 12 </sect1> -
chapter06/gettext-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Gettext</title> 3 5 4 <para> Install Gettext by running the following commands:</para>6 <para>Prepare Gettext to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 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> 9 17 10 18 </sect2> -
chapter06/gettext.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &gettext-compsize;</screen> 7 7 8 &aa-gettext-shortdesc; 9 &aa-gettext-dep; 8 10 &c6-gettext-inst; 9 &aa-gettext-desc;10 &aa-gettext-dep;11 11 12 12 </sect1> -
chapter06/groff-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Groff</title> 3 5 4 <para> Install Groff by running the following commands:</para>6 <para>Prepare Groff to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 8 make install && 9 ln -s soelim /usr/bin/zsoelim && 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>, 19 will not work work properly without the following symlinks:</para> 20 21 <para><screen><userinput>ln -s soelim /usr/bin/zsoelim && 10 22 ln -s eqn /usr/bin/geqn && 11 23 ln -s tbl /usr/bin/gtbl</userinput></screen></para> -
chapter06/groff.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &groff-compsize;</screen> 7 7 8 &aa-groff-shortdesc; 9 &aa-groff-dep; 8 10 &c6-groff-inst; 9 &c6-groff-exp;10 &aa-groff-desc;11 &aa-groff-dep;12 11 13 12 </sect1> -
chapter06/less-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Less</title> 3 5 4 <para> Install Less by running the following commands:</para>6 <para>Prepare Less to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc && 7 make && 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> 9 17 10 18 </sect2> -
chapter06/less.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &less-compsize;</screen> 7 7 8 &aa-less-shortdesc; 9 &aa-less-dep; 8 10 &c6-less-inst; 9 &aa-less-desc;10 &aa-less-dep;11 11 12 12 </sect1> -
chapter06/m4-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of M4</title> 3 5 4 <para> Install M4 by running the following commands:</para>6 <para>Prepare M4 to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 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> 9 17 10 18 </sect2> -
chapter06/m4.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &m4-compsize;</screen> 7 7 8 &aa-m4-shortdesc; 9 &aa-m4-dep; 8 10 &c6-m4-inst; 9 &aa-m4-desc;10 &aa-m4-dep;11 11 12 12 </sect1> -
chapter06/nettools-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Net-tools</title> 3 4 <para>Install Net-tools by running the following commands:</para>5 6 <para><screen><userinput>make &&7 make update</userinput></screen></para>8 9 <para>If you want to accept all the default answers, you can run these10 commands instead:</para>11 12 <para><screen><userinput>yes "" | make &&13 make update</userinput></screen></para>14 5 15 6 <para>If you don't know what to answer to all the questions asked during … … 25 16 it's up to the kernel to make them available to the system.</para> 26 17 18 <para>If you intend to accept the default settings, you may skip 19 the 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> 31 works similarly to the <emphasis>install</emphasis> option, with one 32 exception: it doesn't make backups of files it's replacing. One of the 33 things 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 37 future, a make update won't backup all the files from a previous net-tools 38 installation.</para> 39 27 40 </sect2> 28 41 -
chapter06/nettools.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &net-tools-compsize;</screen> 7 7 8 &aa-nettools-shortdesc; 9 &aa-nettools-dep; 8 10 &c6-nettools-inst; 9 &c6-nettools-exp;10 &aa-nettools-desc;11 &aa-nettools-dep;12 11 13 12 </sect1> -
chapter06/sed-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Sed</title> 3 5 4 <para> Install Sed by running the following commands:</para>6 <para>Prepare Sed to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr --bindir=/bin && 7 make && 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> 9 17 10 18 </sect2> -
chapter06/sed.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &sed-compsize;</screen> 7 7 8 &aa-sed-shortdesc; 9 &aa-sed-dep; 8 10 &c6-sed-inst; 9 &aa-sed-desc;10 &aa-sed-dep;11 11 12 12 </sect1> -
chapter06/shellutils-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Sh-utils</title> 3 5 4 6 <para>This package requires its hostname-patch to be applied before you 5 can install it.</para> 7 can install it. This patch suppresses the build of the hostname program 8 which will be installed later with the net-tools package. The hostname 9 program from the net-tools package is a much better version (and in some 10 cases even required since it supports options that are needed by some 11 programs such as XFree86). Apply the patch:</para> 6 12 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> 8 14 9 <para><screen><userinput>patch -Np1 -i ../sh-utils-&sh-utils-hostname-patch-version;.patch && 10 ./configure --prefix=/usr && 11 make && 12 make install && 13 mv /usr/bin/{basename,date,echo,false,pwd} /bin && 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 28 locations:</para> 29 30 <para><screen><userinput>mv /usr/bin/{basename,date,echo,false,pwd} /bin && 14 31 mv /usr/bin/{sleep,stty,su,test,true,uname} /bin && 15 32 mv /usr/bin/chroot /usr/sbin</userinput></screen></para> -
chapter06/shellutils.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &sh-utils-compsize;</screen> 7 7 8 &aa-shellutils-shortdesc; 9 &aa-shellutils-dep; 8 10 &c6-shellutils-inst; 9 &c6-shellutils-exp;10 &aa-shellutils-desc;11 &aa-shellutils-dep;12 11 13 12 </sect1> -
chapter06/textutils-inst.xml
rb2933b9 rb7d9d404 1 <sect2><title> </title><para> </para></sect2> 2 1 3 <sect2> 2 4 <title>Installation of Textutils</title> 3 5 4 <para> Install Textutils by running the following commands:</para>6 <para>Prepare Textutils to be compiled:</para> 5 7 6 <para><screen><userinput>./configure --prefix=/usr && 7 make && 8 make install && 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 19 by moving some of its programs to the appropriate directory:</para> 20 21 <para><screen><userinput>mv /usr/bin/{cat,head} /bin</userinput></screen></para> 10 22 11 23 </sect2> -
chapter06/textutils.xml
rb2933b9 rb7d9d404 6 6 Estimated required disk space: &textutils-compsize;</screen> 7 7 8 &aa-textutils-shortdesc; 9 &aa-textutils-dep; 8 10 &c6-textutils-inst; 9 &aa-textutils-desc;10 &aa-textutils-dep;11 11 12 12 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.