- tcl, tk and scotty (tnm) are "tar -xvf"ed into "sibling" directories. tcl
makes and installs clean after configure as follows (from
/home/usr/kplourd/tcl8.0.5):
unix/configure --enable-gcc --prefix=/home/usr/kplourd/scotty
- tcl works when invoked.
- tk does a make and install cleanly, if I include a
"--with-tcl=/home/usr/kplourd/tcl8.0.5" option for "configure", from the
/home/usr/kplourd/scotty/tk8.0.5 directory. (I don't use tk in my scripts, but
the compile doesn't complain,either.)
- scotty makes fine, but "make install" fails according to the following:
Installing scotty2.1.8 and tnm2.1.8.so
Installing unix/../tnm/library/README
Installing unix/../tnm/library/dialog.tcl
Installing unix/../tnm/library/output.tcl
Installing unix/../tnm/library/snmp.tcl
Installing unix/../tnm/library/monitor.tcl
Installing unix/../tnm/library/obsolete.tcl
Installing unix/../tnm/library/init.tcl
initialization failed: couldn't load file
"/home/usr/kplourd/scotty/lib/tnm2.1.8.so": ld.so.1: ./scotty: fatal: relocation
error: file /home/usr/kplourd/scotty/lib/tnm2.1.8.so: symbol Tcl_SetVar2:
referenced symbol not found
*** Error code 1
make: Fatal error: Command failed for target `tnm-install-library'
- The referenced symbol is declared in tcl.h in directory
/home/usr/kplourd/scotty/tcl8.0.5/generic. tnm2.1.8.so exists where indicated
with 555 permissions. ld.so.1 exists in the /usr/lib directory. Following are
pertinent portions of my unchanging environment:
PATH=/usr/bin:/usr/lib:/home/usr/kplourd/scotty/bin:/home/usr/kplourd/bin:/usr/ccs/bin
SHELL=/bin/tcsh
HOSTTYPE=sun4
VENDOR=sun
OSTYPE=solaris
MACHTYPE=sparc
PWD=/home/usr/kplourd/scotty/scotty-2.1.8
MANPATH=/usr/man:/home/local/sun4x_56/man
TCLLIBPATH=/usr/lib:/home/usr/kplourd/scotty/lib/tcl8.0:/home/usr/kplourd/scotty/lib/tk8.0:/home/usr/kplourd/scotty/lib/tnm2.1.8
LD_LIBRARY_PATH=/home/usr/kplourd/scotty/lib:/usr/lib
- A similar installation on a similar system (Ultra 1/Solaris 2.6) works fine.
It differs in that it used gcc 2.7.2.3 and tcl/tk 8.0. The directory structure
was different, too.
- I have been on the list for some time and appreciate the candid and helpful
responses to queries on this forum. I'm hoping you or a reader has insight.
Thanks.
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.