Date: Tue, 28 Sep 2004 22:37:35 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Eric Anholt" <eta@lclark.edu> Cc: Daniel O'Connor <doconnor@gsoft.com.au> Subject: Re: graphics/libglut busted? Message-ID: <opse2kcxjm9aq2h7@mezz.mezzweb.com> In-Reply-To: <1096427160.1024.2907.camel@leguin> References: <200409290941.55875.doconnor@gsoft.com.au> <1096427160.1024.2907.camel@leguin>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Sep 2004 20:06:00 -0700, Eric Anholt <eta@lclark.edu> wrote: > On Tue, 2004-09-28 at 17:11, Daniel O'Connor wrote: >> I have this _weird_ compiler error with libglut.. >> midget# make >> ===> Vulnerability check disabled >> ===> Extracting for libglut-6.0.1 >> >> Checksum OK for MesaDemos-6.0.1.tar.bz2. >> ===> Patching for libglut-6.0.1 >> /bin/cp /usr/ports/graphics/libglut/files/Makefile >> /tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx/ >> ===> libglut-6.0.1 depends on shared library: X11.6 - found >> ===> Configuring for libglut-6.0.1 >> ===> Building for libglut-6.0.1 >> Warning: Object directory not changed from original >> /usr/tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx > ... >> cc -O -pipe -I../../../include -I/usr/X11R6/include -c glut_win.c -o >> glut_win.o >> cc -O -pipe -I../../../include -I/usr/X11R6/include -c >> glut_winmisc.c -o glut_winmisc.o >> cc -O -pipe -I../../../include -I/usr/X11R6/include -c layerutil.c >> -o layerutil.o >> building static glut library >> ranlib libglut.a >> cc -fpic -DPIC -O -pipe -I../../../include -I/usr/X11R6/include -c >> glut_8x13.c -o glut_8x13.So >> /usr/libexec/elf/ld: cannot find -lGL >> *** Error code 1 >> >> Why the heck is it looking for GL anyway? :( > > I seem to recall this issue being related to the nvidia binary driver > being installed. No clue why, and it would be neat if someone figured > out why. Here using nvidia driver and I don't have any problem to build and install libglut. =========================================== # pkg_info | grep nvidia nvidia-driver-1.0.6113_1 NVidia graphics card binary drivers for hardware OpenGL ren # cd /usr/ports/graphics/libglut ; make ===> Vulnerability check disabled, database not found ===> Extracting for libglut-6.0.1 >> Checksum OK for MesaDemos-6.0.1.tar.bz2. ===> Patching for libglut-6.0.1 /bin/cp /usr/ports/graphics/libglut/files/Makefile /usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx/ ===> libglut-6.0.1 depends on shared library: X11.6 - found ===> Configuring for libglut-6.0.1 ===> Building for libglut-6.0.1 Warning: Object directory not changed from original /usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx cc -O -pipe -g -I../../../include -I/usr/X11R6/include -c glut_8x13.c cc -O -pipe -g -I../../../include -I/usr/X11R6/include -c glut_9x15.c cc -O -pipe -g -I../../../include -I/usr/X11R6/include -c glut_bitmap.c [...] building static glut library ranlib libglut.a cc -fpic -DPIC -O -pipe -g -I../../../include -I/usr/X11R6/include -c glut_8x13.c -o glut_8x13.So [...] cc -fpic -DPIC -O -pipe -g -I../../../include -I/usr/X11R6/include -c glut_winmisc.c -o glut_winmisc.So cc -fpic -DPIC -O -pipe -g -I../../../include -I/usr/X11R6/include -c layerutil.c -o layerutil.So building shared library libglut.so.3 =========================================== Maybe try to reinstall nvidia driver and try it again, Daniel? Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opse2kcxjm9aq2h7>