Followed the "build-osx.md" mark down instructions, but required slight tailoring. Step #4 documents where the errors occur. Beyond the "brew install autoconf automake libtool boost miniupnpc openssl pkg-config protobuf qt5"
Recommend tweaking instructions after executing the "brew install https://raw.github.com/homebrew/homebrew/master/Library/Formula/berkeley-db4.rb -–without-java" command for people to type "pwd" immediately afterwards so they know for sure they are in the brew interactive mode before executing "cd ..".
My Homebrew is installed in a nonstandard location. The brew interactive installation for berkeley-db4 looks like this "db-4.8.30/dist/configure --prefix=/Users/Dude/usr/local/Homebrew/Cellar/berkeley-db4/4.8.30 --mandir=/Users/Dude/usr/local/Homebrew/Cellar/berkeley-db4/4.8.30/share/man --enable-cxx"
interactive mode "make" completed successfully
make install Installing DB library: /usr/local/Cellar/berkeley-db4/4.8.30/lib ... Installing DB include files: /usr/local/Cellar/berkeley-db4/4.8.30/include ... Installing DB utilities: /usr/local/Cellar/berkeley-db4/4.8.30/bin ... Installing documentation: /usr/local/Cellar/berkeley-db4/4.8.30/docs ... mkdir: /usr/local/Cellar/berkeley-db4/4.8.30: Permission denied make: *** [install_setup] Error 1 make: *** Waiting for unfinished jobs.... mkdir: /usr/local/Cellar/berkeley-db4/4.8.30/include: Permission denied mkdir: /usr/local/Cellar/berkeley-db4/4.8.30/lib: Permission denied mkdir: /usr/local/Cellar/berkeley-db4/4.8.30/bin: Permission denied make: *** [install_lib] Error 1 make: *** [install_include] Error 1 make: *** [install_utilities] Error 1 mkdir: /usr/local/Cellar/berkeley-db4/4.8.30/docs: Permission denied make: *** [install_docs] Error 1
Any recommendations for a security conscious dude that does not like to use root-enabled brew commands unless absolutely necessary?
My .cshrc file has the following environmental variables set:
setenv HOMEBREW_PREFIX /Users/Dude/usr/local setenv HOMEBREW_REPOSITORY /Users/Dude/usr/local/Homebrew setenv HOMEBREW_CELLAR /Users/Dude/usr/local/Homebrew/Cellar setenv HOMEBREW_LIBRARY_PATH /Users/Dude/usr/local/Homebrew/Library/Homebrew setenv HOMEBREW_CACHE /Users/Dude/usr/local/cache
- Also - After the exit command, the next command should be "brew link berkeley-db4 --force". The last two arguments are transposed.
FYSA - Got libbitcoin-server and bitcoin-explorer to compile with Homebrew installed in a non-standard location.