- Timestamp:
- 12/16/2005 04:06:59 PM (19 years ago)
- Children:
- d663c90
- Parents:
- 48553c1
- Location:
- chapter05
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/bash.xml
r48553c1 r6856842 29 29 30 30 <!-- Edit Me --> 31 <para>Bash has a problem when compiled against newer versions of Glibc, causing32 it to hang inappropriately. This patch fixes the problem:</para>33 34 <screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>35 36 31 <para>Prepare Bash for compilation:</para> 37 32 -
chapter05/dejagnu.xml
r48553c1 r6856842 37 37 <screen><userinput>make install</userinput></screen> 38 38 39 <para>To test the results, issue: <userinput>make check</userinput>.</para> 40 39 41 </sect2> 40 42 -
chapter05/expect.xml
r48553c1 r6856842 38 38 39 39 <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> 41 41 42 42 <para>The meaning of the configure options:</para> … … 51 51 52 52 <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. 55 Using this option avoids conditions where <command>configure</command> fails because 56 it cannot automatically discover the location of Tcl's headers.</para></listitem> 58 57 </varlistentry> 59 58 … … 90 89 </varlistentry> 91 90 </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>98 91 99 92 </sect2> -
chapter05/gettext.xml
r48553c1 r6856842 28 28 <title>Installation of Gettext</title> 29 29 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> 31 31 32 32 <para>Prepare Gettext for compilation:</para> … … 40 40 <varlistentry> 41 41 <term><parameter>--disable-shared</parameter></term> 42 <listitem><para>We do not need to install any of the shared gettext libraries at this43 t ime, therefore,no need to build them.</para></listitem>42 <listitem><para>We do not need to install any of the shared gettext libraries at 43 this time, therefore there is no need to build them.</para></listitem> 44 44 </varlistentry> 45 45 </variablelist> … … 49 49 <screen><userinput>make -C lib 50 50 make -C src msgfmt</userinput></screen> 51 52 <para>As only one binary has been compiled, it is not possible to run the 53 testsuite without compiling additional support libraries from the Gettext 54 package. It is therefore not recommended to attempt to run the testsuite at 55 this stage.</para> 51 56 52 57 <para>Install the <command>msgfmt</command> binary:</para> -
chapter05/tcl.xml
r48553c1 r6856842 39 39 linkend="chapter-building-system"/>.</para> 40 40 41 <para>Tcl's configure script has a syntax error:</para> 42 <screen><userinput>cd unix 43 cp -v configure{,.orig} 44 sed "s/relid'/relid/" configure.orig > configure</userinput></screen> 45 41 46 <para>Prepare Tcl for compilation:</para> 42 47 43 <screen><userinput>cd unix 44 ./configure --prefix=/tools</userinput></screen> 48 <screen><userinput>./configure --prefix=/tools</userinput></screen> 45 49 46 50 <para>Build the package:</para> … … 63 67 <screen><userinput>make install</userinput></screen> 64 68 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> 68 70 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> 74 72 75 73 <para>Now make a necessary symbolic link:</para>
Note:
See TracChangeset
for help on using the changeset viewer.