From fbf5a25c536dac9401c44a31e5ea6d2a420862bd Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Mon, 26 Nov 2012 22:06:02 -0500 Subject: [PATCH] OSX Build clarifications --- docs/building.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/building.rst b/docs/building.rst index ff724b4..16a57ad 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -103,13 +103,19 @@ Then to build:: OSX --- +.. note:: + + You will need to have XCode and the XCode Command Line Tools installed (the + Command Line Tools can be installed by going to the Downloads tab under the + Xcode Preferences dialog + 1. Download the source code for PIL from http://www.pythonware.com/products/pil/ 2. Compile the PIL code (``python ./setup.py build``) 3. Install PIL (``sudo python ./setup.py install``) -4. Find the path to libImaging in the PIL source tree -5. Build Minecraft Overviewer with the path from step 3 as the value for C_INCLUDE_PATH:: +4. Find the path to the ``libImaging`` directory in the PIL source tree. +5. Build Minecraft Overviewer with the path from step 4 as the value for PIL_INCLUDE_DIR:: - C_INCLUDE_PATH="path from step 3" python ./setup.py build + PIL_INCLUDE_DIR="path from step 4" python ./setup.py build The following script (copied into your MCO source directory) should handle everything for you: @@ -128,7 +134,7 @@ The following script (copied into your MCO source directory) should handle every fi # build MCO - C_INCLUDE_PATH="`pwd`/Imaging-1.1.7/libImaging" python ./setup.py build + PIL_INCLUDE_DIR="`pwd`/Imaging-1.1.7/libImaging" python ./setup.py build FreeBSD -------