X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=doc%2Fbuild-osx.txt;h=337fff95a8c1ebdd57e2ac78251aba7604b01f28;hb=7483713823cea61963ae0051f3e17ffd4b9be706;hp=d47febe94b4449d34072a57bec5552a6bb1b3f96;hpb=22123c85f3722abad896aebb564a89d88da92e81;p=novacoin.git diff --git a/doc/build-osx.txt b/doc/build-osx.txt index d47febe..337fff9 100644 --- a/doc/build-osx.txt +++ b/doc/build-osx.txt @@ -1,59 +1,56 @@ -Copyright (c) 2011 Bitcoin Developers -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. +Copyright (c) 2017-2019 42 Developers +Copyright (c) 2019 NovaCoin Developers +Mac OS X Build Instructions and Notes +===================================== -Mac OS X bitcoind build instructions -Laszlo Hanyecz -Douglas Huff +MacOS 10.11.6 - El Capitan was used in this manual. All of the commands should be executed in a Terminal application. The built-in one is located in /Applications/Utilities. +1. Install Xcode (7.3.1 for El Capitan), run it and accept the license agreement: -See readme-qt.rst for instructions on building Bitcoin QT, the -graphical user interface. +https://developer.apple.com/xcode/ -Tested on 10.5 and 10.6 intel. PPC is not supported because it's big-endian. +Install Xcode command line tools: -All of the commands should be executed in Terminal.app.. it's in -/Applications/Utilities +xcode-select --install -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 +2. Install MacPorts with main dependencies: +https://distfiles.macports.org/MacPorts/MacPorts-2.3.5-10.11-ElCapitan.pkg -1. Clone the github tree to get the source code: +sudo port install autoconf automake libtool pkgconfig db60 openssl qrencode qt5 -git clone git@github.com:bitcoin/bitcoin.git bitcoin +sudo ln -s /opt/local/libexec/qt5/bin/qmake /opt/local/bin/qmake -2. Download and install MacPorts from http://www.macports.org/ +3. Install Homebrew(http://brew.sh) with dependencies: -2a. (for 10.7 Lion) - Edit /opt/local/etc/macports/macports.conf and uncomment "build_arch i386" +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -3. Install dependencies from MacPorts +brew install python2 boost@1.60 -sudo port install boost db48 openssl +brew link --force boost@1.60 -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). +4. Add to PATH: -Optionally install qrencode (and set USE_QRCODE=1): -sudo port install qrencode +nano ~/.profile -4. Now you should be able to build bitcoind: +export PATH=$PATH:~/opt/local/lib/db6.0 +export PATH=$PATH:~/opt/local/lib/db60/include +export PATH=$PATH:~/usr/local/Cellar/boost@1.60/1.60.0/include/boost/thread.hpp -cd bitcoin/src -make -f makefile.osx +Ctrl+O, Enter, Ctrl+X -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 +5. Clone the github tree: + +git clone https://github.com/novacoin-project/novacoin.git + +6. Build novacoin-Qt application: + +cd novacoin +qmake +make + +7. Create the .dmg disk image: + +sudo easy_install appscript +./contrib/macdeploy/macdeployqtplus novacoin-Qt.app -dmg -fancy ./contrib/macdeploy/fancy.plist \ No newline at end of file