Skip to content

Instantly share code, notes, and snippets.

@brunoalano
Created January 28, 2018 16:26
Show Gist options
  • Save brunoalano/8a461b17675fff3515840a6750119a5f to your computer and use it in GitHub Desktop.
Save brunoalano/8a461b17675fff3515840a6750119a5f to your computer and use it in GitHub Desktop.

Mac OS X Build Instructions and Notes

The commands in this guide should be executed in a Terminal application. The built-in one is located in /Applications/Utilities/Terminal.app.

Preparation

Install the OS X command line tools:

xcode-select --install

When the popup appears, click Install.

Then install Homebrew.

Dependencies

# dependencies install
$ brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf libevent

Build ECC

  1. Clone the ECC source
$ git clone https://github.com/project-ecc/eccoin.git eccoin && cd eccoin
  1. (Temporary) Quick Fix Open the file src/Makefile.am, find libbitcoinconsensus_la_LIBADD append to it $(eccoind_LDADD) (see this PR: #51)

  2. Build

$ ./autogen.sh
$ ./configure --disable-tests --disable-bench
$ sh share/genbuild.sh build.h src/
$ make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment