[Scilab-Dev] Tcl/Tk 8.5 has been released

François Vogel fvogelnew1 at free.fr
Thu Dec 27 21:10:56 CET 2007


Sylvestre Ledru said on 26/12/2007 23:59:
> If tcl8.4 and tcl8.5 are available on the system, it will use (or at
> least try) the version 8.5 under Linux/Unix.
> I also made some cleanup. I may have broke some stuff.

Did you try to actually compile with Tcl/Tk 8.5 on Linux or did you 
stop at updating the configure scripts?

For me, I configure the following way (those directories contain 
version 8.5 of Tcl and Tk):

./configure --with-tcl-library=/usr/local/lib 
--with-tk-library=/usr/local/lib
--with-tcl-include=/usr/local/include --with-tk-include=/usr/local/include

and configure is happy with this AFAIK. Here is the relevant part of 
the config.log:

checking for header file tcl.h... found in /usr/local/include
checking if tcl is version 8.4 or later... (8.5) yes
checking for tcl library tcl8.5... found /usr/local/lib/libtcl8.5.so using
-L/usr/local/lib -ltcl8.5
checking for Tcl_DoOneEvent in -ltcl8.5... yes
checking for header file tk.h... found in /usr/local/include
checking if tk is version 8.4 or later... (8.5) yes
checking for tk library tk8.5... found /usr/local/lib/libtk8.5.so using
-L/usr/local/lib -ltk8.5
checking for Tk_BindEvent in -ltk8.5... yes


Then make all runs (for ages) and finally ends with:

make[1]: Leaving directory `/home/francois/scilab/trunk/scilab/modules'
make[1]: Entering directory `/home/francois/scilab/trunk/scilab'
./bin/scilab -ns -nwni -f 
modules/functions/scripts/buildmacros/buildmacros.sce
/home/francois/scilab/trunk/scilab/.libs/lt-scilab-bin: error while 
loading
shared libraries: libtk8.5.so: cannot open shared object file: No such 
file or
directory
make[1]: [macros] Error 127 (ignored)
make[1]: Leaving directory `/home/francois/scilab/trunk/scilab'


But libtk8.5.so really is in /usr/local/lib
The configure script found it and I checked manually that it is here.

So what could be wrong?

Thanks,
Francois



More information about the dev mailing list