pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36207: gle won't build



>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
>Originator:     shinden%linux.pl@localhost
>Release:        
>Organization:
>Environment:
System: Linux morr-slack 2.6.18.8-smp #2 SMP Fri Mar 16 19:50:11 CDT 2007 i686 
pentium3 i386 GNU/Linux
Architecture: i686

Installed:
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.

>Description:
        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/libGL.so: undefined reference to `p
thread_key_create'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference to `p
thread_once'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference to `p
thread_getspecific'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference to `p
thread_setspecific'
collect2: ld returned 1 exit status


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




Home | Main Index | Thread Index | Old Index