Bitcoin Forum
May 05, 2024, 03:58:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Compile wallet KZ Cash on Ubuntu 22.04 on: February 11, 2024, 01:47:15 AM
Hello !

Currentc version - https://github.com/kzcashteam/kzcash.git
working only Unubtu 16.04

Help please compile on Ubuntu 22.04.
./autogen.sh - finished succesfully
Quote
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 wallets

I solved this error as follows:
Code:
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:
Code:
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

Quote
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.

Code:
make

Quote
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.

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!