Changeset 24a08b9 for chapter06


Ignore:
Timestamp:
08/17/2004 10:12:01 PM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
fa2f5ad
Parents:
6850316
Message:

General edits. Added bash+readline display_wrap patches

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

Location:
chapter06
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r6850316 r24a08b9  
    2929<title>Installation of Bash</title>
    3030
     31<para>The following patch fixes a problem where Bash sometimes will
     32only show 33 characters on a line and then wraps to the next
     33line.</para>
     34
     35<screen><userinput>patch -Np1 -i ../bash-&bash-version;-display_wrap-1.patch</userinput></screen>
     36
    3137<para>Prepare Bash for compilation:</para>
    3238
    3339<screen><userinput>./configure --prefix=/usr --bindir=/bin \
    3440    --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
     49system rather than using its own readline version.</para></listitem>
     50</varlistentry>
     51</variablelist>
    3552
    3653<para>Compile the package:</para>
  • chapter06/binutils.xml

    r6850316 r24a08b9  
    3030<title>Installation of Binutils</title>
    3131
    32 <para>Verify that your the terminals (PTYs) are working properly
    33 inside the chroot environment. Check that everything is set up
    34 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 not
    39 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 suites
    44 for Binutils and GCC.</para>
    45 
    4632<para>This package is known to have issues when its default
    4733optimization flags (including the <parameter>-march</parameter> and
     
    4935variables that override default optimizations have been defined, such
    5036as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>,
    51 unset or modifying them when building Binutils.</para>
     37unset them when building Binutils.</para>
     38
     39<para>Verify that your the terminals (PTYs) are working properly
     40inside the chroot environment. Check that everything is set up
     41correctly 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
     46set 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
     51for Binutils and GCC.</para>
    5252
    5353<para>The Binutils documentation recommends building Binutils outside of the
  • chapter06/coreutils.xml

    r6850316 r24a08b9  
    100100<segmentedlist>
    101101<segtitle>Installed programs</segtitle>
    102 <seglistitem><seg>basename, cat, chgrp, chmod,
    103 chown, 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,
     103comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du,
     104echo, env, expand, expr, factor, false, fmt, fold, groups, head,
    105105hostid, hostname, id, install, join, link, ln, logname, ls, md5sum,
    106 mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr,
    107 printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, shred, sleep,
    108 sort, split, stat, stty, su, sum, sync, tac, tail, tee, test, touch, tr, true,
    109 tsort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who,
    110 whoami and yes</seg></seglistitem>
     106mkdir, mkfifo, mknod, mv, nice, nl, nohup, od, paste, pathchk, pinky,
     107pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum,
     108shred, sleep, sort, split, stat, stty, sum, sync, tac, tail, tee,
     109test, touch, tr, true, tsort, tty, uname, unexpand, uniq, unlink,
     110users, vdir, wc, who, whoami and yes</seg></seglistitem>
    111111</segmentedlist>
    112112
     
    651651</varlistentry>
    652652
     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
    653661<varlistentry id="stty">
    654662<term><command>stty</command></term>
     
    656664<para>sets or reports terminal line settings.</para>
    657665<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>
    666666</listitem>
    667667</varlistentry>
     
    796796</varlistentry>
    797797
    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 are
    802 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 
    807798<varlistentry id="users">
    808799<term><command>users</command></term>
  • chapter06/gcc.xml

    r6850316 r24a08b9  
    3535variables that override default optimizations have been defined, such
    3636as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>,
    37 unset or modifying them when building Binutils.</para>
     37unset them when building GCC.</para>
    3838
    3939<para>Unpack both the gcc-core and the gcc-g++ tarballs -- they will
  • chapter06/glibc.xml

    r6850316 r24a08b9  
    3131<sect2 role="installation">
    3232<title>Installation of Glibc</title>
     33
     34<para>This package is known to have issues when its default
     35optimization flags (including the <parameter>-march</parameter> and
     36<parameter>-mcpu</parameter> options) are changed. If any environment
     37variables that override default optimizations have been defined, such
     38as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>,
     39unset them when building GCC.</para>
    3340
    3441<para>The Glibc build system is self-contained and will install
  • chapter06/grub.xml

    r6850316 r24a08b9  
    3434variables that override default optimizations have been defined, such
    3535as <emphasis>CFLAGS</emphasis> and <emphasis>CXXFLAGS</emphasis>,
    36 unset or modifying them when building Binutils.</para>
     36unset them when building Grub.</para>
    3737
    3838<para>Prepare Grub for compilation:</para>
  • chapter06/readline.xml

    r6850316 r24a08b9  
    2929<title>Installation of Readline</title>
    3030
     31<para>The following patch fixes a problem where Readline sometimes
     32will only show 33 characters on a line and then wraps to the next
     33line.</para>
     34
     35<screen><userinput>patch -Np1 -i ../readline-&readline-version;-display_wrap-1.patch</userinput></screen>
     36
    3137<para>Prepare Readline for compilation:</para>
    3238
     
    3642
    3743<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>
    3854
    3955<para>Install the package:</para>
  • chapter06/vim.xml

    r6850316 r24a08b9  
    5454<parameter>--enable-multibyte</parameter> switch includes support for
    5555editing 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
     57a multibyte character set. This switch is also helpful to be able to
     58edit text files initially created in Linux distributions like Fedora
     59Core that use UTF-8 as a default character set.</para>
    6160
    6261<para>Compile the package:</para>
     
    8584comes with a GUI version of the editor that requires X and some
    8685additional libraries to be installed. For more information on this
    87 process, refer to the Vim documentation.</para>
     86process, refer to the Vim documentation and the Vim installation page
     87in the BLFS book at <ulink
     88url="http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/editors.html#postlfs-editors-vim"/>
     89.</para>
    8890
    8991</sect2>
Note: See TracChangeset for help on using the changeset viewer.