Bitcoin Forum
May 12, 2024, 10:36:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compile wallet KZ Cash on Ubuntu 22.04  (Read 69 times)
Kzc_support (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile WWW
February 11, 2024, 01:47:15 AM
 #1

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.

1715553388
Hero Member
*
Offline Offline

Posts: 1715553388

View Profile Personal Message (Offline)

Ignore
1715553388
Reply with quote  #2

1715553388
Report to moderator
1715553388
Hero Member
*
Offline Offline

Posts: 1715553388

View Profile Personal Message (Offline)

Ignore
1715553388
Reply with quote  #2

1715553388
Report to moderator
1715553388
Hero Member
*
Offline Offline

Posts: 1715553388

View Profile Personal Message (Offline)

Ignore
1715553388
Reply with quote  #2

1715553388
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2935


Top Crypto Casino


View Profile
February 11, 2024, 02:18:13 AM
 #2

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Kzc_support (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile WWW
February 17, 2024, 12:28:36 AM
 #3

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


Ben Barubal
Member
**
Offline Offline

Activity: 490
Merit: 16

Eloncoin.org - Mars, here we come!


View Profile
February 17, 2024, 04:43:27 AM
 #4

   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.

ElonCoin.org    ElonCoin.org    ElonCoin.org     ElonCoin.org     ElonCoin.org    ElonCoin.org    ElonCoin.org
●          Mars, here we come!          ●
██ ████ ███ ██ ████ ███ ██   Join Discord   ██ ███ ████ ██ ███ ████ ██
nelson4lov
Hero Member
*****
Online Online

Activity: 2072
Merit: 793


Top Crypto Casino


View Profile
February 17, 2024, 09:13:59 AM
 #5

   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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!