From owner-freebsd-ports@FreeBSD.ORG Sat Nov 8 13:45:31 2003 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 4295B16A4CE for ; Sat, 8 Nov 2003 13:45:31 -0800 (PST) Received: from lewis.lclark.edu (www.runamerica.org [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 858E743F75 for ; Sat, 8 Nov 2003 13:45:30 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.34.27] ([149.175.34.27]) by lewis.lclark.edu (SAVSMTP 3.1.1.32) with SMTP id M2003110813452327635 ; Sat, 08 Nov 2003 13:45:23 -0800 From: Eric Anholt To: Nuno Teixeira In-Reply-To: <20031108181848.GA49725@nunotex.tex.bogus> References: <20031108181848.GA49725@nunotex.tex.bogus> Content-Type: text/plain Message-Id: <1068327925.675.7.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 08 Nov 2003 13:45:26 -0800 Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: libglut doesn't compile 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: Sat, 08 Nov 2003 21:45:31 -0000 On Sat, 2003-11-08 at 10:18, Nuno Teixeira wrote: > Hello to all, > > libglut doens't compile on a FreeBSD 5.1 p10 Release. > > The error: > > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c > glut_vidresize.c -o glut_vidresize.o > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c > glut_warp.c -o glut_warp.o > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c > glut_win.c -o glut_win.o > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c > glut_winmisc.c -o glut_winmisc.o > cc -O -pipe -march=athlon-xp -I../include -I/usr/X11R6/include -c > layerutil.c -o layerutil.o > building static glut library > ranlib libglut.a > cc -fpic -DPIC -O -pipe -march=athlon-xp -I../include > -I/usr/X11R6/include -c glut_8x13.c -o glut_8x13.So > ld: cannot find -lGL > *** Error code 1 > > Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut. > *** Error code 1 This log doesn't make sense to me. Where is -lGL happening? Did you build with make -j or something? Do you actually have libGL installed? (/usr/X11R6/lib/libGL*) If you have libX11 in there but not libGL, your installation may be broken and you need to reinstall XFree86-4-libraries. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org