MacPorts Error: X11_Mesa not building.

Joined
Jul 4, 2009
Messages
1
Reaction score
0
Points
1
I am trying to install Wine using MacPorts via terminal, and I get the
following error message upon attempting to get Wine.

sudo port install wine
---> Building mesa
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4"
&& make default INSTALL_DIR=/opt/local " returned error 2
Command output: Making sources for darwin
gcc -c -I. -I../../../include -I../../../include/GL/internal
-I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -Os -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common
-I/opt/local/include -I/opt/local/include -fPIC -D_DARWIN_C_SOURCE
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
-DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER
-DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri2.c -o dri2.o
In file included from /opt/local/include/X11/Xlib.h:64,
from /opt/local/include/X11/Xlibint.h:43,
from dri2.c:35:
/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE"
redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from dri2.c:40:
dri2.h:36:35: error: X11/extensions/Xfixes.h: No such file or directory
In file included from dri2.c:40:
dri2.h:67: error: parse error before 'XserverRegion'
dri2.c:279: error: parse error before 'XserverRegion'
dri2.c:281: warning: no previous prototype for 'DRI2CopyRegion'
dri2.c: In function 'DRI2CopyRegion':
dri2.c:282: error: 'dpy' undeclared (first use in this function)
dri2.c:282: error: (Each undeclared identifier is reported only once
dri2.c:282: error: for each function it appears in.)
dri2.c:292: error: 'drawable' undeclared (first use in this function)
dri2.c:293: error: 'region' undeclared (first use in this function)
dri2.c:294: error: 'dest' undeclared (first use in this function)
dri2.c:295: error: 'src' undeclared (first use in this function)
make[2]: *** [dri2.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

Error: The following dependencies failed to build: mesa openssl
xorg-libXcursor xorg-fixesproto xorg-libXfixes xorg-renderproto xrender
xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.

I already posted on the Wine forums, and was told to look elsewhere. I have
installed MacPorts, xCode, and X11. I'm really not an expert on these
matters, and have no idea what I need to do to fix this.

Any help would be appreciated. Thanks in advance.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top