Re: Failed build tkdesk-2.0 and Fedora RPM almost finished, once build error solved.
Brought to you by:
jchris
|
From: Gavin H. <gh...@su...> - 2004-05-11 07:36:53
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 11 May 2004 07:30, you wrote: > Gavin Henry wrote: > > Dear all, > > > > I have had a request to build an RPM for tkdesk by one of my kind reade= rs > > 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! No problems. Would you like the final RPM? > > > 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=3D/usr/lib > > The next release of TkDesk will do a better job of finding BLT. OK, will try. > > 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 I will post this later today. =2D --=20 Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 587369 M +44 (0) 7930 323266 =46 +44 (0) 1224 742001 E gh...@su... Open Source. Open Solutions. http://www.suretecsystems.com/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAoIKweWseh9tzvqgRAm1hAKCFgzJ4nIv7bil6lKKozSc5ppuoaQCgoZ6p d26CN8cJqjhFh1KrfTLd56o=3D =3DWdKb =2D----END PGP SIGNATURE----- |