mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-21 11:45:07 +01:00
first draft of tcl, expect, and dejagnu
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2666 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5b09aafd37
commit
484ceab8cd
@ -3,9 +3,17 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of DejaGNU</title>
|
<title>Installation of DejaGNU</title>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/stage1
|
<para>Prepare DejaGNU to be compiled:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Build and install the package:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>make
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>This completes the testing tools. We can now rebuild GCC and Binutils
|
||||||
|
to link them against the new Glibc, and test them properly.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,14 +3,27 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Expect</title>
|
<title>Installation of Expect</title>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../expect-&expect-version;.patch
|
<para>First apply a patch:</para>
|
||||||
./configure --prefix=/stage1 --with-tcl=/stage1/lib --with-x=no
|
|
||||||
make
|
<para><screen><userinput>patch -Np1 -i ../expect-&expect-version;.patch</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>This fixes a bug in Expect that can result in bogus failures during the
|
||||||
|
GCC test suite run.</para>
|
||||||
|
|
||||||
|
<para>Now prepare Expect to be compiled:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>./configure --prefix=/stage1 --with-tcl=/stage1/lib --with-x=no</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Build, test, and install the package:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>make
|
||||||
make test
|
make test
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
<para>You can remove the tcl&tcl-version; directory now as well as the
|
<para>Note that also here some of the tests might fail, and that this is not a
|
||||||
expect directory.</para>
|
problem here either.</para>
|
||||||
|
|
||||||
|
<para>You can now remove the build directories of both Tcl and Expect.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -3,15 +3,32 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of TCL</title>
|
<title>Installation of TCL</title>
|
||||||
|
|
||||||
<para><screen><userinput>cd unix
|
<para>This package and the next two are only installed to be able to run the
|
||||||
./configure --prefix=/stage1
|
test suites for GCC and Binutils. Installing three packages just for for
|
||||||
make
|
testing purposes may seem like overkill, but it is very reassuring, if not
|
||||||
make test
|
essential, to know that our most important tools are working properly.</para>
|
||||||
make install
|
|
||||||
ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para>
|
|
||||||
|
|
||||||
<para>Don't remove the tcl&tcl-version; directory yet, you need it for the
|
<para>Prepare Tcl to be compiled:</para>
|
||||||
next package installation.</para>
|
|
||||||
|
<para><screen><userinput>cd unix
|
||||||
|
./configure --prefix=/stage1</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Build, test, and install the package:</para>
|
||||||
|
|
||||||
|
<para><screen><userinput>make
|
||||||
|
make test
|
||||||
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Note that some of the tests may fail, and that this is not a problem:
|
||||||
|
the program will work well enough to be able to run the GCC and Binutils test
|
||||||
|
suites.</para>
|
||||||
|
|
||||||
|
<para>Make a link:</para>
|
||||||
|
<para><screen><userinput>ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Do <emphasis>not remove</emphasis> the
|
||||||
|
<filename>tcl&tcl-version;</filename> directory yet, as the next package will
|
||||||
|
need its internal headers.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user