Subject: pkg: building libGLU fails
To: NetBSD Current Users <current-users@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 10/07/2003 15:53:10
'kay, I'm obviously doing something wrong with this; I've got

PREFER_NATIVE_PTHREADS?=YES

set in /etc/mk.conf (along with other things, none GL-related or gcc-
related...).

Trying to build pkgsrc/graphics/glu.  It insists on finding a libpthread.la.

gcc 3.3.1, userland -current (2003/9/30), kernel -current (2003/10/4).

/bin/sh ../libtool --mode=link cc  -O2  -O2  -march=athlon-xp -DGLX_GLXEXT_LEGACY -I/usr/local/include -I/usr/X11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/X11/lib -Wl,-R/usr/X11/lib -o libGLU.la -rpath /usr/local/lib -version-info 2:501:1 -L../src glu.lo mipmap.lo nurbs.lo nurbscrv.lo nurbssrf.lo nurbsutl.lo polytest.lo project.lo quadric.lo tess.lo tesselat.lo -lGL
*** [buildlink2] Warning: libtool detected -L../src
grep: /.amd/rivendell/.../pkgsrc/graphics/glu/work.i386/.buildlink/lib/libpthread.la: No such file or directory
sed: /.amd/rivendell/.../pkgsrc/graphics/glu/work.i386/.buildlink/lib/libpthread.la: No such file or directory
libtool: link: `/.amd/rivendell/.../pkgsrc/graphics/glu/work.i386/.buildlink/lib/libpthread.la' is not a valid libtool archive
gmake: *** [libGLU.la] Error 1
*** Error code 2

Stop.
make: stopped in /usr/src/pkg/graphics/glu
*** Error code 1

Stop.
make: stopped in /usr/src/pkg/graphics/glu



				--*greywolf;
--
NetBSD: For The Network Generation