From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 07:18:28 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A7CD16A4CE for ; Tue, 27 Jan 2004 07:18:28 -0800 (PST) Received: from mxintern.schlund.de (mxintern.kundenserver.de [212.227.126.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1499A43D60 for ; Tue, 27 Jan 2004 07:18:24 -0800 (PST) (envelope-from alex.kiesel@document-root.de) Received: from [172.17.29.6] (helo=alex.i.schlund.de) by mxintern.kundenserver.de with smtp (Exim 3.35 #1) id 1AlUyr-0001kz-00 for ports@freebsd.org; Tue, 27 Jan 2004 16:18:21 +0100 Received: (qmail 2279 invoked by uid 519); 27 Jan 2004 15:18:21 -0000 From: Alex Kiesel To: eta@lclark.edu In-Reply-To: <1068496497.690.85.camel@leguin> References: <1068489988.33385.13.camel@frax.errornet.lan> <1068496497.690.85.camel@leguin> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1075216701.2137.1.camel@alex.i.schlund.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Jan 2004 16:18:21 +0100 cc: ports@freebsd.org cc: Simon Dassow Subject: Re: FreeBSD Port: libglut-5.0.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 15:18:28 -0000 On Mon, 2003-11-10 at 21:34, Eric Anholt wrote: > 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. Hi, removing "-lGL" from src-glut/Makefile fixed the build... However, I did not check whether it works... -Alex