This manual is for a i386-Debian 8-system (Jessie).
Start via:
sudo apt-get update
Install some necessary packages, I am not sure what is really needed since this is stuff is needed for building namecoin-qt but maybe some of the feathercoin developers can enlighten me:
sudo apt-get install libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-program-options-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev libboost-dev libminiupnpc-dev git qt4-qmake libqt4-dev build-essential qt4-linguist-tools libssl-dev
Install additional packages needed for feathercoin:
sudo apt-get install libboost1.55-all-dev autogen dh-autoreconf pkg-config libqrencode-dev libprotobuf-dev protobuf-compiler qtbase5-dev libqt5core5a libqt5gui5 libqt5dbus5 qttools5-dev qttools5-dev-tools
Now, suppose, that we are in
/home/user/stuff
We need Berkeley-DB 4.8 (do we???), get it:
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
tar -xzvf db-4.8.30.NC.tar.gz
Make directory for installing db-4.8 since we don’t want to install it in the system:
mkdir /home/user/stuff/db-4.8
Now, build db-4.8:
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/user/stuff/db-4.8
make
make install
Get this stupid zxing-library which seems not to exist (sorry, but no other coin needs this):
wget http://download.opensuse.org/repositories/home:/wellenreiter01/Debian_7.0/i386/libzxing_1.0-1.0_i386.deb
dpkg -i libzxing_1.0-1.0_i386.deb
(It only contains headers, alternatively one could install them via
ar -x libzxing_1.0-1.0_i386.deb
tar -xzvf data.tar.gz
and then copying the headers to the corresponding place by hand.)
Finally, we build feathercoin:
git clone https://github.com/FeatherCoin/Feathercoin.git
cd Feathercoin
./autogen.sh
./configure LDFLAGS="-L/home/user/stuff/db-4.8/lib/" CPPFLAGS="-I/home/user/stuff/db-4.8/include/" --with-boost-libdir=/usr/lib/i386-linux-gnu --with-gui=qt5
make
Building ends with an error message, but the feathercoin-qt binary should be located in src/qt.
Good night.