Hi, I am new to all this wine stuff, and I am having some problems building wine following the official instructions (http://wiki.winehq.org/MacOSX/Building) I have the latest version of Xcode installed and have X11 sitting in my Utilities folder as well. I want to build wine from source without the use of MacPorts of Fink as I want to add the DIB Engine to my build. however I can neither ./configure --verbose wine (with no patches), as I get the following message: Code: configure: error: X 32-bit development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install 32-bit development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this. nor apply the DIB Engine patch as I get an error applying the first patch file.. Code: computer:wine user$ sudo patch -p1 < /usr/local/dibpatch/wineps-drv-send-page-size.patch patching file dlls/wineps.drv/escape.c Hunk #1 FAILED at 47. Hunk #2 FAILED at 82. Hunk #3 FAILED at 515. Hunk #4 FAILED at 536. 4 out of 4 hunks FAILED -- saving rejects to file dlls/wineps.drv/escape.c.rej I would greatly appreciate if someone can help me with this :-)
compiling is a pain in the butt.... getting all the dependencies and paths set up... you have some X11 stuff not in your path. I made a script I use when I build that automatically makes a bundle for Wineskin, so I haven't done a build by hand in awhile... but you should probably look at setting a DYLD_FALLBACK_LIBRARY_PATH statement, which I think was on the wiki still. That said, the dib engine doesn't work on Mac OS X... I don't think its supposed to, and I have tried it several times.
doh123 <wineforum-user at winehq.org> wrote>Sent: Aug 24, 2010 9:30 PM >To: wine-users at winehq.org >Subject: [Wine] Re: Can't install wine on osx 10.6.4 >[snip]>That said, the dib engine doesn't work on Mac OS X... I don't think its supposed to, and I have tried it several times. >It will not, for now. The assembly code needs to be 'tweaked' to work with MacOSX. This is one of the many reasons the DIB code is not in Wine, yet. James McKenzie
Hi guys, firstly thanks for replying :-) James McKenzie:> It will not, for now. The assembly code needs to be 'tweaked' to work with MacOSX. This is one of the many reasons the DIB code is not in Wine, yet.I understand.. I guess when doh123 can't make it work, my plan of making a game work by making a custom CXG 8.0.0 witn added DIB Engine Wineskin Engine is not going to happen anytime soon then.. doh123:> but you should probably look at setting a DYLD_FALLBACK_LIBRARY_PATH statement, which I think was on the wiki still.I am not 100% sure what that means, nor how to do that.. I ran the commands: Code: export CFLAGS="-arch i386 -m32" export CXXFLAGS="$CFLAGS" export CPPFLAGS="-I/usr/X11/include" export LDFLAGS="-L/usr/X11/lib" if that is what you mean? :) :)