btcdeb
btcdeb copied to clipboard
Linux installation issue
Apologies if this is an obvious query - I am relative novice with linux, this is first time I've tried to build anything from source (I assume that's what I'm doing with the 'make' command)
I have installed the dependencies but am running into the error below.
I have the source files in my downloads folder, should I move them elsewhere?
adam@server:~/downloads/btcdeb/btcdeb-0.3.20$ make make[1]: Entering directory '/home/adam/downloads/btcdeb/btcdeb-0.3.20' make[2]: Entering directory '/home/adam/downloads/btcdeb/btcdeb-0.3.20/secp256k1' make[2]: Leaving directory '/home/adam/downloads/btcdeb/btcdeb-0.3.20/secp256k1' CXX test/btcdeb-test-btcdeb.o In file included from /usr/include/signal.h:328, from test/catch.hpp:6113, from test/test-btcdeb.cpp:3: test/catch.hpp:8749:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 8749 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from test/catch.hpp:6113, from test/test-btcdeb.cpp:3: /usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ In file included from test/test-btcdeb.cpp:3: test/catch.hpp:8808:45: error: size of array ‘altStackMem’ is not an integral constant-expression 8808 | char FatalConditionHandler::altStackMem[sigStackSize] = {}; | ^~~~~~~~~~~~ make[1]: *** [Makefile:1479: test/btcdeb-test-btcdeb.o] Error 1 make[1]: Leaving directory '/home/adam/downloads/btcdeb/btcdeb-0.3.20' make: *** [Makefile:1536: all-recursive] Error 1