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/13/2004 20:26:18
Jan Schaumann wrote:

>Mark Kirby <mark@coris.org.uk> wrote:
>  
>
>>Jan Schaumann wrote:
>>
>>    
>>
>>>Mark Kirby <mark@coris.org.uk> 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
>>>>/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
>>>>reference to `XShmDetach'
>>>>        
>>>>
>
>  
>
>>#file libGL.so
>>libGL.so : symbolic link to /usr/pkg/lib/libGL.so
>>#
>>    
>>
>
>Hmmmm, weird.  Let's see what
>
>$ ls -l /usr/pkg/lib/libGL*
>$ strings /usr/pkg/lib/libGL* | grep XShm
>
>says.
>
>-Jan
>
>
>  
>
Jan

ls -l /usr/pkg/lib/libGL* yields:-

    -rw-r--r--  1 root  wheel  2435278 Jan 13 19:46 /usr/pkg/lib/libGL.a
    -rwxr-xr-x  1 root  wheel      812 Jan 13 19:46 /usr/pkg/lib/libGL.la
    lrwxr-xr-x  1 root  wheel       14 Jan 13 19:46 
/usr/pkg/lib/libGL.so -> libGL.so.5.502
    lrwxr-xr-x  1 root  wheel       14 Jan 13 19:46 
/usr/pkg/lib/libGL.so.5 -> libGL.so.5.502
    -rwxr-xr-x  1 root  wheel  2206528 Jan 13 19:46 
/usr/pkg/lib/libGL.so.5.502
    -rw-r--r--  1 root  wheel   709506 Jan 13 19:48 /usr/pkg/lib/libGLU.a
    -rwxr-xr-x  1 root  wheel      813 Jan 13 19:48 /usr/pkg/lib/libGLU.la
    lrwxr-xr-x  1 root  wheel       15 Jan 13 19:48 
/usr/pkg/lib/libGLU.so -> libGLU.so.4.502
    lrwxr-xr-x  1 root  wheel       15 Jan 13 19:48 
/usr/pkg/lib/libGLU.so.4 -> libGLU.so.4.502
    -rwxr-xr-x  1 root  wheel   626431 Jan 13 19:48 
/usr/pkg/lib/libGLU.so.4.502

strings /usr/pkg/lib/libGL* | grep XShm yields:-

alloc_back_buffer: Shared memory error (XShmCreateImage),
disabling.
XShmQueryVersion
XShmCreateImage
XShmAttach
XShmPutImage
XShmDetach
XShmQueryVersion
XShmCreateImage
XShmAttach
XShmPutImage
XShmDetach
alloc_back_buffer: Shared memory error (XShmCreateImage), disabling.
XShmQueryVersion
XShmCreateImage
XShmAttach
XShmPutImage
XShmDetach
alloc_back_buffer: Shared memory error (XShmCreateImage), disabling.
XShmQueryVersion
XShmCreateImage
XShmAttach
XShmPutImage
XShmDetach
alloc_back_buffer: Shared memory error (XShmCreateImage), disabling.

Hope that helps.

Mark