I'm trying to make the linux wallet on Ubuntu 20.10
It fails
sudo add-apt-repository ppa:bitcoin/bitcoin
Repository: 'deb
http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu/ groovy main'
Description:
NOT MAINTAINED. The OS-library linking packages here had a series of issues.
Can anyone give me some simple instructions to follow?
Ubuntu and Debian have their own `libdb-dev` and `libdb++-dev` packages, but these will install
BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which
are based on BerkeleyDB 4.8. If you do not care about wallet compatibility,
pass `--with-incompatible-bdb` to configure.
There are two main ways to proceed.
If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build, following the instructions in
depends/README.md, using
HOST=x86_64-linux-gnu, i.e:
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make
Otherwise, if you're just building for yourself, use
sudo apt install libdb-dev libdb++-dev and add
--with-incompatible-bdb to the options to
configure.
Cheers
Graham
Hi Graham, i tried option 1
and got
cd depends
make HOST=x86_64-linux-gnu
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure --prefix=/
make
Making all in src
make[1]: Entering directory '/home/jase1/Downloads/gapcoin-core/src'
make[2]: Entering directory '/home/jase1/Downloads/gapcoin-core/src'
CXX libbitcoinconsensus_la-arith_uint256.lo
CXX libbitcoinconsensus_la-hash.lo
CXX libbitcoinconsensus_la-pubkey.lo
CXX libbitcoinconsensus_la-uint256.lo
CXX libbitcoinconsensus_la-utilstrencodings.lo
CXX gapcoind-bitcoind.o
CXX libbitcoin_server_a-addrdb.o
make[3]: Entering directory '/home/jase1/Downloads/gapcoin-core/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
CXX libbitcoin_server_a-addrman.o
CXX libbitcoin_server_a-bloom.o
CXX libbitcoin_server_a-blockencodings.o
CXX libbitcoin_server_a-chain.o
In file included from ./chain.h:12:0,
from chain.cpp:8:
./pow.h:11:29: fatal error: PoWCore/src/PoW.h: No such file or directory
compilation terminated.
TBH, i started @ 7.30am with LM20.1, (my fault), then rebuild hard drive with clean LM20.04 for a few attempts, finally started afresh with LM18.3, and now @14.50pm, still have no wallet, so i give in
I must stress, i completely appreciate the efforts yourself and many other programmers on here put in, but when i read
"If you need to preserve wallet compatibility with distributed Gapcoin executables, then do a "depends" build", i'm sat here thinking, i don't even know what that means, nevermind knowing if i should worry about it....
It really should not be this difficult to start with a clean drive, install LM or Ubuntu and get a fresh wallet running...