Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Cryptoncoin(CCN)-PoW-Exchange
by
cryptonclub
on 04/02/2020, 23:24:39 UTC
trying to compile the wallet but get following error by "make"

/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
Makefile:4345: recipe for target 'libcryptoncoinconsensus.la' failed
make[2]: *** [libcryptoncoinconsensus.la] Error 1
make[2]: Leaving directory '/root/source_code/cryptoncoin/src'
Makefile:11311: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/source_code/cryptoncoin/src'
Makefile:686: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Any hints?
/usr/bin/ld: cannot find -lgmp      did you compile depends?your install all libraries?write how you compiled)  you need start ./avtogen.sh,then cd depends,make)than depends compiled,go to folder with source, ./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu   and if no errors have occurred type make)



Use the following instructions to compile a daemon and GUI wallet for Ubuntu Server 14.04/16.04/18.04.

Update your Ubuntu machine.
Code:
sudo apt-get update
sudo apt-get upgrade

Install the required dependencies.
Code:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev
sudo apt-get install libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev unzip doxygen cmake libgmp3-dev

Code:
Install Berkeley DB.
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Install BLS signatures.
Code:
cd ~/
wget https://github.com/codablock/bls-signatures/archive/v20181101.zip
unzip v20181101.zip
cd bls-signatures-20181101
cmake .
sudo make install


Download the source code from Github
Code:
git clone https://github.com/cryptonclub/cryptoncoin.git

cd cryptoncoin

Execute the following commands to start compiling.
Code:
./autogen.sh
./configure
make

make install

cd src

strip cryptoncoind

Execute the following commands to start CCN Wallet Node
Code:
./cryptoncoind