Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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 http://www.opensource.org/licenses/mit-license.php.
  4. This product includes software developed by the OpenSSL Project for use in
  5. the OpenSSL Toolkit (http://www.openssl.org/). This product includes
  6. cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP
  7. software written by Thomas Bernard.
  8. Mac OS X bitcoind build instructions
  9. Laszlo Hanyecz <solar@heliacal.net>
  10. Douglas Huff <dhuff@jrbobdobbs.org>
  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 Terminal.app.. 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 https://developer.apple.com/xcode/
  19. 1. Clone the github tree to get the source code:
  20. git clone git@github.com:bitcoin/bitcoin.git bitcoin
  21. 2. Download and install MacPorts from http://www.macports.org/
  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