Hey everyone!
I'm looking to run a Hyper Staking node on my raspberry pi 2. Can anyone provide any advice on how to compile the Hyper source on the PI? I have tried and ran into errors. Any help will be greatly appreciated.
Hi alldissolve;
What version of the wallet are you trying to compile? And what errors are you having?
If you want you can check out
this page and scroll down to “Building HYPER” and you’ll find some work I did when I first attempted to compile on my Linux computer. HYPERFuture said they changed the wallet build a little while ago so it would be easy to compile on Linux, and I don’t know how far different a pi is, but check it out and if you have any questions (like you’re getting other errors, etc), please just post here.
Thanks for the info, here is the error I get,
pi@raspberrypi ~/bin/Hyper $ sudo qmake
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building with IPv6 support
Project MESSAGE: Building with UPNP supportProject MESSAGE: Building with IPv6 supportProject MESSAGE: Warning: unknown QT: widgetsRemoved plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
pi@raspberrypi ~/bin/Hyper $ make
cd /home/pi/bin/Hyper; /bin/sh share/genbuild.sh /home/pi/bin/Hyper/build/build.h
g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -w -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_WEBKIT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/include -Ibuild -Ibuild -o build/bitcoin.o src/qt/bitcoin.cpp
Assembler messages:
Fatal error: can't create build/bitcoin.o: Permission denied
cc1plus: error: unrecognized command line option ‘-msse2’
Makefile:973: recipe for target 'build/bitcoin.o' failed
make: *** [build/bitcoin.o] Error 1
I started trying to compile the headless daemon version for rpi and so far have found these tips which may help you:
SSE2 relates to Intel's Streaming SIMD Extensions 2. It relates only to Intel X86 CPUs (or compatible CPUs). The Raspberry Pi uses an ARM CPU and so does not support SSE2.
I removed -msse2 from makefile.unix
You need boost:
sudo apt-get install libboost-dev
The above fails for me due to a lack of space. How much space do you have? Compile and such on sd card storage or etc, say df at cli to see disk usage.
EDIT:
Gave myself more room, installed boost.
You need berkeley DB:
wget
http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gztar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx
make
sudo make install
Wait a very long time... (I am here....)