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: