Mesa3 ports and XFree86-4.0.1

Mesa3 ports and XFree86-4.0.1

Post by Rasaki Bidemi Bolanle Temidir » Wed, 20 Sep 2000 12:25:46



Hi Everyone,

I am trying to install the Mesa3 port.  It is required for the new kde2
ports.  Unfortunately, it  will not compile under XFree86-4... at least
not on my FreeBSD 4.1.x-STABLE server.   I get the following errors when
trying to install the port:

gmake[2]: Entering directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu'/bin/sh
../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/X11R6/include
-I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include -DGLCALLBACKPCAST=\*  
 -O
-pipe -c glu.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include
-I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include "-DGLCALLBACKPCAST=*"
-O
-pipe -c glu.c  -fPIC -DPIC -o glu.lo

In file included from gluP.h:35,
                 from glu.c:32:
/usr/X11R6/include/GL/glu.h:298: syntax error before `*'
/usr/X11R6/include/GL/glu.h:298: syntax error before `)'
/usr/X11R6/include/GL/glu.h:370: syntax error before `*'
/usr/X11R6/include/GL/glu.h:370: syntax error before `)'
/usr/X11R6/include/GL/glu.h:383: syntax error before `*'
/usr/X11R6/include/GL/glu.h:383: syntax error before `)'
gmake[2]: *** [glu.lo] Error 1 gmake[2]: Leaving directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/graphics/Mesa3/work/Mesa-3.2.1' gmake: *** [all-recursive-am]
Error 2
*** Error code 2

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.
*** Error code 1

Stop in /usr/ports/graphics/Mesa3.

Has nayone else seen these problems?  Is there a workaround?  I would
appreciate any suggestions.  I would like to switch over to kde2 from
GNOME as it keeps freezing  periodically on my machine.

Thanks in advance.

Bidemi Temidire

 
 
 

Mesa3 ports and XFree86-4.0.1

Post by Stephen Montgomery-Smit » Wed, 20 Sep 2000 04:00:00


It could be that you need the line
XFREE86_VERSION=4
in /etc/make.conf

You will also need the file /etc/mtree/BSD.x11-4.dist which
is available in the very recent FreeBSD sources, or I can
send you my copy.


Quote:

> Hi Everyone,

> I am trying to install the Mesa3 port.  It is required for the new kde2
> ports.  Unfortunately, it  will not compile under XFree86-4... at least
> not on my FreeBSD 4.1.x-STABLE server.   I get the following errors when
> trying to install the port:

> gmake[2]: Entering directory
> `/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu'/bin/sh
> ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/X11R6/include
> -I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include -DGLCALLBACKPCAST=\*
>  -O
> -pipe -c glu.c
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include
> -I/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/include "-DGLCALLBACKPCAST=*"
> -O
> -pipe -c glu.c  -fPIC -DPIC -o glu.lo

> In file included from gluP.h:35,
>                  from glu.c:32:
> /usr/X11R6/include/GL/glu.h:298: syntax error before `*'
> /usr/X11R6/include/GL/glu.h:298: syntax error before `)'
> /usr/X11R6/include/GL/glu.h:370: syntax error before `*'
> /usr/X11R6/include/GL/glu.h:370: syntax error before `)'
> /usr/X11R6/include/GL/glu.h:383: syntax error before `*'
> /usr/X11R6/include/GL/glu.h:383: syntax error before `)'
> gmake[2]: *** [glu.lo] Error 1 gmake[2]: Leaving directory
> `/usr/ports/graphics/Mesa3/work/Mesa-3.2.1/src-glu' gmake[1]: ***
> [all-recursive] Error 1 gmake[1]: Leaving directory
> `/usr/ports/graphics/Mesa3/work/Mesa-3.2.1' gmake: *** [all-recursive-am]
> Error 2
> *** Error code 2

> Stop in /usr/ports/graphics/Mesa3.
> *** Error code 1

> Stop in /usr/ports/graphics/Mesa3.
> *** Error code 1

> Stop in /usr/ports/graphics/Mesa3.
> *** Error code 1

> Stop in /usr/ports/graphics/Mesa3.

> Has nayone else seen these problems?  Is there a workaround?  I would
> appreciate any suggestions.  I would like to switch over to kde2 from
> GNOME as it keeps freezing  periodically on my machine.

> Thanks in advance.

> Bidemi Temidire

--
Stephen Montgomery-Smith

http://www.math.missouri.edu/~stephen