Tk Source Code

View Ticket
Login
Ticket UUID: 508677
Title: threaded wish, Solaris 8, Workshop 6 bad
Type: Bug Version: obsolete: 8.4a4
Submitter: dgp Created on: 2002-01-25 20:57:15
Subsystem: 84. Unix Build Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-01-26 04:03:54
Resolution: Invalid Closed By: dgp
    Closed on: 2002-01-25 21:03:54
Description:
First built and tested Tcl with --disable-shared,
--enable-threads.

Then in Tk, using the Sun Workshop 6 C compiler:

$ mkdir solaris
$ cd solaris
$ setenv CC cc
$ ../unix/configure --disable-shared --enable-threads
--with-tcl=../../tcl/unix
...
$ make
...
cc  tkAppInit.o \
        -L/local/src/tk/solaris -ltk8.4 \
        -L/local/src/tcl/unix -ltcl8.4  -lsocket -lnsl
-lpthread -L/usr/openwin/lib -lX11 -ldl -lm
-Wl,-rpath,/usr/local/lib:/usr/openwin/lib -o wish
ld: fatal: file /usr/local/lib:/usr/openwin/lib: open
failed: No such file or directory

Something wrong with TK_CC_SEARCH_FLAGS ?  Not
matching what the compiler expects?
User Comments: dgp added on 2002-01-26 04:03:22:
Logged In: YES 
user_id=80530

Never mind.  Pilot error.  Bad --with-tcl option.