
- #Wine for mac 10.4 install#
- #Wine for mac 10.4 code#
- #Wine for mac 10.4 license#
And, the latest version Samba has changed quite a bit and I can't be bothered to figure it out, so I'll use 3.6 instead. Plus, macOS does not honor LD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH environment variables. So a few steps are needed to re-point the libraries to the correct aboslute folder. I'm not sure what I'm doing wrong, but it compiles to expect libraries in bin folder relative to where you are running the prgorams from. I didn't bother with harfbuzz, which has acyclic dependency with freetype itself: curl -L -o
Then, download and compile the required library libpng and freetype. The compiled files are in ~/Downloads/wine/usr:`` sd sdf sdf mkdir ~/Downloads/wineĮxport CFLAGS="-O2 -arch i386 -m32 -I$TARGET/usr/include"Įxport LDFLAGS=" -arch i386 -L$TARGET/usr/lib"Įxport PKG_CONFIG_PATH="$TARGET/usr/lib/pkgconfig" Compile dependencies I created a directory, ~/Downloads/wine, to compile and run Wine and its dependencies, without installing or touching any files outside this folder.
#Wine for mac 10.4 license#
If you've never run Xcode before, then you must run it once to accept the license agreement.
#Wine for mac 10.4 install#
I don't know, but it's possible that more that that may not work! Environment setupįirst, you'll need to install Xcode (free on the Mac App Store) and set up the environment to compile source code. To summarize, my motivation is to test Wine's "Retina Mode" without X11, by minimally running MS Word 2010 and Notepad++.
#Wine for mac 10.4 code#
I have to commend and thank the creator of WineBottler, portions of the code below (especially for Samba) are based on or directly copied from, his code. But I found the WineBottler source code, specifically the build_wine.sh file to be a great starting point. This took me weeks to figure out, since I'm no UNIX or macOS expert and could not find any tutorials to help me.
Then, bundle all the compiled files into "Wine.app" - onward to Creating a wine.app bundle manually. Run Microsoft Word 2010 32-bit to test it all. Configure Wine without resorting to WineTricks. Do it all from scratch without Homebrew. Use the latest Xcode 8.0 (8A218a) on macOS Sierra 11.2. Compile without X11 (or the XQuartz implementation). Compile the latest Wine 1.9.21 (WineBottler is on Wine 1.8). This may not work that well yet, as more work in needed for Wine to support DPI Scaling like in Windows 8.1+ Wine, starting from version 1.9.10 (May 17, 2016), has a new, experimental option for macOS Retina displays. Here, I describe how I compiled Wine from scratch and configure for my MacBook Pro's Retina Display. I have been using WineBottler to run my favorite Windows applications in macOS.