Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ashleyconnor on May 14, 2012, 06:41:23 PM



Title: Trouble compiling bitcoind on OSX with homebrew
Post by: ashleyconnor on May 14, 2012, 06:41:23 PM
I've read the README on the bitcoin github page which instructs you to install the following libraries using MacPorts - boost db48 dbus openssl.

I have these installed using homebrew which I use instead of macports. They are also the correct versions as homebrew installs, later, incompatible versions.

With these installed I edited the make to point to the libraries homebrew installed namely DEPSDIR=/usr/local and adding -I"$(DEPSDIR)/Cellar/berkeley-db4/4.8.30/include" to INCLUDEPATHS

However I'm getting this compiler error which is cryptic to me:

http://pastebin.com/6ey859uK

Has anybody managed to get this working?


Title: Re: Trouble compiling bitcoind on OSX with homebrew
Post by: Red Emerald on August 27, 2012, 07:56:32 AM
I've setup a brew-tap that makes this super easy.

Code:
brew tap WyseNynja/bitcoin
brew install wysenynja/bitcoin/bitcoind

Right now it installs version 0.6.3 (or head if you pass --head).  I'm not sure how to have it allow multiple versions; I'm still reading the docs.

I'm also about to add "bitcoind-next-test"