Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#707 closed defect (invalid)

[Chapter 5] expect: missing configure switch: --with-tclincludes

Reported by: renaud.saintgratien@… Owned by: lfs-book@…
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 gerard@…, 21 years ago

Resolution: invalid
Status: newclosed

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).

comment:2 by renaud.saintgratien@…, 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?

Note: See TracTickets for help on using tickets.