Subject: Re: gle 3.0.3 fail to compile under current pkgsrc
To: Jan Schaumann <jschauma@netmeister.org>
From: Mark Kirby <mark@coris.org.uk>
List: current-users
Date: 01/11/2004 11:56:09
Sorry if this is a duplicate it didn't appear to send.
Mark
Jan Schaumann wrote:
>Mark Kirby <mark@coris.org.uk> wrote:
>
>
>
>>it runs through the configuration then bails at the following:
>>
>>-snip-
>>checking for IceConectionNumber in -lICE... yes
>>checking for XmuLockupStandardColormap in -lXmu... yes
>>checking for glGetError in -lGL... no
>>configure: error: Cannnot find required GL library
>>-snip-
>>
>>
>
>Take a look at config.log in the packages work directory. See what it
>says the error is, what the compile time flags are etc.
>
>-Jan
>
>
>
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
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `XShmDetach'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `XShmCreateImage'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `XShmPutImage'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `XShmAttach'
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
reference to `XShmQueryVersion'
configure: failed program was:
#line 3083 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glGetError();
int main() {
glGetError()
; return 0; }
so i'm guessing the undefined references need to be dealt with?
Mark