Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2014 23:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1a8deaffc95d102a2dbc to your computer and use it in GitHub Desktop.
Save anonymous/1a8deaffc95d102a2dbc to your computer and use it in GitHub Desktop.
openBSD 5.5 bitcoind 7.2 build
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