Hier nun die Anleitung zum Kompilieren von core 0.21.0 auf einen RASPI3 mit RaspianOS (Debian Buster):
Alle Befehle werden mit dem Standard User durchgeführt, so das dieser auch Besitzer von Core ist.
Ich hoffe, das es auch auf dem BananaPi so geht, bitte Probieren.
sudo apt-get update
sudo apt-get upgrade
Hier nun Prüfen, welche Version RaspianOS nun installiert ist:
dies sollte das Ausgeben:
10.7
ein neues Verzeichniss Erstellen:
und in das Verzeichniss wechseln:
Nun die Sourcen von Core 0.21.0 herunterladen:
wget https://bitcoincore.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0.tar.gz
und entpacken:
tar xfvz bitcoin-0.21.0.tar.gz
oder Wahlweise auch über git:
git clone https://github.com/bitcoin/bitcoin.git
Nun die Abhängigkeiten zum Kompilieren Installieren:
sudo apt-get install autoconf
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt-get install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev
sudo apt-get install libzmq3-dev
Jetzt geht es ans Konfigurieren:
Zuerst das Buildsystem:
Nun die Bitcoin-core Konfigurieren, hier ohne Wallet, ohne gui (also kein bitcoin-qt) und ohne upnp
./configure --disable-wallet --without-gui --without-miniupnpc
Wenn das durchgelaufen ist erhält man folgende Ausgabe:
Options used to compile and link:
boost process = no
multiprocess = no
with wallet = no
with gui / qt = no
with zmq = yes
with test = yes
with fuzz = no
with bench = yes
with upnp = no
use asm = yes
sanitizers =
debug enabled = no
gprof enabled = no
werror = no
target os = linux
build os = linux-gnueabihf
CC = gcc
CFLAGS = -pthread -g -O2
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64
CXX = g++ -std=c++11
CXXFLAGS = -fstack-reuse=none -Wstack-protector -fstack-protector-all -fstack-clash-protection -Wall -Wextra -Wformat -Wformat-security -Wvla -Wswitch -Wredundant-decls -Wunused-variable -Wdate-time -Wsign-compare -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wno-unused-parameter -Wno-implicit-fallthrough -g -O2 -fno-extended-identifiers
LDFLAGS = -lpthread -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie
ARFLAGS = cr
nun bitcoin-core Bauen mit:
Einen Size-B* Kaffeee holen und Abwarten, wenn ihr den auf habt, ist das Kompilieren fertig
![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
Heute selber kompiliert und getestet, bitcoind läuft Einwandfrei.
Alle Informationen zum Bauen habe ich der Doc entnommen.
QUELLE: bitcoin-0.21.0/doc/build-unix.md
*
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.ibb.co%2F9yh8hNN%2FKaffee.png&t=663&c=et-yDl3G1852_Q)
Quelle: Loadingartist.com