Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-02-25
10:14 • Ticket [3184384fff] The thread package can't be installed on SunOS statu... artifact: 3778f36980 user: bettywutao
2011-02-18
09:31 • Ticket [3184384fff]: 4 changes artifact: 9e1e474bff user: bettywutao
2011-02-17
16:44 • Ticket [3184384fff]: 4 changes artifact: 2bfe7f0f82 user: dkf
16:40 • Ticket [3184384fff]: 5 changes artifact: ed775774fa user: dkf
09:24 • Ticket [3184384fff]: 4 changes artifact: fbf0576623 user: bettywutao
09:24 • Add attachment config.log to ticket [3184384fff] artifact: 3ed998d828 user: bettywutao
02:24 • New ticket [3184384fff] The thread package can't be installed on SunOS. artifact: 851c41306e user: bettywutao

The thread package can't be installed on SunOS

Open3184384fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2011-02-17 02:24:02
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.
bettywutaoplain2011-02-17 09:24:02
File Added - 401914: config.log
dkfplain2011-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.)
dkfplain2011-02-17 16:44:46
And the config.log looks OK to me. No surprises.
bettywutaoplain2011-02-18 09:31:01
Thanks for your information. I will check it more carefully, and update with the results here later.

Thank you!
bettywutaoplain2011-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!
Log in (anonymous is fine) to add a comment.

Attachments: