pkgsrc-Users archive

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

Re: Re: graphics/gle: configure: error: Cannot find required GL library



On Wed, Mar 26 2008 - 19:57, Juan RP wrote:
> On Wed, 26 Mar 2008 19:53:52 +0100
> Joel CARNAT <joel%carnat.net@localhost> wrote:
> 
> > Hello,
> > 
> > Using 4.99.55/i386 with modular-xorg and wip/Mesa (on pkgsrc HEAD), I
> > get the following error on graphics/gle (meta-pkgs/kde3 dependancy):
> > 
> > checking for memcpy... yes
> > checking for X... libraries , headers 
> > 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
> 
> Look at ${WRKSRC}/config.log, probably it needs to be linked
> to libpthread or such (I had this problem when I was using

log says:
configure:9253: cc -o conftest -O2 -I/usr/pkg/include
-DGLX_GLXEXT_LEGACY -I/usr
/include -Wall -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-L/usr/pkg/
lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lGL  -lSM
-lICE  -l
X11  -lXext -lm >&5
/tmp/pkgwork/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `
pthread_getspecific'
configure:9256: $? = 1
configure: failed program was:


> the mesa packages from wip).

I tried adding '.include "../../mk/pthread.buildlink3.mk"' to the Makefile
but the error is still there. This obviously means I'm not doing it the
right way :-)

Is there more to do that just set the right include in the Makefile ?

TIA,
        Jo

Attachment: pgpXUPUEgW04B.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index