You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build-osx.txt 1.8KB

  1. Copyright (c) 2009-2012 Bitcoin Developers
  2. Distributed under the MIT/X11 software license, see the accompanying
  3. file license.txt or
  4. This product includes software developed by the OpenSSL Project for use in
  5. the OpenSSL Toolkit ( This product includes
  6. cryptographic software written by Eric Young ( and UPnP
  7. software written by Thomas Bernard.
  8. Mac OS X bitcoind build instructions
  9. Laszlo Hanyecz <>
  10. Douglas Huff <>
  11. See readme-qt.rst for instructions on building Bitcoin-Qt, the
  12. graphical user interface.
  13. Tested on 10.5, 10.6 and 10.7 intel. PPC is not supported because it's big-endian.
  14. All of the commands should be executed in it's in
  15. /Applications/Utilities
  16. You need to install XCode with all the options checked so that the compiler and
  17. everything is available in /usr not just /Developer. XCode should be available on your OS X
  18. install DVD, but if not, you can get the current version from
  19. 1. Clone the github tree to get the source code:
  20. git clone bitcoin
  21. 2. Download and install MacPorts from
  22. 2a. (for 10.7 Lion)
  23. Edit /opt/local/etc/macports/macports.conf and uncomment "build_arch i386"
  24. 3. Install dependencies from MacPorts
  25. sudo port install boost db48 openssl miniupnpc
  26. Optionally install qrencode (and set USE_QRCODE=1):
  27. sudo port install qrencode
  28. 4. Now you should be able to build bitcoind:
  29. cd bitcoin/src
  30. make -f makefile.osx USE_IPV6=1
  31. Run:
  32. ./bitcoind --help # for a list of command-line options.
  33. Run
  34. ./bitcoind -daemon # to start the bitcoin daemon.
  35. Run
  36. ./bitcoind help # When the daemon is running, to get a list of RPC commands