building it properly is a pain (as usual). here are the steps I used to get a stable build:
sudo apt-get install software-properties-common autoconf git build-essential libtool libprotobuf-c-dev libgmp-dev libsqlite3-dev python python3 zip jq libevent-dev pkg-config libssl-dev libcurl4-gnutls-dev cmake
add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
cd
wget
https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.zipunzip boost_1_64_0.zip
cd boost_1_64_0
./bootstrap.sh
./b2
./b2 install
cd
git clone
https://github.com/jl777/chips3cd ~/chips3
./autogen.sh
./configure --with-boost=/usr/local/
cd src
make -j8 chipsd
make chips-cli
cp chips-cli /usr/bin # just need to get chips-cli to work from command line
# make -> will build everything, including QT wallet
sudo ldconfig /usr/local/lib # thanks smaragda!
./chipsd -addnode=5.9.253.195 &
cd
git clone
https://github.com/jl777/lightningcd lightning
make
daemon/lightning-cli stop; lightningd/lightningd --log-level=debug &
cd privatebet
./m_bet
./client or ./host
Please post here if you get a node up and running. I am actively enhancing it so we can get some realtime transactions between nodes soon. I plan to have 10 live nodes today
######
seems bitcoin ppa doesnt have bdb 4.8 anymore. here are manual compile instructions:
ou could compile it from source as well.
wget '
http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx
make
make install
Tell your system where to find db4.8
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so