Finally, I've managed to make
kingncoind daemon compiled successfully on Linux CentOS 6
This is my step by step, in case someone else having the same issue like what I am struggling with.
clone the git repo:
git clone https://github.com/ulandort/kingncoin-source.git
cd (change current working directory) into the newly created directory, and go straight to
src folder:
If you're using VPS, maybe there is no command line called
lscpu.
The workaround for this is by editing the file
makefile.unix,
change the line:
ARCH:=$(system lscpu | head -n 1 | awk '{print $2}')
to:
If your
boost-thread library version is 1.37 and above,
add new variable below this line:
# for boost 1.37, add -mt to the boost libraries
type/insert a new line:
How to find out the boost-thread library version?
Just type this command if you are using CentOS machine:
rpm -qa | grep boost-thread
in my case, it is:
boost-thread-1.41.0-25.el6.centos.x86_64Close/save the file.
Then you have to create a folder called
zerocoin inside folder
obj, which is not yet available:
After that, give executable permission to file
build_detect_platform:
chmod +x src/leveldb/build_detect_platform
Compile
libleveldb.a and
libmemenv.a library which is needed for linking
kingncoind binnary:
cd src/leveldb && make libleveldb.a libmemenv.a
After everything compiled, go back to
src directory and start compiling:
cd .. && make -f makefile.unix USE_UPNP=-
I dont want to use UPNP for now, I dont know what it is used for.
refference:
https://github.com/exclusivecoin/Exclusive/issues/1Hope that helps someone.
Cheers!