Skip to content
Tcl Source Code View Ticket
Login

View Ticket

"make test" failure with tcltest package

Closed / Works For Me453867ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-21 17:31:18
Greetings!

I have been asked to install tcl on a Solaris 2.6 Sun Ultra box running gcc 2.95.2.  I ran configure 
successfully with the --enable-gcc flag.  I then was successful in compiling tcl, with the exception 
of having to tweak the Makefile to resolve a few minor library parameter conflicts (i.e. between 
the 
generic ones supplied and those on my system.  However, when I run "make test" (as either a 
regular user of root) I get the following output saved with script.  I've tried expanding the PATH 
environment variable, copying the tcltest* files everywhere conceivable, linking everything, etc.


Script started on Mon Aug 20 14:42:36 2001
$ make test
if test ! -f tclsh; then make tclsh; else true; fi
cd dltest; PATH=..:/usr/bin::/usr/local/bin:/usr/ccs/bin:. TCL_LIBRARY=../../library make
make[1]: Entering directory `/usr/local/src/tcl8.3.3/unix/dltest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/tcl8.3.3/unix/dltest'
gcc -pipe -lsocket  tclTestInit.o tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThreadTest.o
tclUnixTest.o -L/usr/local/src/tcl8.3.3/unix -ltcl8.3 -ldl  -lm -lc \
-Wl,-R,/usr/local/lib -o tcltest
LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; \
LIBPATH=`pwd`:; export LIBPATH; \
SHLIB_PATH=`pwd`:; export SHLIB_PATH; \
TCL_LIBRARY="/usr/local/src/tcl8.3.3/library"; export TCL_LIBRARY; \
./tcltest ./../tests/all.tcl  
can't find package tcltest
    while executing
"package require tcltest"
    invoked from within
"if {[lsearch [namespace children] ::tcltest] == -1} {
    package require tcltest
    namespace import -force ::tcltest::*
}"
    (file "./../tests/all.tcl" line 12)
make: *** [test] Error 1
$ exit

script done on Mon Aug 20 14:42:43 2001


Frankly, it's got me stumped, so any help/suggestions/comments would be greatly appreciated.

Sincerely,

--- Doug
dgpplain2001-08-22 03:17:41
Logged In: YES 
user_id=80530


What are the contents of the directory

/usr/local/src/tcl8.3.3/library

?
hobbsplain2001-08-23 01:34:48
Logged In: YES 
user_id=72656

What were the "minor" changes mentioned?  There should be 
*zero* changes necessary to the build setup on Solaris with 
a correct gcc installation (this is a standard tested 
build, with Sol2.6).
hobbsplain2001-09-06 08:44:36
Logged In: YES 
user_id=72656

hmmm, no response, just closing this out after another 
successful make test run on Solaris 2.6.
Log in (anonymous is fine) to add a comment.