From owner-freebsd-ports Sun Jun 17 16:35:26 2001 Delivered-To: freebsd-ports@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id F2BB837B401; Sun, 17 Jun 2001 16:35:10 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f5HNYj430771; Sun, 17 Jun 2001 19:34:45 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Sun, 17 Jun 2001 19:34:45 -0400 (EDT) From: Joe Clarke To: Jonathan Chen Cc: , Subject: Re: xscreensaver & libgle In-Reply-To: <20010618110128.A33720@itouchnz.itouch> Message-ID: <20010617193154.T30678-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I ran into a similar problem with 4.0.3, and people have also reported this same issue. I added XFREE86_VERSION=4 to /etc/make.conf, and built Mesa and freetype2. This supposedly added the bits of each package that XFree didn't come with. However, some header files were missing from the Mesa package. I manually copied the headers (as xscreensaver complained about them) to /usr/X11R6/include/GL, and things eventually worked. So, building Mesa, and doing the manual copy should get you going. Doug mentioned he was going to look into a better solution. Joe Clarke On Mon, 18 Jun 2001, Jonathan Chen wrote: > Hi Doug, > > I'm trying to compile the latest version of xscreensaver (latest > cvsup'd), and the build dies when trying to build the GLE library > dependancy: > > configure:3159: checking for glutSwapBuffers in -lglut > configure:3178: cc -o conftest -O -pipe -Wall conftest.c -lglut > -lSM -lICE -lXmu -lGLU -lGL -lXmu -L/usr/X11R6/lib -lX11 > -L/usr/X11R6/lib -lXext -pthread -lm 1>&5 > /usr/libexec/elf/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; } > (end of "config.log") > > Thought I'd email you since you made the last change on the GLE port > as well. This is on a 4-STABLE machine running XFree84-4.1.0. Workarounds? > > Cheers. > -- > Jonathan Chen > ---------------------------------------------------------------------- > Don't worry about avoiding temptation, > as you grow older, it starts avoiding you. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message