Replace Bitcoin to Novacoin
[novacoin.git] / doc / build-osx.txt
1 Copyright (c) 2009-2012 Bitcoin Developers
2 Copyright (c) 2013 NovaCoin Developers
3 Distributed under the MIT/X11 software license, see the accompanying file
4 license.txt or http://www.opensource.org/licenses/mit-license.php.  This
5 product includes software developed by the OpenSSL Project for use in the
6 OpenSSL Toolkit (http://www.openssl.org/).  This product includes cryptographic
7 software written by Eric Young (eay@cryptsoft.com) and UPnP software written by
8 Thomas Bernard.
9
10
11 Mac OS X novacoind build instructions
12 Laszlo Hanyecz <solar@heliacal.net>
13 Douglas Huff <dhuff@jrbobdobbs.org>
14
15
16 See readme-qt.rst for instructions on building NovaCoin QT, the
17 graphical user interface.
18
19 Tested on 10.5 and 10.6 intel.  PPC is not supported because it's big-endian.
20
21 All of the commands should be executed in Terminal.app.. it's in
22 /Applications/Utilities
23
24 You need to install XCode with all the options checked so that the compiler and
25 everything is available in /usr not just /Developer I think it comes on the DVD
26 but you can get the current version from http://developer.apple.com
27
28
29 1.  Clone the github tree to get the source code:
30
31 git clone https://github.com/novacoin-project/novacoin
32
33 2.  Download and install MacPorts from http://www.macports.org/
34
35 2a. (for 10.7 Lion)
36     Edit /opt/local/etc/macports/macports.conf and uncomment "build_arch i386"
37
38 3.  Install dependencies from MacPorts
39
40 sudo port install boost db48 openssl miniupnpc
41
42 Optionally install qrencode (and set USE_QRCODE=1):
43 sudo port install qrencode
44
45 4.  Now you should be able to build novacoind:
46
47 cd novacoin/src
48 make -f makefile.osx
49
50 Run:
51   ./novacoind --help  # for a list of command-line options.
52 Run
53   ./novacoind -daemon # to start the novacoin daemon.
54 Run
55   ./novacoind help # When the daemon is running, to get a list of RPC commands