[Wine] I'm having trouble installing Wine...

oceanwilde wineforum-user at winehq.org
Sat Jul 4 09:56:06 CDT 2009


I've read and re-read all the install guides that I can find, I've installed MacPorts, xCode and X11, and yet upon attempting to install wine via terminal, I still get the following error message:

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.

Would someone please help me to sort out this problem?
I've spent ages trying to figure out what I've done wrong.







More information about the wine-users mailing list