Tk Library Source Code

View Ticket
Login
Ticket UUID: 633250
Title: mpexpand: Tcl 8.3 required
Type: Bug Version: None
Submitter: nobody Created on: 2002-11-04 12:43:46
Subsystem: doctools Assigned To: andreas_kupries
Priority: 8 Severity:
Status: Closed Last Modified: 2003-04-14 13:08:20
Resolution: Out of Date Closed By: andreas_kupries
    Closed on: 2003-04-14 06:08:20
Description:
Using configure will find required Tcl 8.3

# ./configure          
loading cache ./config.cache
checking for a BSD compatible install... (cached)
/usr/bin/ginstall -c
checking executable extension based on host type... 
checking for tclsh... (cached) /usr/local/bin/tclsh8.3
creating ./config.status
creating Makefile

but during installation "make" may fail due to usage of
different tclsh interpreter - in my case tclsh has to
be a tclsh8.2 interpreter. "configure -bindir=..." does
not help as the search path is not changed.

# make
make html-doc
make[1]: Entering directory `/home/fis/tmp/tcllib-1.3'
make[2]: Entering directory `/home/fis/tmp/tcllib-1.3'
Gen (html): ./modules/base64/base64.man
bad option "unset": must be anymore, donesearch,
exists, get, names, nextelement, set, size, or
startsearch
    while executing
"::mp expand $text"
    (procedure "passes" line 10)
    invoked from within
"passes"
    (procedure "main" line 6)
    invoked from within
"main"
    (file "./modules/doctools/mpexpand" line 737)
Gen (html): ./modules/base64/uuencode.man


Please insert

package require Tcl 8.3

to mpexpand and it'll work.
User Comments: andreas_kupries added on 2003-04-14 13:08:20:
Logged In: YES 
user_id=75003

Yes, it is. This was a problem in the main Makefile of
tcllib and has actually been fixed for quite some time in
the CVS.

Here's the entry in the changelog

2002-08-15  Andreas Kupries 
<[email protected]>

* Makefile.in (DOC_EXP): Use the tclsh found during configuration
  to run mpexpand. This ensures that mpexpand does not pick
  something from the path on its own, possibly something too old
  to understand TCLLIBPATH. Problem noted by Elchonon Edelson
  <[email protected]>.

dgp added on 2003-04-14 06:39:12:
Logged In: YES 
user_id=80530

this report looks way out of date.