Hello !
Currentc version -
https://github.com/kzcashteam/kzcash.gitworking only Unubtu 16.04
Help please compile on Ubuntu 22.04.
./autogen.sh - finished succesfully
Makefile.am:5: warning: user variable 'GZIP_ENV' defined here ...
/usr/share/automake-1.16/am/distdir.am: ... overrides Automake variable 'GZIP_ENV' defined here
Makefile.am:58: warning: user target 'distcleancheck' defined here ...
/usr/share/automake-1.16/am/distdir.am: ... overrides Automake target 'distcleancheck' defined here
src/Makefile.am: installing 'build-aux/depcomp'
src/Makefile.am:514: warning: user target '.mm.o' defined here ...
/usr/share/automake-1.16/am/depend2.am: ... overrides Automake target '.mm.o' defined here
parallel-tests: installing 'build-aux/test-driver'
Have errors on ./configure
First I got an error message:
configure: error: Found Berkeley DB other than 4.8, required for portable walletsI solved this error as follows:
KZC_ROOT=$(pwd)
BDB_PREFIX="${KZC_ROOT}/berkeley-db"
mkdir -p $BDB_PREFIX
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
sudo make install
And run:
BDB_PREFIX=/root/kzcash/berkeley-db
cd /root/kzcash
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" --disable-tests --disable-gui-tests
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pc/libunivalue.pc
config.status: creating pc/libunivalue-uninstalled.pc
config.status: creating univalue-config.h
config.status: univalue-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Fixing libtool for -rpath problems.
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
make[2]: *** [Makefile:5813: libbitcoin_server_a-init.o] Error 1
make[2]: Leaving directory '/root/kzcash/src'
make[1]: *** [Makefile:9408: all-recursive] Error 1
make[1]: Leaving directory '/root/kzcash/src'
make: *** [Makefile:655: all-recursive] Error 1
Please, help me.