Skip to content

Conversation

@bitcartel
Copy link

Current status with patches:

  • Binaries appear to function normally; can create a chain, launch and interact via multichain-cli.
  • Binaries rely on dylibs in /usr/local/opt which an user's system may not have.
  • Test suite has not been run against the binaries.

How to build:

  • MacOS Sierra (i.e. Mac OS X 10.12)
  • Install XCode and XCode command line tools
  • Install git from git-scm
  • Install brew (follow instructions on brew.sh)
  • brew install autoconf automake berkeley-db4 libtool boost openssl pkg-config
  • if miniupnpc is installed, later in the ./configure stage pass option: --with-miniupnpc=no
  • export LDFLAGS=-L/usr/local/opt/openssl/lib
  • export CPPFLAGS=-I/usr/local/opt/openssl/include
  • ./configure --with-gui=no --with-libs=no
  • make

simon added 3 commits May 7, 2017 21:36
error: use of undeclared identifier 'lseek64'; did you mean 'lseek'?
error: cast from pointer to smaller type 'unsigned int' loses information
sem_init() is deprecated, so use sem_open() instead.
@bitcartel bitcartel requested review from gidgreen and mike31 May 15, 2017 06:24
bitcartel added 2 commits May 20, 2017 13:26
Datadir path now set to $HOME/.multichain to be the same as Unix
IP address auto-detection for Mac.
@bitcartel
Copy link
Author

Pull request has been updated.

  • datadir is now ~/.multichain
  • fixed ip auto detection
  • now builds static binaries
  • updated README with build instructions

Leveldb uses OSMemoryBarrier() which is deprecated in macOS 10.12
resulting in build warnings.  Fixed by applying upstream patch to
replace OSMemoryBarrier() with std::atomic_thread_fence().
@DCardosa
Copy link

DCardosa commented Jan 2, 2018

I've been trying build a a chain on a Mac.....I did everything in the post by BitCartel, I think but I'm not sure. I am just learning to code so things are rather fuzzy right now. How do I check what I compiled to see if its' right or working at all? How do I set up the node once I compile the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants