Skip to content
Tcl Source Code View Ticket
Login

View Ticket

error during makefile.vc creation of tclConfig.sh...

Deleted977369ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-06-22 11:18:35
The makefile.vc creates the tclConfig.sh file OK, 
however, the newly built tclsh complains about being 
unable to find "init.tcl" (which would be in "../../library").  

My suggestion would probably be to temporary modify 
the TCL_LIBRARY environment variable.

Also, it would be really nice if the contents of 
OPTDEFINES was also in the tclConfig.sh file, which 
contain a lot of fun things, such as:

*** Optional defines are '-
DTCL_CFGVAL_ENCODING=\"cp1252\" -
DTCL_MEM_DEBUG -DTCL_COMPILE_DEBUG -
DTCL_COMPILE_STATS -DTCL_THREADS=1 -
DUSE_THREAD_ALLOC=1 -DUSE_THREAD_STORAGE=1 -
DTCL_CFG_DEBUG -DTCL_CFG_PROFILED'

Error message:

Creating tclConfig.sh
application-specific initialization failed: Can't find a 
usable init.tcl in the
following directories:
    F:/tcl/Tcl8.5a2/tcl/win/lib/tcl8.5 {C:\Program 
Files\Tcl\lib\tcl8.5}



This probably means that Tcl wasn't installed properly.

installing tclConfig.sh
.\Debug\tclConfig.sh
1 File(s) copied
patthoytsplain2004-06-23 17:32:27
Logged In: YES 
user_id=202636

This will be my fault ;)
patthoytsplain2004-06-24 02:18:04
Logged In: YES 
user_id=202636

Added a TCL_LIBRARY def before calling the interpreter.

I don't know about the OPTDEFINES stuff though. The point of
this was to get the file generated as is done if you build
tcl with the autoconf based build system. This means that
you can later use autoconf'd extensions. Its not likely to
be very useful to have stuff thats only in if built with nmake.
Log in (anonymous is fine) to add a comment.