[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solaris binary init.tcl problem
From: |
Joe! |
Subject: |
Re: solaris binary init.tcl problem |
Date: |
Thu, 14 Aug 1997 09:54:20 -0400 (EDT) |
On Thu, 14 Aug 1997, Steve Emsley wrote:
> I've just installed the solaris binary on my department's network. Heatbugs
> compiled and ran in batchmode fine. However, I have received the familiar
> error (at least judging from the mailing list archive):
>
> error: TkExtra (instance)
> Can't find a usable init.tcl in the following directories:
> /bio/gen/sme/swarm-1.0.1/lib /usr/local/lib/tcl7.5 ./lib/tcl7.5
> ./tcl7.5/library ./library
> This probably means that Tcl wasn't installed properly.
>
> while executing
> "error $msg"
> (procedure "init" line 30)
> invoked from within
> "init"
> Abort (core dumped)
>
> However, init.tcl *IS* in /bio/gen/sme/swarm-1.0.1/lib and I have set the
> environment variables: TCL_LIBRARY, TK_LIBRARY, BLT_LIBRARY to point to that
> directory (the env command confirms this) as well as SWARMHOME to it's parent.
I encountered this too when I first loaded the Swarm binaries on our own
Solaris 2.4 machine. I eventually found that the makefiles (or runtime
stuff... I installed this a while ago, and can't remember exactly) are
looking in the wrong places for the tcl/tk libs and includes. Here's an
ls of my own /usr/local/bin, /usr/local/include, and /usr/local/lib
directories:
/usr/local/bin/:
total 2148
lrwxrwxrwx 1 root other 10 May 7 18:35 tclsh -> ./tclsh7.5
-rwxr-xr-x 1 root other 268384 May 7 18:17 tclsh7.5
lrwxrwxrwx 1 root other 9 May 7 18:35 wish -> ./wish4.1
-rwxr-xr-x 1 root other 805164 May 7 18:24 wish4.1
/usr/local/include/:
total 200
-rw-r--r-- 1 root other 2471 May 7 18:46 Tcl.h
-rw-r--r-- 1 root other 1222 May 7 18:46 Tk.h
-rw-r--r-- 1 root other 40634 May 7 18:17 tcl.h
-rw-r--r-- 1 root other 2132 May 7 18:46 tclObjc.h
-rw-r--r-- 1 root other 52481 May 7 18:24 tk.h
/usr/local/lib/:
total 3440
-rw-r----- 1 root other 29778 Apr 23 13:39 libafp.a
-rw-r----- 1 root other 22624 Apr 23 13:39 libafpc.a
-rw-r----- 1 root other 174914 Apr 23 13:39 libcap.a
lrwxrwxrwx 1 root other 13 May 7 18:37 libtcl.a -> ./libtcl7.5.a
-r-xr-xr-x 1 root other 429326 May 7 18:17 libtcl7.5.a
-rw-r--r-- 1 root staff 205268 May 7 18:46 libtclobjc.a
lrwxrwxrwx 1 root other 12 May 7 18:37 libtk.a -> ./libtk4.1.a
-r-xr-xr-x 1 root other 834864 May 7 18:24 libtk4.1.a
drwxr-xr-x 2 root other 512 May 7 18:17 tcl7.5
-rw-r--r-- 1 root other 3731 May 7 18:17 tclConfig.sh
drwxr-xr-x 2 root other 512 May 7 18:24 tk4.1
-rw-r--r-- 1 root other 1742 May 7 18:24 tkConfig.sh
In short, the makefiles or runtime stuff didn't like that the version
numbers were attached to the various filenames. Since I wanted to keep
the version numbers (admin type thing...), I created some soft links to
the appropriate files, using the appropriate names for the links. I
haven't had any problems since.
I'm sure there are other ways around this... you're milage may vary.
Whatever the case, just don't take my word for it and repeat it blindly.
-With best wishes,
-Joseph Rose
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( Joseph Rose University of Massachusetts at Boston )
( Phone: 617-287-6659/6579 Department of Biology )
( Fax: 617-287-6650 100 Morrissey Blvd., Boston, MA 02125 )
( address@hidden http://www.cs.umb.edu/~jrose/bookmarks.html )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================