#707 closed defect (invalid)
[Chapter 5] expect: missing configure switch: --with-tclincludes
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
In Chapter 5, "Installing Expect-5.39.0": The --with-tclincludes switch is missing from the configure command line. (The swicth specifies the TCL internal header files location.) On my box where TCL is not installed, expect fails to configure if the switch is not specified.
Last checked against LFS-5.0-pre3 and 2003-11-02 daily CVS snapshot.
Change History (2)
comment:1 by , 21 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 21 years ago
OK, I see what the point is. Thanks.
I did not deleted the tcl installation directories but I just do not follow the hint of using the $LFS/sources directory as a working directory. On my host, the tcl install dir is: $LFS/home/lfs/build/tcl/tcl-8.4.4/tcl8.4.4 and the expect install dir is: $LFS/home/lfs/build/expect/expect-5.39/expect-5.39
If building expect *needs* to follow the $LFS/sources hint, maybe the hint should become a requirement?
This is not necessary. My guess is that you removed the tcl installation directory after you installed it in chapter 5. At the end of the chapter 5-TCL page, there is this note:
Important: Do not remove the tcl8.4.4 source directory yet, as the next package will need its internal headers.
expect will look for TCL in the parent directory. Ie: if expect is in /usr/src/expect, then it will look for TCL headers automatically in /usr/src/tcl8.4.4 (if it exists).