Subject: gle and -lGL
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 11/29/2006 23:55:31
Hi,

I'm having trouble building graphics/gle on Linux (Slackware 10.2). This
is also pkgsrc-2006Q3...


checking for X... libraries /usr/pkg/xorg/lib, headers /usr/pkg/xorg/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glGetError in -lGL... no
configure: error: Cannot find required GL library
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/gle


... but the GL libs are in the .buildlink directory...

sh-3.00# ls -l /usr/pkgobj/graphics/gle/work/.buildlink/lib/*GL*
lrwxrwxrwx  1 root root   20 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.a -> /usr/pkg/lib/libGL.a
-rw-r--r--  1 root root  870 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.la
lrwxrwxrwx  1 root root   21 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.so ->
/usr/pkg/lib/libGL.so
lrwxrwxrwx  1 root root   23 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.so.1 ->
/usr/pkg/lib/libGL.so.1
lrwxrwxrwx  1 root root   27 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.so.1.0.5 ->
/usr/pkg/lib/libGL.so.1.0.5
lrwxrwxrwx  1 root root   30 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGL.so.1.2 ->
/usr/pkg/xorg/lib/libGL.so.1.2
lrwxrwxrwx  1 root root   21 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.a ->
/usr/pkg/lib/libGLU.a
-rw-r--r--  1 root root 1007 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.la
lrwxrwxrwx  1 root root   22 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.so ->
/usr/pkg/lib/libGLU.so
lrwxrwxrwx  1 root root   24 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.so.1 ->
/usr/pkg/lib/libGLU.so.1
lrwxrwxrwx  1 root root   28 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.so.1.0.3 ->
/usr/pkg/lib/libGLU.so.1.0.3
lrwxrwxrwx  1 root root   31 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLU.so.1.3 ->
/usr/pkg/xorg/lib/libGLU.so.1.3
lrwxrwxrwx  1 root root   21 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.a ->
/usr/pkg/lib/libGLw.a
-rw-r--r--  1 root root  887 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.la
lrwxrwxrwx  1 root root   22 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.so ->
/usr/pkg/lib/libGLw.so
lrwxrwxrwx  1 root root   24 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.so.1 ->
/usr/pkg/lib/libGLw.so.1
lrwxrwxrwx  1 root root   31 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.so.1.0 ->
/usr/pkg/xorg/lib/libGLw.so.1.0
lrwxrwxrwx  1 root root   28 2006-11-30 04:42
/usr/pkgobj/graphics/gle/work/.buildlink/lib/libGLw.so.1.0.0 ->
/usr/pkg/lib/libGLw.so.1.0.0
sh-3.00#


Any idea what's going on??

Louis