Changeset 6856842 for chapter05


Ignore:
Timestamp:
12/16/2005 04:06:59 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
d663c90
Parents:
48553c1
Message:

Bring alphabetical branch up-to-speed with trunk

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

Location:
chapter05
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter05/bash.xml

    r48553c1 r6856842  
    2929
    3030<!-- Edit Me -->
    31 <para>Bash has a problem when compiled against newer versions of Glibc, causing
    32 it to hang inappropriately.  This patch fixes the problem:</para>
    33 
    34 <screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
    35 
    3631<para>Prepare Bash for compilation:</para>
    3732
  • chapter05/dejagnu.xml

    r48553c1 r6856842  
    3737<screen><userinput>make install</userinput></screen>
    3838
     39<para>To test the results, issue: <userinput>make check</userinput>.</para>
     40
    3941</sect2>
    4042
  • chapter05/expect.xml

    r48553c1 r6856842  
    3838
    3939<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
    40    --with-tclinclude=$TCLPATH --with-x=no</userinput></screen>
     40   --with-tclinclude=/tools/include --with-x=no</userinput></screen>
    4141
    4242<para>The meaning of the configure options:</para>
     
    5151
    5252<varlistentry>
    53 <term><parameter>--with-tclinclude=$TCLPATH</parameter></term>
    54 <listitem><para>This explicitly tells Expect where to find Tcl's source
    55 directory and internal headers. Using this option avoids conditions
    56 where <command>configure</command> fails because it cannot automatically
    57 discover the location of the Tcl source directory.</para></listitem>
     53<term><parameter>--with-tclinclude=/tools/include</parameter></term>
     54<listitem><para>This explicitly tells Expect where to find Tcl's internal headers.
     55Using this option avoids conditions where <command>configure</command> fails because
     56it cannot automatically discover the location of Tcl's headers.</para></listitem>
    5857</varlistentry>
    5958
     
    9089</varlistentry>
    9190</variablelist>
    92 
    93 <para>Now remove the <envar>TCLPATH</envar> variable:</para>
    94 
    95 <screen><userinput>unset TCLPATH</userinput></screen>
    96 
    97 <para>The source directories of both Tcl and Expect can now be removed.</para>
    9891
    9992</sect2>
  • chapter05/gettext.xml

    r48553c1 r6856842  
    2828<title>Installation of Gettext</title>
    2929
    30 <para>For our temporary set of tools, we only need to build and install one binary from gettext.</para>
     30<para>For our temporary set of tools, we only need to build and install one binary from Gettext.</para>
    3131
    3232<para>Prepare Gettext for compilation:</para>
     
    4040<varlistentry>
    4141<term><parameter>--disable-shared</parameter></term>
    42 <listitem><para>We do not need to install any of the shared gettext libraries at this
    43 time, therefore, no need to build them.</para></listitem>
     42<listitem><para>We do not need to install any of the shared gettext libraries at
     43this time, therefore there is no need to build them.</para></listitem>
    4444</varlistentry>
    4545</variablelist>
     
    4949<screen><userinput>make -C lib
    5050make -C src msgfmt</userinput></screen>
     51
     52<para>As only one binary has been compiled, it is not possible to run the
     53testsuite without compiling additional support libraries from the Gettext
     54package.  It is therefore not recommended to attempt to run the testsuite at
     55this stage.</para>
    5156
    5257<para>Install the <command>msgfmt</command> binary:</para>
  • chapter05/tcl.xml

    r48553c1 r6856842  
    3939linkend="chapter-building-system"/>.</para>
    4040
     41<para>Tcl's configure script has a syntax error:</para>
     42<screen><userinput>cd unix
     43cp -v configure{,.orig}
     44sed "s/relid'/relid/" configure.orig &gt; configure</userinput></screen>
     45
    4146<para>Prepare Tcl for compilation:</para>
    4247
    43 <screen><userinput>cd unix
    44 ./configure --prefix=/tools</userinput></screen>
     48<screen><userinput>./configure --prefix=/tools</userinput></screen>
    4549
    4650<para>Build the package:</para>
     
    6367<screen><userinput>make install</userinput></screen>
    6468
    65 <warning><para><emphasis>Do not</emphasis> remove the
    66 <filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
    67 will need its internal headers.</para></warning>
     69<para>Install Tcl's headers. The next package, Expect, requires them to build.</para>
    6870
    69 <para>Set a variable containing the full path of the current directory.
    70 The next package, Expect, will use this variable to find Tcl's headers.</para>
    71 
    72 <screen><userinput>cd ..
    73 export TCLPATH=`pwd`</userinput></screen>
     71<screen><userinput>make install-private-headers</userinput></screen>
    7472
    7573<para>Now make a necessary symbolic link:</para>
Note: See TracChangeset for help on using the changeset viewer.