Re: Failed build tkdesk-2.0 and Fedora RPM almost finished, once build error solved.
Brought to you by:
jchris
|
From: J. C. C. <jc...@zn...> - 2004-05-11 06:30:20
|
Gavin Henry wrote: > Dear all, > > I have had a request to build an RPM for tkdesk by one of my kind readers at > http://FedoraNEWS.org > > I am http://FedoraNEWS.ORG/ghenry > > I have an initial RPM spec file ready, that will be complete as soon as I can > sort out this build error. Cool! > > Can you help? Hope so. > > I get: > > gcc -o tkdesksh \ > tkAppInit.o libdesk/libdesk.a netscape-remote/libnetscape.a \ > blt/libBLT.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -L/usr/X11R6/lib > -lX11 -ldl -lieee -lm > blt/libBLT.a(bltUnixPipe.o)(.text+0x87): In function `CreateTempFile': > : warning: the use of `tmpnam' is dangerous, better use `mkstemp' > tkAppInit.o(.text+0xe7): In function `Tcl_AppInit': > : undefined reference to `Itcl_Init' > collect2: ld returned 1 exit status > make: *** [shell] Error 1 > > This is after running a standard ./configure with no options, then make. > > Thanks. > > P.S. This is Fedora Test3, with a 2.6.6 kernel, Athlon 2000XP and tk 8.4.5 > First of all, if you are using Tcl/Tk 8.4, you must have BLT 2.4z and you must use the --with-blt configure option: ./configure --with-blt=/usr/lib The next release of TkDesk will do a better job of finding BLT. More specific to your error, you do not appear to be linking against any Itcl library. Not sure how you managed to get it configured like that. That's odd. TkDesk requires Itcl. Is Itcl 3.2 available on Fedora? What did the summary at the end of the ./configure look like? Chris |