I'm trying to install Tcl/Tk 8.0 on a Sun Ultra Solaris 2.5 so that I can
install & use Scotty. I've pulled down (from the local Sunsite mirror) the
SUNWtcl/tk packages and done pkgadd -d SUNWtcl/tk etc to install them:
pkgadd put them in /opt/SUNWtcl and I moved them to a big partition with a
symlink from /opt/SUNWtcl to keep everything happy. I can run
/opt/SUNWtcl/bin/wish8.0 and do "Hello World" on the canvas so it looks as
if it's working.
I thought I'd symlink /usr/local/wish -> /opt/SUNWtcl/8.0/bin/wish8.0
to put it in my path but that didn't work: I got
/usr/local/wish: /opt/sun4/bin/wish8.0: not found
which seemed to be to do with the sh script that is really wish trying to
work out where everything is. I created a sun4/ directory under /opt
(there wasn't one on our system) and symlinked /opt/SUNWtcl/8.0/bin ->
/opt/sun4/bin and now that works, but it doesn't feel right :-|
When I try to install scotty, ./configure complains:
configure: error: tclConfig.sh not found - use the --with-tcl-config
option.
Before I try that, however, I'd like to sort out just how I should have
Tcl/Tk installed. The pkgadd installation left me with no installation
information, just bin/ include/ lib/ man/ and sun4/bin/ and lib/
directories.
I guess pkgadd and the Tcl/Tk package should attempt to put everything in
certain 'correct' places on the system, just that I don't know where they
should be ....
What is good practice? Do I need to include /opt/SUNWtcl/8.0/bin in my
path? Do I need to set other environment variables to let Scotty etc know
where Tcl/Tk libraries etc are?
Should I just uninstall the pkgadd-ed installation, pull down the sources
and compile? Would that put everything in the right place?
tia,
-- John Stumbles j.d.stumbles@reading.ac.uk Computer Services, University of Reading http://www.rdg.ac.uk/~suqstmbl +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ If a job's worth doing, it'll still be worth doing tomorrow.
-- !! 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.