- Timestamp:
- 08/17/2004 10:12:01 PM (20 years ago)
- Branches:
- 6.0
- Children:
- fa2f5ad
- Parents:
- 6850316
- Location:
- chapter06
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r6850316 r24a08b9 29 29 <title>Installation of Bash</title> 30 30 31 <para>The following patch fixes a problem where Bash sometimes will 32 only show 33 characters on a line and then wraps to the next 33 line.</para> 34 35 <screen><userinput>patch -Np1 -i ../bash-&bash-version;-display_wrap-1.patch</userinput></screen> 36 31 37 <para>Prepare Bash for compilation:</para> 32 38 33 39 <screen><userinput>./configure --prefix=/usr --bindir=/bin \ 34 40 --without-bash-malloc --with-installed-readline</userinput></screen> 41 42 <para>The meaning of the configure option:</para> 43 44 <variablelist> 45 <varlistentry> 46 <term><parameter>--with-installed-readline</parameter></term> 47 <listitem><para>This options tells Bash to use the 48 <filename>readline</filename> library that is already installed on the 49 system rather than using its own readline version.</para></listitem> 50 </varlistentry> 51 </variablelist> 35 52 36 53 <para>Compile the package:</para> -
chapter06/binutils.xml
r6850316 r24a08b9 30 30 <title>Installation of Binutils</title> 31 31 32 <para>Verify that your the terminals (PTYs) are working properly33 inside the chroot environment. Check that everything is set up34 correctly by performing a simple test:</para>35 36 <screen><userinput>expect -c "spawn ls"</userinput></screen>37 38 <para>If the following message shows up, the chroot environment is not39 set up for proper PTY operation:</para>40 41 <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen>42 43 <para>The issue needs to be resolved before running the test suites44 for Binutils and GCC.</para>45 46 32 <para>This package is known to have issues when its default 47 33 optimization flags (including the <parameter>-march</parameter> and … … 49 35 variables that override default optimizations have been defined, such 50 36 as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>, 51 unset or modifying them when building Binutils.</para> 37 unset them when building Binutils.</para> 38 39 <para>Verify that your the terminals (PTYs) are working properly 40 inside the chroot environment. Check that everything is set up 41 correctly by performing a simple test:</para> 42 43 <screen><userinput>expect -c "spawn ls"</userinput></screen> 44 45 <para>If the following message shows up, the chroot environment is not 46 set up for proper PTY operation:</para> 47 48 <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen> 49 50 <para>The issue needs to be resolved before running the test suites 51 for Binutils and GCC.</para> 52 52 53 53 <para>The Binutils documentation recommends building Binutils outside of the -
chapter06/coreutils.xml
r6850316 r24a08b9 100 100 <segmentedlist> 101 101 <segtitle>Installed programs</segtitle> 102 <seglistitem><seg>basename, cat, chgrp, chmod, 103 c hown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors,104 dirname, du,echo, env, expand, expr, factor, false, fmt, fold, groups, head,102 <seglistitem><seg>basename, cat, chgrp, chmod, chown, chroot, cksum, 103 comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, 104 echo, env, expand, expr, factor, false, fmt, fold, groups, head, 105 105 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum, 106 mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr,107 pr intenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, shred, sleep,108 s ort, split, stat, stty, su, sum, sync, tac, tail, tee, test, touch, tr, true,109 t sort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who,110 whoami and yes</seg></seglistitem>106 mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky, 107 pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, 108 shred, sleep, sort, split, stat, stty, sum, sync, tac, tail, tee, 109 test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink, 110 users, vdir, wc, who, whoami and yes</seg></seglistitem> 111 111 </segmentedlist> 112 112 … … 651 651 </varlistentry> 652 652 653 <varlistentry id="stat"> 654 <term><command>stat</command></term> 655 <listitem> 656 <para>displays file or filesystem status.</para> 657 <indexterm zone="ch-system-coreutils stat"><primary sortas="b-stat">stat</primary></indexterm> 658 </listitem> 659 </varlistentry> 660 653 661 <varlistentry id="stty"> 654 662 <term><command>stty</command></term> … … 656 664 <para>sets or reports terminal line settings.</para> 657 665 <indexterm zone="ch-system-coreutils stty"><primary sortas="b-stty">stty</primary></indexterm> 658 </listitem>659 </varlistentry>660 661 <varlistentry id="su">662 <term><command>su</command></term>663 <listitem>664 <para>runs a shell with substitute user and group IDs.</para>665 <indexterm zone="ch-system-coreutils su"><primary sortas="b-su">su</primary></indexterm>666 666 </listitem> 667 667 </varlistentry> … … 796 796 </varlistentry> 797 797 798 <varlistentry id="uptime-coreutils">799 <term><command>uptime</command></term>800 <listitem>801 <para>reports how long the system has been running, how many users are802 logged on, and the system load averages.</para>803 <indexterm zone="ch-system-coreutils uptime-coreutils"><primary sortas="b-uptime-coreutils">uptime</primary></indexterm>804 </listitem>805 </varlistentry>806 807 798 <varlistentry id="users"> 808 799 <term><command>users</command></term> -
chapter06/gcc.xml
r6850316 r24a08b9 35 35 variables that override default optimizations have been defined, such 36 36 as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>, 37 unset or modifying them when building Binutils.</para>37 unset them when building GCC.</para> 38 38 39 39 <para>Unpack both the gcc-core and the gcc-g++ tarballs -- they will -
chapter06/glibc.xml
r6850316 r24a08b9 31 31 <sect2 role="installation"> 32 32 <title>Installation of Glibc</title> 33 34 <para>This package is known to have issues when its default 35 optimization flags (including the <parameter>-march</parameter> and 36 <parameter>-mcpu</parameter> options) are changed. If any environment 37 variables that override default optimizations have been defined, such 38 as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>, 39 unset them when building GCC.</para> 33 40 34 41 <para>The Glibc build system is self-contained and will install -
chapter06/grub.xml
r6850316 r24a08b9 34 34 variables that override default optimizations have been defined, such 35 35 as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>, 36 unset or modifying them when building Binutils.</para>36 unset them when building Grub.</para> 37 37 38 38 <para>Prepare Grub for compilation:</para> -
chapter06/readline.xml
r6850316 r24a08b9 29 29 <title>Installation of Readline</title> 30 30 31 <para>The following patch fixes a problem where Readline sometimes 32 will only show 33 characters on a line and then wraps to the next 33 line.</para> 34 35 <screen><userinput>patch -Np1 -i ../readline-&readline-version;-display_wrap-1.patch</userinput></screen> 36 31 37 <para>Prepare Readline for compilation:</para> 32 38 … … 36 42 37 43 <screen><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen> 44 45 <para>The meaning of the make option:</para> 46 47 <variablelist> 48 <varlistentry> 49 <term><parameter>SHLIB_XLDFLAGS=-lncurses</parameter></term> 50 <listitem><para>This option forces readline to link against the 51 <filename>libncurses</filename> library.</para></listitem> 52 </varlistentry> 53 </variablelist> 38 54 39 55 <para>Install the package:</para> -
chapter06/vim.xml
r6850316 r24a08b9 54 54 <parameter>--enable-multibyte</parameter> switch includes support for 55 55 editing files in multibyte character encodings into 56 <command>vim</command>. This is needed if the recommendation was not 57 heeded to not to use LFS in locales with multibyte character sets. 58 This switch is also helpful to be able to edit text files initially 59 created in Linux distributions like Fedora Core that use UTF-8 as a 60 default character set.</para> 56 <command>vim</command>. This is needed if you are using a locale with 57 a multibyte character set. This switch is also helpful to be able to 58 edit text files initially created in Linux distributions like Fedora 59 Core that use UTF-8 as a default character set.</para> 61 60 62 61 <para>Compile the package:</para> … … 85 84 comes with a GUI version of the editor that requires X and some 86 85 additional libraries to be installed. For more information on this 87 process, refer to the Vim documentation.</para> 86 process, refer to the Vim documentation and the Vim installation page 87 in the BLFS book at <ulink 88 url="http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/editors.html#postlfs-editors-vim"/> 89 .</para> 88 90 89 91 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.