|
From: Maurice L. <mj...@ga...> - 2002-01-30 08:16:18
|
Alan W. Irwin writes:
> The compile farm sparc
>
> (uname -a
> SunOS usf-cf-sparc-solaris-2 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-60)
>
> had Tcl/Tk 8.3, but the names of the libraries were libtcl8.3.so and
> libtk8.3.so so our configuration could not find them.
I view this as more the fault of the Tcl/Tk install target, which does not
create generically named symlinks (i.e. tclsh -> tclsh8.3, etc). I ended up
writing a script that generates all the required symlinks so I never have to
worry about it again. I guess I could commit it to the plplot tree if anyone
wants it.
naka-spf$ ~/dev/gts/n64/tools/setup_tklinks -h
Usage:
setup_tklinks [options]
Options:
-h Write usage message
-n Print action without actually doing anything
-x Sets xtrace option
Sets up links from specifically versioned Tcl/TK/iTcl/iTk libraries & binaries
to generically named ones. You'd think the stock Tcl/etc install target would
do this. On Linux, you can use 'ldconfig', but that's not intended for
user-installed libraries.
Must be run from the $prefix dir. Clobbers any previous generic file links.
I don't want to get too fancy so just hardcode the version numbers. Currently
set to:
Tcl/Tk 8.3
iTcl 3.2
naka-spf$ ~/dev/gts/n64/tools/setup_tklinks -n
linking libtcl.so to libtcl8.3.so
linking libtclstub.a to libtclstub8.3.a
linking libtk.so to libtk8.3.so
linking libtkstub.a to libtkstub8.3.a
linking libitcl.so to libitcl3.2.so
linking libitclstub.a to libitclstub3.2.a
linking libitk.so to libitk3.2.so
linking libitkstub.a to libitkstub3.2.a
linking tclsh to tclsh8.3
linking wish to wish8.3
--
Maurice LeBrun mj...@ga...
|