After testing other wallets all the namecoin spin-offs fail, something with the libboost I think. I installed libboost 1.53 - tried so many variations I can barely think straight, messed with makefiles and where they had them configure files and I got it to go a bit farther with some adjustments, but still fails every time.
I'm in a similar boat--I was having a hell of a time getting this to build in Ubuntu. I tried to get the gui-wallet happening but flunked with the errors described below. However, I just got the headless wallet compiled after passing --without-gui to configure but the nodes listed in the block explorer are these
/Offerings:1.6.2/ 80001 10 90.9 % 90.9 %
/Satoshi:0.8.6.2/ 80007 1 9.1 % 100.0 %
and they're not connecting with the version that I installed:
./offering-cli getinfo
{
"version" : 1070000,
"protocolversion" : 80002,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 0,
"timeoffset" : 0,
"connections" : 0,
"proxy" : "",
"difficulty" : 0.06249911,
"testnet" : false,
"keypoololdest" : 1508366794,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"relayfee" : 0.00100000,
"errors" : ""
}
I guess version 1.7 wants to be an aloof bastard ... but it seems some progress was made. I probably just have to install a different version by cloning an earlier commit/version. That's enough for today anyhow.
/////////////////////////////////////////////////////////////////////
** Earlier msg when trying to build gui-wallet: **
/////////////////////////////////////////////////////////////////////
I'm getting that pervasive "You must build your code with position independent code" error. I recently got the Skidoo wallet built after circumventing that or a very similar error but the makefiles of these coins are significantly different once the configure script has been run and the Skidoo fix isn't doing the job here.
The full error lines are:
CXX qt/qt_libofferingqt_a-bitcoinaddressvalidator.o
CXX qt/qt_libofferingqt_a-bitcoinamountfield.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qvalidator.h:38,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QValidator:1,
from qt/bitcoinaddressvalidator.h:8,
from qt/bitcoinaddressvalidator.cpp:5:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindowdefs.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
from qt/bitcoinamountfield.h:10,
from qt/bitcoinamountfield.cpp:5:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindowdefs.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1,
from qt/bitcoingui.h:14,
from qt/bitcoin.cpp:9:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
Makefile:4222: recipe for target 'qt/qt_libofferingqt_a-bitcoinamountfield.o' failed
From what I've been able to figure out, each of those blocks of "froms" starts from the bottom and issues a function call that ultimately works up to Linux's g++ compiler.
The configure line (with the passed arguments) I'm using is: ./configure --disable-upnp-default --with-gui=qt5 --with-pic --enable-hardening
One of the reference texts said --enable-hardening incorporated PIC so I tried that. I've also tried --disable-upnp-default --with-gui=qt5 --with-pic and
./configure --disable-upnp-default --with-pic