New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

MacPorts Error: X11_Mesa not building.

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jul 04, 2009
Posts: 1
oceanwilde is on a distinguished road

oceanwilde is offline
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 returned: shell command " cd
"/opt/local/var/macports/build/ _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
-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"
<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.
QUOTE Thanks

Post Reply New Thread Subscribe

« Refresh button disappeared from toolbar | Super Duper program. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
MacPorts... installing ImageMagick... Error flipjarg OS X - Apps and Games 3 06-08-2009 04:22 PM
Ruby with MacPorts in bash help? whiteunibrow OS X - Development and Darwin 0 01-29-2009 09:04 PM
gcalcli and macports aarnclayt Running Windows (or anything else) on your Mac 6 08-21-2008 08:54 AM
what folders does macports create? aldog OS X - Development and Darwin 0 04-18-2008 08:27 PM
Advice on building custom Powermac UnderAttack Apple Desktops 14 01-18-2007 06:53 PM

All times are GMT -4. The time now is 10:59 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?