Subject: Re: tcl-8.4.6 compile errors - tk too!
To: None <tech-pkg@netbsd.org>
From: David Howland <metalliqaz@hotmail.com>
List: tech-pkg
Date: 03/23/2004 22:42:03
After tcl installed, the compile of tk also failed with a bunch of errors
mentioning pthreads.  I tried the same fix you suggested, and I think the
compile got further, but now I get a new error:

===================8<========================
gcc -pipe -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib
tkAppInit.o -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/wish

/.libs/libtk84.so -L/usr/pkgsrc/x11/tk/work/.buildlink/lib -ltclstub84 -L/u
sr/pkgsrc/x11/tk/work/.x11-buildlink/lib
/usr/pkgsrc/x11/tk/work/.buildlink/lib/libtcl84.so
/usr/pkgsrc/x11/tk/work/.buildlink/lib/libpthread.so -lX11 -lm -Wl,--rpath -
Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkgsrc/x11/tk/work/.buildlink/lib
/.libs/libtk84.so: undefined reference to `fixstrtod'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/tk/work/tk8.4.6/unix
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/tk
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/tk
===================8<========================

I have no idea what this one needs.  Again, this is the newest pkgsrc from
anoncvs.  Same machine.
Doesn't anyone else have these problems?  I can't be the only one.  Is
tcl/tk supposed to depend on pthreads?

-d