From owner-freebsd-ports Sun Jun 17 7:50:26 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 906AF37B405 for ; Sun, 17 Jun 2001 07:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5HEo1p25219; Sun, 17 Jun 2001 07:50:01 -0700 (PDT) (envelope-from gnats) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.49.166]) by hub.freebsd.org (Postfix) with ESMTP id 4B41837B401 for ; Sun, 17 Jun 2001 07:40:33 -0700 (PDT) (envelope-from stephen@cauchy.math.missouri.edu) Received: (from stephen@localhost) by cauchy.math.missouri.edu (8.11.4/8.11.4) id f5HEeWW81199; Sun, 17 Jun 2001 09:40:32 -0500 (CDT) (envelope-from stephen) Message-Id: <200106171440.f5HEeWW81199@cauchy.math.missouri.edu> Date: Sun, 17 Jun 2001 09:40:32 -0500 (CDT) From: Stephen Montgomery-Smith Reply-To: Stephen Montgomery-Smith To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28228: Cannot make Mesa 3.4.2 port with XFree86 4.1.0_4 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 >Number: 28228 >Category: ports >Synopsis: Cannot make Mesa 3.4.2 port with XFree86 4.1.0_4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 17 07:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 4.3-STABLE i386 >Organization: University of Missouri >Environment: FreeBSD laptop.montlan 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jun 12 09:45:50 CDT 2001 stephen@laptop.montlan:/usr/src-copy/sys/compile/LAPTOP i386 XFree86-4.1.0_4 Mesa-3.4.2 ports current as of June 17 2001 >Description: I know that Mesa comes built into XFree86-4.1.0, but that does not include glut, and I need glut because of some programs that I am writing. When I try to make the Mesa-3.4.2 port I get: ===> Building for Mesa-3.4.2_1 cd . && /usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2/missing autoheader WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. gmake all-recursive gmake[1]: Entering directory `/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2' Making all in src-glu gmake[2]: Entering directory `/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2/src-glu' /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2/include -DGLCALLBACKPCAST=\* -O -pipe -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -c glu.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2/include "-DGLCALLBACKPCAST=*" -O -pipe -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -c glu.c -fPIC -DPIC -o glu.lo glu.c:159: conflicting types for `gluPickMatrix' /usr/X11R6/include/GL/glu.h:300: previous declaration of `gluPickMatrix' glu.c: In function `gluErrorString': glu.c:281: `GLU_INCOMPATIBLE_GL_VERSION' undeclared (first use in this function) glu.c:281: (Each undeclared identifier is reported only once glu.c:281: for each function it appears in.) glu.c: At top level: glu.c:370: conflicting types for `gluCheckExtension' /usr/X11R6/include/GL/glu.h:271: previous declaration of `gluCheckExtension' gmake[2]: *** [glu.lo] Error 1 gmake[2]: Leaving directory `/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2/src-glu' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/cvs/ports/graphics/Mesa3/work/Mesa-3.4.2' gmake: *** [all-recursive-am] Error 2 *** Error code 2 .... >How-To-Repeat: First deinstall XFree86 and Mesa. Make sure you have XFREE86_VERSION=4 in /etc/make.conf cd /usr/ports/x11/XFree86-4 make install cd /usr/ports/graphics/Mesa3 make >Fix: OK, this is weird, but this is a work-around. cd /usr/ports/graphics/Mesa3 make cd work/Mesa-3.4.2/src-glu make cd ../../.. make What is different is that the lines that don't work above are now as below. The difference seems to be that a -I/usr/X11R6/include becomes -I../include I am guessing that there is an incompatibility between the GL/glu.h that comes with XFree86-4.1.0 and Mesa-3.4.2. /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O -pipe -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glu.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O -pipe -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glu.c -fPIC -DPIC -o glu.lo >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message