kdmukai / raspi4_bitcoin_node_tutorial

Raspberry Pi 4 Bitcoin Full Node tutorial
MIT License
70 stars 7 forks source link

UNAME_VERSION = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 configure: error: cannot guess build type; you must specify one #3

Open bluexcoin opened 2 years ago

bluexcoin commented 2 years ago

Hello all, I need your help because I will not find a solution.

I use Raspberry Compute Modul an get following error by compiling DB. Can anyone help me in this case?

UNAME_VERSION = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 configure: error: cannot guess build type; you must specify one

pi@raspberrypi:~/bin/db-4.8.30.NC/build_unix $ ../dist/configure --enable-cxx checking build system type... ../dist/config.guess: unable to guess system type

This script, last modified 2009-02-03, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (../dist/config.guess) is already up to date, please send the following data and any information you think might be pertinent to config-patches@gnu.org in order to provide the needed information to handle your system.

config.guess timestamp = 2009-02-03

uname -m = aarch64 uname -r = 5.15.61-v8+ uname -s = Linux uname -v = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022

/usr/bin/uname -p = unknown /bin/uname -X =

hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = aarch64 /usr/bin/oslevel = /usr/convex/getsysinfo =

UNAME_MACHINE = aarch64 UNAME_RELEASE = 5.15.61-v8+ UNAME_SYSTEM = Linux UNAME_VERSION = #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 configure: error: cannot guess build type; you must specify one pi@raspberrypi:~/bin/db-4.8.30.NC/build_unix $

Pluettmann commented 3 months ago

I just stumbled on the same error on my rpi5. The solution is rather simple. Just add the option --build=arm and you're done. This is because the old configure script doesn't know about your hardware and can't guess the system. For the compute module it also should be --build=arm