Post
Topic
Board Announcements (Altcoins)
Re: chipsd on Debian 9 (Stretch)
by
boacw
on 08/10/2017, 16:52:28 UTC
I compiled chipsd on Debian 9 and, because I looked for this before and didn't find, I'm writing this message.
Is there a wiki I can contribute to to write the steps I followed?
that's great!
for now, just post here so we have the info for when we make wiki

These steps only build the headless version (chips-cli, chipsd...), not QT version!
I didn't verified what dependency it needs to. If you want to build QT version, don't put the "--with-gui=no" parameter at the end of these steps.

  • sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
  • git clone https://github.com/jl777/chips3
  • cd chips3
Install Berkeley DB 4.8 from source:
  • BITCOIN_ROOT=$(pwd)
  • BDB_PREFIX="${BITCOIN_ROOT}/db4"
  • mkdir -p $BDB_PREFIX
  • wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
  • echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c
    (it should display it succeeded)
  • tar -xzvf db-4.8.30.NC.tar.gz
  • cd db-4.8.30.NC/build_unix/
  • ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
  • make install
Continue with chips:
  • cd $BITCOIN_ROOT
  • ./autogen.sh
  • ./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" --with-gui=no
  • make
  • ./chipsd -addnode=5.9.253.195