Forum OpenACS Q&A: tcl platform not threaded

Collapse
Posted by Mark Marihugh on
I installed tcl8.4.9 and ran the make install and everything went fine. After I rebooted, I tried the info exists tcl_platform(threaded) command and it still showed "0" and info patchlevel returned 8.3.3.

How do I get this to work?

Thanks!

Collapse
Posted by Dave Bauer on
Do you have more than one Tcl install on your machine? Make sure you are checking the right installation.

Also how did you configure the tcl8.4.9?

Collapse
Posted by Mark Marihugh on
Thanks for the reply Dave. I did this to install tcl8.4.9:

[root root]# cd /usr/local/src
[root src]# wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.9-src.tar.gz
[root src]# tar xfz tcl8.4.9-src.tar.gz
[root src]# cd tcl8.4.9/unix
[root unix]# ./configure --enable-threads
[root unix]# make install

As far as if I have more than one install, I don't know how to tell.

Thanks!

Collapse
Posted by Mark Marihugh on
Got openacs up and running so apparently it's working.

Thanks!

Collapse
Posted by Mark Aufflick on
try:

# locate tclsh

You will likely see a few (including one in your compile directory) - if you have trouble figuring out what different ones you have installed, post the output here.

If you have two and OpenACS works, then the AOLServer config must luckily look for libs in the newer directory first.

Collapse
Posted by Steve Manning on
Also:

which tclsh

will tell you the default tclsh thats sitting in your path. If this is a typical Linux distro that your using then its likely to have installed a tcl package to fulfill dependencies for other packages. Its probably one of those your seeing.

- Steve

Collapse
Posted by Ashwin Kumar on
Hey ,
Probably u've installed tcl twice.
I mean 2 different paths exists.

So type "whereis tclsh" then u're able
to get diff. path installations of TCLSH

use appropriate one to login in TCLSH.

ex: /usr/local/tclsh or whereever it is installed

and test so called command
"info exists tcl_platform(threaded)"

Ashwin

Collapse
Posted by Deds Castillo on
As a note, if you do you have two versions of tcl installed you can do an "ldd /path/to/aolserver/bin/nsd" and examine the .so it's linking too.