Post
Topic
Board Announcements (Altcoins)
Re: HoboNickels - HBN - High Fast Stake - Version 2.0! More Secure, Less Intensive
by
mintymark
on 01/11/2017, 11:35:17 UTC
So I'm trying to run Hobonickels 2.0.1.0 on my 32 Bit Ubuntu 16.04.3 with the Gbome desktop. I am running kernel 4.4.0-96-generic.

I have tried several approaches with no success, so in the end I thought I would document the most promising here with the problems.

Essentially I have followed the instructions in the documentation.

Building the daemon - 1 problem:

cd src/
make -f makefile.unix

rpcrawtransaction.cpp:212:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE’
     BOOST_STATIC_ASSERT_MSG(

I made this change to fix that:
rpcrawtransaction.cpp:212

// const CScriptID& hash = boost::get(address);
                const CScriptID& hash = boost::get(address);


Then

make -f makefile.unix

ls -l hobonickelsd
-rwxrwxr-x  1 mark mark 60953960 Nov  1 10:49 hobonickelsd

When run it comes up with a database corruption error but I'll worry about that later.


Now to make the qt version. I've assumed that qt5 is what should be used but some of the errormessages imply it has not been well converted from qt4


Running qmake, Its not clear to me which qt version I should be using, Some of the error messages imply it should be 5 but the dependencies list implies 5 so I went with that. The fact that the readme-qt.rst states to install qt5-default is the decider.

   apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools \
        build-essential libboost-dev libboost-system-dev \
        libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
        libssl-dev libdb++-dev libminiupnpc-dev

0 to upgrade, 0 to newly install, 0 to remove and 10 not to upgrade.


which qmake
/usr/bin/qmake

ls -l /usr/bin/qmake
lrwxrwxrwx 1 root root 9 Dec  9  2015 /usr/bin/qmake -> qtchooser
which qtchooser
/usr/bin/qtchooser
qmake
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building with DBUS (Freedesktop notifications) support
Project MESSAGE: Building with LevelDB
Warning: ignoring element
Warning: ignoring element
Warning: ignoring element
makecd /home/mark/src/HoboNickels-2.0.1.0/src/leveldb && CC=gcc CXX=g++ make OPT="-pipe -fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/home/mark/src/HoboNickels-2.0.1.0/src/leveldb'
make[1]: *** No rule to make target 'libleveldb.a'. Stop.
make[1]: Leaving directory '/home/mark/src/HoboNickels-2.0.1.0/src/leveldb'
Makefile:723: recipe for target '/home/mark/src/HoboNickels-2.0.1.0/src/leveldb/libleveldb.a' failed
make: *** [/home/mark/src/HoboNickels-2.0.1.0/src/leveldb/libleveldb.a] Error 2

find . -name libleveldb.a
./src/leveldb/out-static/libleveldb.a

Hmm,
Well, copy that file up and see what happens::
cp ./src/leveldb/out-static/libleveldb.a ./src/leveldb/libleveldb.a
Didnt help. removed the copy.

So thats where I am at the moment.

Anyone any advice ?