Subject: Re: gle 3.0.3 fail to compile under current pkgsrc
To: Jan Schaumann <email@example.com>
From: Mark Kirby <firstname.lastname@example.org>
Date: 01/11/2004 16:30:23
Jan Schaumann wrote:
>Mark Kirby <email@example.com> wrote:
>>The relevent part of config .log says:-
>>configure:3075: checking for glGetError in -lGL
>>configure:3094: cc -o conftest -O2 -DGLX_GLXEXT_LEGACY
>>-I/usr/pkg/include -I/usr/X11R6/include -Wall -DGLX_GLXEXT_LEGACY
>>-I/usr/pkg/include -I/usr/X11R6/include -L/usr/pkg/lib
>>-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c
>>-lGL -lSM -lICE -lXmu -L/usr/X11R6/lib -lX11 -lm 1>&5
>>reference to `XShmDetach'
>>so i'm guessing the undefined references need to be dealt with?
>Exactly. My guess is that
>/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so doesn't point to
>the right libGL. That is, it probably points to /usr/X11R6/lib/libGL.so
>instead of /usr/pkg/lib/libGL.so. I wouldn't know why that happened,
>though. Are you sure that pkgsrc/graphics/gl* and pkgsrc/graphics/Mesa*
>are all up to date?
Ok i updated pkgsrc a few mins ago.
tried to build gle but it failed the same way.
then i checked /gle/work/.buildlink/lib/libGL.so
libGL.so : symbolic link to /usr/pkg/lib/libGL.so
gl, and Mesa are up to date as they were built yesterday from a pkgsrc
updated the same day.