Opened 18 years ago

Closed 18 years ago

#1860 closed enhancement (fixed)

Simplify tcl installation

Reported by: dnicholson@… Owned by: Randy McMurchy
Priority: low Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: minor Keywords:
Cc:

Description

In LFS and DIY, the tcl installation has been simplified by using the Makefile target 'install-private-headers' that I believe was introduced in tcl-8.4.9. While it has been pointed out that those systems are only creating tcl bindings for one package, expect, I think we should see if this can be introduced in BLFS.

Looking at the book source, these are the packages that have links to the tcl page:

./basicnet/netlibs/wvstreams.xml
./postlfs/editors/vim.xml
./xsoft/other/gaim.xml
./server/databases/postgresql.xml
./server/databases/db.xml
./general/prog/expect.xml
./general/prog/tk.xml
./general/genutils/pilot-link.xml

I will be looking into whether these packages will find a link to tcl if the headers are installed with 'install-private-headers' instead of the way they are in the book now.

Change History (5)

comment:1 by Randy McMurchy, 18 years ago

There would be much more than just the dependency packages listed so far. This is only for Tcl stuff. All the Tk depends would also have to be accounted for.

comment:2 by dnicholson@…, 18 years ago

Milestone: 6.2future

comment:3 by Randy McMurchy, 18 years ago

Milestone: future6.2
Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

Updated the book to the most recent Tcl version and will now install this version only using 'make install-private-headers' for the headers installation. I'll then test Expect and several other packages that use the tclConfig.sh program to locate the Tcl headers and ensure all is well.

comment:4 by Randy McMurchy, 18 years ago

I forgot to mention it in the previous message, but this round of tests is mostly to see what happens if you don't do any modification at all to the tcl/tkConfig.sh scripts. So there is actually two things to be tested.

  1. Not doing the sed to modify the tcl/tkConfig.sh scripts.
  2. Using the different header installation method using only

the 'make install-private-headers' Makefile target.

comment:5 by Randy McMurchy, 18 years ago

Resolution: fixed
Status: assignedclosed

Modified the Tcl and Tk instructions to use the 'make install-private-headers' target and removed all the other hacks from both installations.

Note: See TracTickets for help on using tickets.