2011-10-05 17:09:28 +02:00
|
|
|
Copyright (c) 2011 Bitcoin Developers
|
2011-06-27 22:11:35 +02:00
|
|
|
Distributed under the MIT/X11 software license, see the accompanying file
|
|
|
|
license.txt or http://www.opensource.org/licenses/mit-license.php. This
|
|
|
|
product includes software developed by the OpenSSL Project for use in the
|
|
|
|
OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic
|
|
|
|
software written by Eric Young (eay@cryptsoft.com) and UPnP software written by
|
|
|
|
Thomas Bernard.
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
2011-09-26 17:40:43 +02:00
|
|
|
Mac OS X bitcoind build instructions
|
2011-06-27 22:11:35 +02:00
|
|
|
Laszlo Hanyecz <solar@heliacal.net>
|
|
|
|
Douglas Huff <dhuff@jrbobdobbs.org>
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
2011-09-26 17:40:43 +02:00
|
|
|
See readme-qt.rst for instructions on building Bitcoin QT, the
|
|
|
|
graphical user interface.
|
|
|
|
|
2010-08-29 18:58:15 +02:00
|
|
|
Tested on 10.5 and 10.6 intel. PPC is not supported because it's big-endian.
|
|
|
|
|
|
|
|
All of the commands should be executed in Terminal.app.. it's in
|
|
|
|
/Applications/Utilities
|
|
|
|
|
2011-06-27 22:11:35 +02:00
|
|
|
You need to install XCode with all the options checked so that the compiler and
|
|
|
|
everything is available in /usr not just /Developer I think it comes on the DVD
|
|
|
|
but you can get the current version from http://developer.apple.com
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
1. Clone the github tree to get the source code:
|
2011-06-27 22:11:35 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
git clone git@github.com:bitcoin/bitcoin.git bitcoin
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
2. Download and install MacPorts from http://www.macports.org/
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-14 06:39:54 +02:00
|
|
|
2a. (for 10.7 Lion)
|
|
|
|
Edit /opt/local/etc/macports/macports.conf and uncomment "build_arch i386"
|
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
3. Install dependencies from MacPorts
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
sudo port install boost db48 openssl
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
Install the right version of miniupnpc:
|
|
|
|
pushd bitcoin/contrib/minipupnpc; sudo port install; popd
|
|
|
|
(this will be unnecessary soon, you will just port install miniupnpc
|
|
|
|
along with the rest of the dependencies).
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
4. Now you should be able to build bitcoind:
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
cd bitcoin/src
|
|
|
|
make -f makefile.osx
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-10-05 17:09:28 +02:00
|
|
|
Run:
|
|
|
|
./bitcoind --help # for a list of command-line options.
|
|
|
|
Run
|
|
|
|
./bitcoind -daemon # to start the bitcoin daemon.
|
|
|
|
Run
|
|
|
|
./bitcoind help # When the daemon is running, to get a list of RPC commands
|