[Bug 1774] tcl private headers should not be removed

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Wed Jan 18 17:02:51 PST 2006


cmaier at cmassoc.net changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

------- Additional Comments From cmaier at cmassoc.net  2006-01-18 18:02 -------
The problem I refer to does not occur until Expect 
is configured and is caused during Tcl and Tk installation. I build Tcl then Tk 
then Expect in succession.

I have confirmed that if Expect is configured with '--with-
tclinclude=/usr/include/tcl8.4' and headers tcl.h, tclDecls.h and 
tclPlatDecls.h are not present in /usr/include/tcl8.4/generic then the Expect 
configure script fails with 'directory /usr/local/include/tcl8.4 doesn't 
contain private headers'.

Likewise, if Expect is configured with '--with-tkinclude=/usr/include/tk8.4' 
and headers tk.h, tkDecls.h and tkPlatDecls.h are not present in 
subdirectory /usr/include/tcl8.4/generic then it fails 
with 'directory /usr/local/include/tk8.4 doesn't contain private headers'.

These header files are explicitly removed during the installation of tcl8.4.11  
and tk8.4.11 respectively. Tcl and Tk make does install them in /usr/include 
but Expect does not them there. If the missing files are subsequently moved 
from /usr/include to their respective /usr/include/{tk,tcl}8.4/generic 
subdirectories then Expect configures without error.

The specific configure options I am using to configure Expect are  --
prefix=/usr --enable-static --enable-shared --enable-threads --enable-gcc --
with-tcl=/usr/lib --with-tk=/usr/lib --with-tclinclude=/usr/include/tcl8.4 --
with-tkinclude=/usr/include/tk8.4 --with-gnu-ld --with-x.

One solution is to remove the headers in /user/include instead of those in the 
generic subdirectories. This approach works for me and keeps all corresponding 
headers together. 

Telling Expect to look in /usr/include does not work for me.

In short, changing the Expect configuration arguments does not seem to solve 
the problem. Changing the Tcl/Tk arguments does.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the blfs-book mailing list