-
-
Save anonymous/1a8deaffc95d102a2dbc to your computer and use it in GitHub Desktop.
openBSD 5.5 bitcoind 7.2 build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pkg_add git | |
sudo pkg_add unzip | |
sudo pkg_add boost | |
sudo pkg_add gmake | |
sudo pkg_add gcc-4.6.4p7 | |
sudo pkg_add g++-4.6.4p4 | |
curl -O http://download.oracle.com/berkeley-db/db-4.8.30.NC.zip | |
unzip db-4.8.30.NC.zip | |
cd db-4.8.30.NC/build_unix | |
../dist/configure --prefix=/usr/local --disable-replication --enable-cxx --enable-shared=yes | |
sudo make install | |
git clone -b 0.7.2 https://github.com/bitcoin/bitcoin.git | |
#apply patch from https://gist.github.com/anonymous/c30fb8d6f09517097d2e | |
cd bitcoin/src | |
#we use alternate gcc | |
export CXX=eg++ | |
gmake -f makefile.unix USE_UPNP=- USE_IPV6=0 BOOST_LIB_SUFFIX=-mt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment