Subject: Re: Error on make update for xscreensaver
To: Jeremy C. Reed <reed@reedmedia.net>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 04/08/2003 23:40:27
Jeremy C. Reed wrote:
> On Tue, 8 Apr 2003, Gan Uesli Starling wrote:
> 
> 
>>Trying to 'make update' on /usr/pkgsrc/x11/xscreensaver
>>on a pkgsrc.tar.gz just renewed today on NetBSD 1.6 I get
>>this error...
> 
> 
>>checking for glutSwapBuffers in -lglut... no
>>configure: error: Cannot find required glut library
>>*** Error code 1
>>
>>Stop.
>>make: stopped in /usr/pkgsrc/graphics/gle
> 
> 
> I see that "make show-all-depends-dirs" for graphics/gle, graphics/Mesa,
> and x11/xscreensaver does show graphics/glut.
> 
> I would guess that your /usr/pkgsrc/graphics/gle doesn't have the
> buildlink set up for it, but I don't know.
> 
> Have a look at the config.log, config.status or whatever under your
> /usr/pkgsrc/graphics/gle/work/gle* directory. It should tell you more
> about that error.

Um, er...

/usr/pkgsrc/graphics/gle/work/gle-3.0.3/config.log

...says....

<snip>
configure:3159: checking for glutSwapBuffers in -lglut
configure:3178: cc -o conftest -O2 -I/usr/pkg/include 
-I/usr/X11R6/include -Wall
    -I/usr/pkg/include -I/usr/X11R6/include 
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -
Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lglut  -lSM 
-lICE -lXmu -lGLU -
lGL -lXmu  -L/usr/X11R6/lib -lX11   -lm 1>&5
ld: cannot find -lglut
configure: failed program was:
#line 3167 "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 glutSwapBuffers();

int main() {
glutSwapBuffers()
; return 0; }
</snip>

...but I haven't a clue what that means. Is this the info
you said to find?

TIA,

Gan

-- 

  Mistera Sturno - Rarest Extinct Bird

  <(+)__       Gan Uesli Starling
   ((__/)=-    Kalamazoo, MI, USA
    `||`
     ++        http://starling.us