SHARE
TWEET

Untitled

a guest Jun 22nd, 2013 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. Install xcode
  2.  
  3. 2. Install homebrew: http://mxcl.github.io/homebrew/
  4.  
  5. 3. Install dependencies with homebrew: brew install swig sdl sdl_image sdl_mixer sdl_ttf scons boost boost-jam wget libvorbis libogg gettext libpng intltool cmake
  6.  
  7. 4. Correct boost liberary names
  8. cd /usr/local/lib
  9. ln -s libboost_filesystem-mt.a libboost_filesystem.a
  10. ln -s libboost_filesystem-mt.dylib libboost_filesystem.dylib
  11. ln -s libboost_system-mt.a libboost_system.a
  12. ln -s libboost_system-mt.dylib libboost_system.dylib
  13. ln -s libboost_regex-mt.a libboost_regex.a
  14. ln -s libboost_regex-mt.dylib libboost_regex.dylib
  15.  
  16. 5. Add gettext to path. Insert the following line into /Users/USERNAME/.bash_profile:
  17. export PATH="/usr/local/Cellar/gettext/0.18.2/bin/:$PATH"
  18.  
  19. 6. Install python dependencies with easy_install pil pyyaml pyrex cython
  20.  
  21. 7. Download sld: http://www.libsdl.org/ and move SDL.Framework to /Library/Frameworks/
  22.  
  23. 8. Download, build and Install fifechan:
  24. git clone  git://github.com/fifengine/fifechan.git
  25. cd fifechan
  26. cmake
  27. sudo make install
  28. sudo cp -R include/fifechan/sdl /usr/local/include/fifechan/
  29.  
  30. 9. Download, build and Install fifengine:
  31. cd ...
  32. git clone  git://github.com/fifengine/fifengine.git
  33. scons -c
  34. scons
  35.  
  36. 9. Download an run unknown-horizons
  37. cd ..
  38. git clone git://github.com/unknown-horizons/unknown-horizons.git
  39. cd unknown-horizons
  40. python setup.py build_i18n
  41. Now it should run: python run_uh.py --fife-path=../fifengine/
  42.  
  43. 10. Create app
  44. sudo easy_install -U py2app
  45. cp -r ../fifengine/engine/python/fife .
  46. mkdir src/Contents/
  47. mkdir src/Contents/Resources/
  48. cp -r content src/Contents/Resources/
  49. python setup_mac.py py2app
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top