Re: tkined won't compile with linux

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Mon, 28 Aug 1995 12:58:06 +0200

Hi!

"Brevoort A.J.J" <A.J.J.Brevoort@research.ptt.nl> said:

Brevoort> I grabbed the tkined package from the net and tried to
Brevoort> compile it, under linux 1.2.11, tcl7.4 and tk4.0.

Brevoort> After unpacking, "configure" goes well, but "make"
Brevoort> won't complete the compilation, instead stops with the
Brevoort> following message:

Brevoort> ld: Output file requires shared library libtk.so.3
Brevoort> cc: Internal compiler error: program ld got fatal signal 6

Brevoort> Strangely enough there _is_ a /usr/lib/libtk.so.3 so I
Brevoort> think it is cheating me, so what is going wrong here?

I guess the problem comes from the BLT library (which is very likely
an old one based on tcl7.3/tk3.6. You can edit the Makefile to remove
-lBLT from the LIBS variable and you should also remove the -DHAVE_BLT
define from the CC_SWITCHES. Recompile tkined (make clean tkined) and
hopefully the problem is gone.

I added a --with-blt switch to the configure script so that the
default is now not to use blt (at least until there is an official blt
version based on tcl7.4/tk4.0).

Juergen