Opened 17 years ago

Closed 17 years ago

Last modified 8 years ago

#1328 closed defect (invalid)

tcl instructions break tk build

Reported by: ken@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: ~CVS
Severity: normal Keywords:
Cc:

Description

The current instructions for tcl break tk's build for me, tk fails to find tclInt.h - after much head-scratching and kicking, I eventually fixed my build by adding yet another sed for tclConfig.sh, based on gentoo's current ebuild:

sed -i "s,TCL_SRC_DIR=.*,TCL_SRC_DIR=/usr/lib/tcl${V}/include," tclConfig.sh

looks as if lfs and gentoo are doing similar things here (ok, so gentoo probably puts the includes as a directory within /usr/lib/tcl8.4), but gentoo seem to do a whole lot more seds in tclConfig.sh. e.g. http://ftp.cgu.edu.tw/Linux/Gentoo/portage/dev-lang/tcl/tcl-8.4.9.ebuild

but since I don't really grok all of the tcl/tk build without keeping the source around, maybe there's a better way.

BTW, who the hell decided to use ',' as the delimiter for these seds ? From here it looks _really_ hard to read :)

Change History (2)

comment:1 by Randy McMurchy, 17 years ago

Resolution: invalid
Status: newclosed

As much as I hate to refute Ken's word, I am confident that the current Tcl/TK instructions work as shown in the book.

Perhaps Ken had an issue with changing from an unprivileged user to the root user and the build variables did not get carried across. Anyway, these instructions work and I can't see spending time trying to fix what ain't broke.

Marking this bug as invalid.

comment:2 by bdubbs@…, 8 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.