Add info to Compile document for building on Snow Leopard

develop
Timothy Collett 2013-03-14 14:42:15 -04:00
parent c93cb693c8
commit 5da294e007
1 changed files with 17 additions and 0 deletions

@ -67,6 +67,8 @@ program.
Mac OS X
========
If you are building on 10.6, please read the subsection below titled "Snow Leopard Changes" FIRST.
1. Download and unpack a copy of the latest DF
2. Install Xcode from Mac App Store
3. Open Xcode, go to Preferences > Downloads, and install the Command Line Tools.
@ -106,6 +108,21 @@ Mac OS X
make
make install
Snow Leopard Changes
====================
1. Add a step 6.2a (before Install XML::LibXSLT)::
In a separate Terminal window or tab, run:
sudo ln -s /usr/include/libxml2/libxml /usr/include/libxml
2. Add a step 7a (before building)::
In <dfhack directory>/library/LuaTypes.cpp, change line 467 to
int len = strlen((char*)ptr);
3. After the whole thing is built and installed, edit the "dfhack" script in the DF directory and remove the line
export DYLD_FORCE_FLAT_NAMESPACE=1
=======
Windows
=======