Joel Sherrill wrote:
Klaus Rudolph wrote:
Hi all,
actual cvs head could not build on SuSE10.3
cannot find -ltcl
SuSE comes with libtcl8.4.so
Is this from the link step?
Yes, this is in link stage.
Where is it installed? Don't you have libtcl.so somewhere?
No, SuSE comes with libtcl8.4.so
What libtcl* files do you have?
The autotools version is setup so it will build
simulavr.exe but no .so or the examples if it doesn't
find tcl. But it is based on testing for tcl.h and
assumes there is a libtcl to go along with it.
But obviously not in your case.
tcl is installed and tcl.h (/usr/include/) is available.
libtcl4.8 is located in (usr/lib)
I am wondering why simulavrxx itself try to link against ltcl???
The simulator needs no tcl at all. I think that must be removed.
The so-file needs tcl for the swig stuff which is needed by load from
tcl.
I will add a probe for various libtcl variants
and turn it into an autoconf variable. Just
tell me what is on your machine.
I hope you already have this info in my lines above?!
One test for libversion could be to ask tcl itself for the version!
in tclsh: info tclversion
returns the version number. On my system:
% info tclversion
8.4
Maybe you can add this to a check.
My config.h/Makefile uses: -ltcl$(TCL_VERSION)
Hope this helps!
Klaus