I'm having trouble compiling wine 1.0.1 on Mac OS 10.4.11

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
neyron
Newbie
Newbie
Posts: 1
Joined: Sun Nov 09, 2008 8:58 am

I'm having trouble compiling wine 1.0.1 on Mac OS 10.4.11

Post by neyron »

This error came up:


new-host:~ staruhinevgenij$ sudo port install wine
Password:
---> Building wine with target depend all
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_wine/work/wine-1.0.1" && make depend all " returned error 2
Command output: ../include/winbase.h:2342: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2344: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2350: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2352: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2356: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2358: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2380: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2392: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2410: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/winbase.h:2414: warning: '__force_align_arg_pointer__' attribute directive ignored
In file included from object.h:29,
from file.h:24,
from mach.c:37:
../include/wine/server_protocol.h:261: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:267: warning: '__force_align_arg_pointer__' attribute directive ignored
../include/wine/server_protocol.h:344: warning: '__force_align_arg_pointer__' attribute directive ignored
mach.c: In function 'get_thread_context':
mach.c:166: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:166: error: (Each undeclared identifier is reported only once
mach.c:166: error: for each function it appears in.)
mach.c:166: error: parse error before 'state'
mach.c:167: error: 'state' undeclared (first use in this function)
mach.c:182: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
mach.c: In function 'set_thread_context':
mach.c:210: error: 'x86_debug_state32_t' undeclared (first use in this function)
mach.c:210: error: parse error before 'state'
mach.c:211: error: 'state' undeclared (first use in this function)
mach.c:245: error: 'x86_DEBUG_STATE32' undeclared (first use in this function)
make[1]: *** [mach.o] Error 1
make: *** [server] Error 2

Error: Status 1 encountered during processing.
new-host:~ staruhinevgenij$
rainbowgoblin
Newbie
Newbie
Posts: 1
Joined: Tue Apr 28, 2009 4:33 am

Upgrade Xcode

Post by rainbowgoblin »

You no doubt have already found a solution or given up, but in case someone else (like me!) is trying to find a solution to the same problem, here was mine: upgrade your Xcode Tools version. Grab version 2.5, if you're running OS 10.4 (Tiger), and try again. You'll probably need to clean up the build directory... I THINK the command is port clean --all wine, but I did this manually so I'm not sure. Then you should be go to with port install wine again.
Locked