Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 20:34:54 -0000
From:      Eric Anholt <anholt@FreeBSD.org>
To:        Simon Dassow <janus@area319.de>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: libglut-5.0.2
Message-ID:  <1068496497.690.85.camel@leguin>
In-Reply-To: <1068489988.33385.13.camel@frax.errornet.lan>
References:  <1068489988.33385.13.camel@frax.errornet.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2003-11-10 at 10:46, Simon Dassow wrote:
> Hi,
> is there something known to be broken?
> I recently wanted to make and got the following error:
> 
> Warning: Object directory not changed from original
> /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut
> cc -fpic -DPIC -O -pipe -march=k6 -I../include -I/usr/X11R6/include  -c
> glut_cindex.c -o glut_cindex.So
> /usr/libexec/elf/ld: cannot find -lGL
> *** Error code 1
> 
> Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
> 
> 
> I'm using the nvidia-driver, so i dont know if it matters, but i think
> it shouldn't.
> The way i fixed it, or better worked around it:
> 
> # cd /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut
> # make |grep cc| sed -e 's#\(-I/usr/X11R6/include\)#\1
> -L/usr/X11R6/lib#'
> # cc -fpic -DPIC -O -pipe -march=k6 -I../include -I/usr/X11R6/include
> -L/usr/X11R6/lib -c glut_cindex.c -o glut_cindex.So
> 
> Then i got the next error... i've did it the same way like written above
> for... about 20 times.
> 
> Seems now i have glut working.
> 
> Is this related to the nvidia-driver?

Yes, it's apparently related to the nvidia driver.  I'm not sure why. 
I'll take a look at this RSN.

(I was really hoping I could avoid ever installing the nvidia driver. 
bleh.)

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1068496497.690.85.camel>