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:

<https://gist.github.com/ashleyconnor/944f611b969444f06430145972b880cf>

Has anybody managed to get this working?