Tcl Source Code

View Ticket
Login
Ticket UUID: 3184384
Title: The thread package can't be installed on SunOS
Type: Bug Version: obsolete: 8.4.19
Submitter: bettywutao Created on: 2011-02-17 02:24:02
Subsystem: 49. Threading Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Open Last Modified: 2011-02-25 10:14:15
Resolution: None Closed By:
    Closed on:
Description:
Sorry to create a new one as I can't find how to re-open the former one 3181635. And I sent a message to hobbs yesterday, but no response. As we are really eager to solve this issue, I have no other choice but open a new bug.

I read the comments in 3181635, but we have already compiled the core with --enable-threads, and tried on 8.4.19 again, but the result is the same after install: Tcl core wasn't compiled for threading. 

And I noticed that there are some error messages in the config.log, 
such as "ac_nonexistent.h: No such file or directory", does that matter?

Here attached the config.log for thread.
User Comments: bettywutao added on 2011-02-25 10:14:15:
It seems all because of the tcl_pkgPath setting. It is likely to get only one path from env variable LD_LIBRARY_PATH. Unfortunately, it points to the old tcl library. When I forced the LD_LIBRARY_PATH to the newly build library, the thread package can work then!

bettywutao added on 2011-02-18 09:31:01:
Thanks for your information. I will check it more carefully, and update with the results here later.

Thank you!

dkf added on 2011-02-17 16:44:46:
And the config.log looks OK to me. No surprises.

dkf added on 2011-02-17 16:40:17:
You've compiled Tcl with threading turned on but the extension claims otherwise when you do a [package require]? Guess that means that the build of the interpreter being *actually* used isn't the one you made, but is instead being picked up from somewhere else. Which is nasty. Solve that first. (A tool like 'ldd' can say where shared libraries are being loaded from.)

bettywutao added on 2011-02-17 09:24:02:

File Added - 401914: config.log

Attachments: