KONOVALOV, Vadim (Vadim)** CTR ** wrote:
Jeff Hobbs wrote:
Brian Bevins wrote:
So Tcl.so wants to implicitly load the same libtcl8.4.so as our
tclsh. Somehow tclsh is making TclpRealloc available to BLT, but
Tcl.so doesn't unless I explicitly load libtcl8.4.so after it.
OK, and the solution is then to use a --usestubs build Tcl.so then,
correct? This really should be the default.
Yes, --usestubs plus explicitly specifying LIB_RUNTIME_DIR makes
everything work as expected. --usestubs does not appear to be the
default. Line 16 of Makefile.PL:
my $usestubs = 0;
And --usestubs by itself causes the use of some sort of local copy of
tcl-core. Everything I have tried besides BLT seems to work with the
defaults (without --usestubs).
I'm glad the issue is resolved,
just for the records, BLT on Windows w/o stubs is fine.
I guess we'll include a fix based on your experience for Tcl with BLT on linux.
If I can be of any help with this, e.g. testing, please let me know.
Also, I think I'll package some 'snit' version for Tcl::Tk and release both
packages within may be a week, so you'll not have trouble with downgrading to
0.92 version.
I don't think there was a problem with snit. The thing that forced us to use an
older version of Tcl::Tk was that our perl is so old (5.8.2) that the Exporter
lacks the import method, which was added with perl 5.8.3.
Thanks,
--Brian
--
Brian S. Bevins, PE
Computer Scientist / Mechanical Engineer
Thomas Jefferson National Accelerator Facility
"Progress, far from consisting in change,
depends on retentiveness. Those who cannot
remember the past are condemned to repeat it."
-- George Santayana