Advertisement
torusJKL

Building Bitcoin Armory on Mac OS X 10.6.x using Homebrew

Mar 21st, 2012
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Building Bitcoin Armory on Mac OS X 10.6.x using Homebrew
  2. =========================================================
  3.  
  4. Version 0.70-beta.16c22e465e98a00ca15c129e788a7d56d5c5fc1e
  5. Last update: 02.04.2012
  6.  
  7. This is based on Jorics instructions: http://pastebin.com/K9NYsKRD
  8.  
  9. Prerequisits
  10. Mac OS 10.6.8
  11. Xcode 4.0.2
  12. Homebrew (http://mxcl.github.com/homebrew/)
  13.  
  14. Set Homebrew environment in .bash_profile
  15. echo "# Set Homebrew environment" >> ~/.bash_profile
  16. echo "export PATH=/usr/local/bin:/usr/local/share/python:\$PATH" >> ~/.bash_profile
  17. echo "export DYLD_LIBRARY_PATH=`brew --prefix`/lib:\$DYLD_LIBRARY_PATH" >> ~/.bash_profile
  18. echo "export BERKELEYDB_INCDIR=`brew --prefix`/Cellar/berkeley-db/5.3.15/include" >> ~/.bash_profile
  19. echo "export PYTHONPATH=/usr/local/lib/python:`brew --prefix`/lib/python2.7/site-packages:`brew --prefix`/Cellar/python/2.7.2/lib/python2.7:\$PYTHONPATH" >> ~/.bash_profile
  20.  
  21. Restart your terminal to load the new path!
  22.  
  23.  
  24. Install homebrew packages:
  25. brew install python
  26. brew install cryptopp
  27. brew install swig
  28. brew install sip
  29. brew install qt
  30. brew install pyqt
  31. brew install berkeley-db
  32.  
  33. Create symlinks to the homebrew python, so that it will be found by the swig Makefile:
  34. sudo ln -s /usr/local/Cellar/python/2.7.2/include/python2.7 /usr/include/python2.7
  35.  
  36. Install twisted:
  37. easy_install-2.7 twisted
  38.  
  39. Install bsddb:
  40. easy_install-2.7 bsddb3
  41.  
  42. Get Armory source code:
  43. cd ~
  44. git clone git://github.com/etotheipi/BitcoinArmory.git
  45. cd ~/BitcoinArmory
  46. git checkout mmap
  47.  
  48. Compile swig:
  49. cd ~/BitcoinArmory/cppForSwig
  50. make swig
  51.  
  52. Run Armory:
  53. cd ~/BitcoinArmory
  54. python ArmoryQt.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement