[GRASS5] Tcl8.4 support?

Glynn Clements glynn.clements at virgin.net
Tue Sep 16 23:48:24 EDT 2003


Hamish wrote:

> > FWIW, does libtcl itself have a dependency upon libpthread
> > (according to ldd)? Or, for that matter, libGL?
> 
> Yes & yes.

> > One other thing which might be instructive would be to build your own
> > tclsh and/or wish executables (the source code for these programs is
> > normally installed as e.g. /usr/lib/tcl8.4/tclAppInit.c and
> > /usr/lib/tk8.4/tkAppInit.c), both with and without -lpthread, and see
> > how "exec" behaves. If libtcl doesn't have a dependency upon
> > libpthread, but a self-built tclsh/wish doesn't work without you
> > adding -lpthread to the link command, that suggests that libtcl needs
> > to have that dependency added.
> 
> That will have to wait until next week, but libtcl has it ..

In which case, that test isn't likely to be useful.

OTOH, if you have the tkAppInit.c files for both 8.3 and 8.4, it might
be worth seeing if anything has changed (e.g. if you are supposed to
do some extra initialisation for 8.4).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list