Subject: pkg/36207: gle won't build
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/24/2007 17:15:00
>Number:         36207
>Category:       pkg
>Synopsis:       gle won't build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 17:15:00 +0000 2007
System: Linux morr-slack #2 SMP Fri Mar 16 19:50:11 CDT 2007 i686 pentium3 i386 GNU/Linux
Architecture: i686

Mesa-6.4.2          Graphics library meta package, similar to SGI's OpenGL
MesaLib-6.4.2nb3    Graphics library similar to SGI's OpenGL
It's slackware-current.

	graphics/gle cannot be installed. configure fails with error:
checking for IceConnectionNumber in -lICE... yes
checking for glGetError in -lGL... no
configure: error: Cannot find required GL library
*** Error code 1

and config.log:
configure:9222: checking for glGetError in -lGL
configure:9253: gcc -o conftest -O2 -march=pentium3 -pipe -I/usr/local/include -
DGLX_GLXEXT_LEGACY -I/usr/include -Wall -I/usr/local/include -DGLX_GLXEXT_LEGACY
 -I/usr/include -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib 
conftest.c -lGL  -lSM -lICE  -L/usr/lib -lX11  -lXext -lm >&5
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/ undefined reference to `p
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/ undefined reference to `p
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/ undefined reference to `p
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/ undefined reference to `p
collect2: ld returned 1 exit status

	build graphics/gle on linux
	Adding LDFLAGS+= -lpthread works around that problem, but I don't think it's correct thing.