Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Kzc_support on February 11, 2024, 01:47:15 AM



Title: Compile wallet KZ Cash on Ubuntu 22.04
Post by: Kzc_support 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.



Title: Re: Compile wallet KZ Cash on Ubuntu 22.04
Post by: seoincorporation on February 11, 2024, 02:18:13 AM
Hello !

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

That isn't true, i just try it and works fine on the last version of ubuntu.

You can download the compiled version from here:

https://github.com/kzcashteam/kzcash/releases

I tried the Cli version:

https://github.com/kzcashteam/kzcash/releases/download/v0.1.9.1/kzcash-0.1.9.1-cli-linux-ubuntu1604.tar.gz

Code:
$ ls
kzcash-cli  kzcashd  kzcash-tx
x@x:~/kz$ ./kzcashd

And when i try the get info command it was running fine:

Code:
$ ./kzcash-cli getinfo
{
  "version": 10901,
  "protocolversion": 70207,
  "walletversion": 10100,
  "balance": 0.00000000,
  "privatesend_balance": 0.00000000,
  "blocks": 0,
  "timeoffset": 0,
  "connections": 0,
  "proxy": "",
  "difficulty": 0.000244140625,
  "testnet": false,
  "keypoololdest": 1707617624,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}

So, you don't have to compile it, just download and run it.


Title: Re: Compile wallet KZ Cash on Ubuntu 22.04
Post by: Kzc_support on February 17, 2024, 12:28:36 AM
Hello !

I received this message from MNO (https://masternodes.online/):

Quote
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

When we try starting your provided binary, we get this error: kzcashd: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory.
This is an old library, and installing it on Ubuntu 22 is not recommended (but I assume that you have done that to get the wallet to run?).We still have not been able to compile your wallet on the new system, because of issues due to the age of the code. Please provide us with a wallet that is compiled for Ubuntu 22 or fix your source code. Thank you




Title: Re: Compile wallet KZ Cash on Ubuntu 22.04
Post by: Ben Barubal on February 17, 2024, 04:43:27 AM
   Is this the one I watched on youtube teaching a tutorial about mining with a mobile device? Because it seems like someone is watching something like that. Although, his tutorial is long and there are commands he uses. Am I saying this right? ubuntu is also what I'm
watching taught by a youtuber.

This is the video I say I watched https://www.youtube.com/watch?v=CzsRAIeLdwY
This has been taught a lot by various mining using phone devices.


Title: Re: Compile wallet KZ Cash on Ubuntu 22.04
Post by: nelson4lov on February 17, 2024, 09:13:59 AM
   Is this the one I watched on youtube teaching a tutorial about mining with a mobile device? Because it seems like someone is watching something like that. Although, his tutorial is long and there are commands he uses. Am I saying this right? ubuntu is also what I'm
watching taught by a youtuber.

This is the video I say I watched https://www.youtube.com/watch?v=CzsRAIeLdwY
This has been taught a lot by various mining using phone devices.

Contrary to popular beliefs, there is nothing like mining on mobile. Any project that says you can mine directly from your mobile device is just outright lieing because it's not possible at least not yet. For mining, you'd need a dedicated hardware will the required computing power to be able to mine. The video you mentioned looks more like a VPS that is being used to run a node software. That is an entirely different thing compared to mining.