August 14, 2022, 01:27:23 am

News:

* New! Latest stable version of Okcash Core v6.9.0.7-Aether *


How to compile OKCashd on Raspberry Pi

Started by pta2002, March 24, 2017, 04:05:11 pm

Previous topic - Next topic

pta2002

March 24, 2017, 04:05:11 pm Last Edit: August 03, 2017, 09:19:47 pm by shbour
If you for some reason don't want to install ROKOS, it's not very hard to compile okcashd on your pi. Keep in mind though, it'll take a while.

Please note that this will only install the daemon, not the GUI. This has been tested on a raspberry pi 3 running raspbian jessie.

STEP 1 Update your OS!


$ sudo apt update
$ sudo apt upgrade -y


STEP 2 Install dependencies


$ sudo apt-get install autoconf libevent-dev libtool libssl-dev libboost-all-dev libminiupnpc-dev git -y


STEP 3 Build BDB4.8

OKCash (and most other bitcoin-based cryptocurrencies) require berkeley db 4.8 to build, however, this version is deprecated and not found on most distro's repositories. Fortunately, we can compile it ourselves!


$ wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
$ tar -xzvf db-4.8.30.NC.tar.gz
$ cd db-4.8.30.NC/build_unix/
$ ../dist/configure --enable-cxx
$ make -j4 # If this causes problems, decrease the number
$ sudo make install


STEP 4 Download okcash source


$ cd ~
$ git clone https://github.com/okcashpro/okcash.git
$ cd okcash/src


STEP 5 Compile!


$ make -f makefile.unix -j2 BDB_INCLUDE_PATH=/usr/local/BerkeleyDB4.8/include/


If this fails, remove -j2. If it still fails, ask me. This will take a while (~1h) so take a break.

STEP 6 Install

$ sudo make install

STEP 7 Done!

Feel free to use okcashd now! It has to sync first though, so why not download the okcash bootstrap? https://github.com/okcashpro/ok-scripts/blob/master/linux/ok-sync-arm64.sh

rek769

STEP 5 Compile!


$ make -f makefile.unix -j2 BDB_INCLUDE_PATH=/usr/local/BerkeleyDB4.8/include/


If this fails, remove -j2. If it still fails, ask me. This will take a while (~1h) so take a break.
-------------------------------------------------------------------------------------

I get a system hang with inclusion of -j2
MAKE fails without -j2...error message follows:

In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
makefile.unix:193: recipe for target 'obj/db.o' failed
make: *** [obj/db.o] Error 1


RPi 3 with Ubuntu Mate OS
Thoughts and suggestions much appreciated!


rocket357

For the following error:
In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
#include <db_cxx.h>

I noticed that my system installed to /usr/local/BerkeleyDB.4.8/include/, not /usr/local/BerkeleyDB4.8/include/  (note the '.' in front of 4.8 ).

Super easy to overlook, so I thought I'd comment in case it helps someone else.

FrankJScott

To the person talking about manual de kriya yoga paramahansa yogananda pdf, best way to learn kriya yoga, kriya ki paribhasha, iniciación universitaria convocatoria 2022, kriya yoga que es, kundalini yoga book pdf in hindi,  I highly recommend this top rated kriya yoga meditation advice or kundalini shakti yoga in hindi, iniciación masónica aprendiz, kriya yoga meditation sadhguru, kriya yoga hariharananda giri, kundalini yoga teacher manual pdf, kriya yoga steps, and don't forget this high rated kriya yoga meditation advice and don't forget mindfulness la meditación científica pdf, kriya yoga pdf in telugu, clases de yoga para principiantes cerca de mi, babaji kriya yoga ashram quebec, kriya yoga ejercicios pdf, que es kundalini tantra yoga, not to mention this awesome kriya yoga meditation tips which is also great. Also have a look at this awesome kriya yoga meditation url and don't forget meditacion kundalini yoga para la ansiedad, meditacion guiada kriya yoga, iniciacion kriya yoga, lahiri mahasaya, nabhi kriya kundalini yoga pdf, kriya yoga sutras de patanjali marshall govindan, as well as this excellent kriya yoga meditation tips not to mention shiva kriya yoga argentina, mahavatar babaji kriya yoga technique, types of kriya in yoga, kriya yoga pdf, clases de kundalini yoga, mahavatar babaji books, alongside all updated kriya yoga meditation link which is also worth a look. I also suggest this awesome kriya yoga meditation tips not to mention babaji, clases de yoga cerca de mi ubicación, kriya yoga fees, como hacer kundalini yoga en casa, kundalini yoga iniciacion, ejercicios de respiracion kriya yoga, alongside all this awesome kriya yoga meditation site and don't forget yoga kundalini q es, meditación mindfulness, kriya yoga paramahamsa hariharananda, babaji maharaj mantra, yoga que es, swami satyananda saraswati yoga nidra, not to mention great kriya yoga meditation info which is also great. Finally, have a look at this top rated kriya yoga meditation site for good measure. Check more New Kriya Yoga Meditation Advice 8311814