ActiveState Community

TclDevKit Install Issue? tbcload unknown when compiling startkit in tclapp

Posted by KeithSchneider on 2007-02-18 19:04

Using my TclDevStudio-Pro license, Ive installed TclDevKit 3.2 and Komodo 3.5 and ActiveTcl 8.4.13.0.261555 on a Fedora Core 6 system.

I have a standalone windows Tcl/TK application that I have developed and built/wrapped with compiled Tcl scripts on Windows -- all with no problems - just Great!!!

Now I'm trying to build the same application on Linux and I have problems.

First, when I check the box to compile tcl scripts in tclapp to build a full standalone executable, and I then wrap the executable, it complains that tbcload is unknown. This is my main show stopper problem.

Second, when I first ran tclapp and tried to lookup packages to include in my build, I only got about 3 items in the list! I'm accustomed to many! So I used preferences and added /usr/local/ActiveTcl/lib to the package search list and now I have many. Was this the correct way to get them or was there supposed to be something during install that was supposed to be done - by me or the installer????? Seems to me like the TclDevKit install did not integrate to the ActiveTcl install???????

After the software install, I edited /etc/profile to add the following lines:

pathmunge /usr/local/ActiveTcl/bin
pathmunge /usr/local/TclDevKit/bin
pathmunge /opt/Komodo-3.5/bin
export MANPATH="/usr/local/ActiveTcl/man:$MANPATH"
export MANPATH="/usr/local/TclDevKit/man:$MANPATH"

Yielding a PATH in a shell window as:
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/opt/Komodo-3.5/bin:/usr/local/TclDevKit/bin:/usr/local/ActiveTcl/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/kas/bin

Please help so I can compile my Tcl code into a standalone executable program like I've done for Windows.

Thanks in advance,
Keith

KeithSchneider | Mon, 2007-02-19 12:31

I looked at the preferences in tclapp on Windows and see that there are two entries in there for searching the ActiveTcl lib for packages. One as I listed above and another that includes searching into tcl8.4 (where tbcload is). So it seems that both my issues are resolved now.

I guess I sort of assumed that the two entries would be put there for me just like it does automatically on a Windows install. This is good or bad depending on your POV. :-)