From a71ef0810363a3f394108b943bd0be00b506293b Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Tue, 13 Dec 2005 18:41:56 +0000 Subject: Install Tcl's internal headers to /tools/include. Thanks Greg Schafer, Dan Nicholson (fixes bug 1670). git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter05/expect.xml | 17 +++++------------ chapter05/tcl.xml | 10 ++-------- 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 687d213a3..fcc4b7a9e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -114,6 +114,11 @@ First a summary, then a detailed log. +December 13, 2005 [jhuntwork]: Install Tcl's internal headers to /tools/include, +allowing us to drop its source directory right away. Origin is Greg Schafer, and thanks to +Dan Nicholson for the report (fixes bug 1670). + + December 12, 2005 [jhuntwork]: Updated texinfo patch. Fixes segfault issues with texindex. Thanks to Randy McMurchy for the report and Bruce Dubbs and Joe Ciccone for the fix. diff --git a/chapter05/expect.xml b/chapter05/expect.xml index 7ba3c7119..32662380c 100644 --- a/chapter05/expect.xml +++ b/chapter05/expect.xml @@ -37,7 +37,7 @@ suite run: Now prepare Expect for compilation: ./configure --prefix=/tools --with-tcl=/tools/lib \ - --with-tclinclude=$TCLPATH --with-x=no + --with-tclinclude=/tools/include --with-x=no The meaning of the configure options: @@ -50,11 +50,10 @@ one on the host system. ---with-tclinclude=$TCLPATH -This explicitly tells Expect where to find Tcl's source -directory and internal headers. Using this option avoids conditions -where configure fails because it cannot automatically -discover the location of the Tcl source directory. +--with-tclinclude=/tools/include +This explicitly tells Expect where to find Tcl's internal headers. +Using this option avoids conditions where configure fails because +it cannot automatically discover the location of Tcl's headers. @@ -90,12 +89,6 @@ scripts, which are not needed. -Now remove the TCLPATH variable: - -unset TCLPATH - -The source directories of both Tcl and Expect can now be removed. - Contents of Expect diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml index f0f7dd868..3787a3d95 100644 --- a/chapter05/tcl.xml +++ b/chapter05/tcl.xml @@ -66,15 +66,9 @@ Details on the TZ environment variable are provided in make install -Do not remove the -tcl&tcl-version; source directory yet, as the next package -will need its internal headers. +Install Tcl's headers. The next package, Expect, requires them to build. -Set a variable containing the full path of the current directory. -The next package, Expect, will use this variable to find Tcl's headers. - -cd .. -export TCLPATH=`pwd` +make install-private-headers Now make a necessary symbolic link: -- cgit v1.2.3-54-g00ecf