From 3ba32958b07eec7c926b20859a163b24cad01d14 Mon Sep 17 00:00:00 2001 From: Mariia Date: Tue, 4 Dec 2018 16:13:10 +0300 Subject: [PATCH] Updated build mac-os instruction like (#318) Updated macOS build instruction --- doc/build-macos.md | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/doc/build-macos.md b/doc/build-macos.md index a6c97b46fd..cc4542d5a7 100644 --- a/doc/build-macos.md +++ b/doc/build-macos.md @@ -16,33 +16,43 @@ Then install [Homebrew](http://brew.sh). Dependencies ---------------------- - brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python3 qt libevent + brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode -If you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG +In case you want to build the disk image with `make deploy` (.dmg / optional), you need RSVG - brew install librsvg + brew install librsvg + +Berkley DB +------------------------ +It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use [the installation script included in contrib/] (https://github.com/bitcoin/bitcoin/blob/master/contrib/install_db4.sh)like so: + ./contrib/install_db4.sh . -NOTE: Building with Qt4 is still supported, however, could result in a broken UI. Building with Qt5 is recommended. +from the root of the repository. +Note: You only need Berkeley DB if the wallet is enabled (see Disable-wallet mode). + + Build Zcoin Core ------------------------ 1. Build Zcoin-core: - Configure and build the headless bitcoin binaries as well as the GUI (if Qt is found). - + Configure and build the headless zcoin binaries as well as the GUI (if Qt is found). + + In case you want to build the disk image with `make deploy` (.dmg / optional), by passing `--with-gui` to configure. + You can disable the GUI build by passing `--without-gui` to configure. ./autogen.sh - ./configure --with-boost-libdir=/usr/local/Cellar/boost/1.66.0/lib + ./configure make 2. It is recommended to build and run the unit tests: - make check - -3. You can also create a .dmg that contains the .app bundle (optional): + ` make check` + +3. You can also create a .dmg that contains the .app bundle (optional): - make deploy + ` make deploy` Running @@ -89,6 +99,7 @@ Uncheck everything except Qt Creator during the installation process. Notes ----- -* Tested on OS X 10.11 through 10.12 on 64-bit Intel processors only. +* Tested on macOS 10.11 through 10.14 on 64-bit Intel processors only. * Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714) +