Hello all! May be someone can explain me, how I can build dashd from sources? I've spend 2 days for searching any solutions, bot steel no result.
I trying to make dashd at Gentoo system, agreed generic build notes, I trying to make dashd, I have done the following:
# wget https://github.com/dashpay/dash/releases/download/v0.13.0.0-rc9/dashcore-0.13.0.0-rc9.tar.gz
# tar -xvf dashcore-0.13.0.0-rc9.tar.gz
# cd dashcore-0.13.0
# mkdir temp
# cd temp
# git clone https://github.com/dashpay/dash.git
# cp -pr dashcore/depends ../dashcore-0.13.0
# cd depends
# make -j 8
(here I waiting for building depends, successful result is:
copying packages: native_protobuf boost openssl libevent zeromq qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc
to: /home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu)
# cd ..
# ./autogen.sh (run without any errors)
# ./configure --prefix=/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu --without-miniupnpc --disable-upnp-default --without-gui
result is (
Options used to compile and link:
with wallet = yes
with gui / qt = no
with zmq = yes
with test = yes
with bench = yes
with upnp = no
debug enabled = no
werror = no
target os = linux
build os =
CC = gcc -m64
CFLAGS = -pipe -O2
CPPFLAGS = -I/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu/share/../include/ -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = g++ -m64 -std=c++14
CXXFLAGS = -pipe -O2
LDFLAGS = -L/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu/share/../lib
# make
Making all in src
make[1]: Entering directory '/home/dash/build/dashcore-0.13.0/src'
make[2]: Entering directory '/home/dash/build/dashcore-0.13.0/src'
CXX crypto/libdashconsensus_la-aes.lo
CXX crypto/libdashconsensus_la-hmac_sha256.lo
CXX crypto/libdashconsensus_la-hmac_sha512.lo
CXX crypto/libdashconsensus_la-ripemd160.lo
CC crypto/libdashconsensus_la-aes_helper.lo
CXX crypto/libdashconsensus_la-sha1.lo
CXX crypto/libdashconsensus_la-sha256.lo
CXX crypto/libdashconsensus_la-sha512.lo
CC crypto/libdashconsensus_la-blake.lo
CC crypto/libdashconsensus_la-bmw.lo
CC crypto/libdashconsensus_la-cubehash.lo
CC crypto/libdashconsensus_la-echo.lo
CC crypto/libdashconsensus_la-groestl.lo
CC crypto/libdashconsensus_la-jh.lo
CC crypto/libdashconsensus_la-keccak.lo
CC crypto/libdashconsensus_la-luffa.lo
CC crypto/libdashconsensus_la-shavite.lo
CC crypto/libdashconsensus_la-simd.lo
CC crypto/libdashconsensus_la-skein.lo
CXX libdashconsensus_la-arith_uint256.lo
CXX bls/libdashconsensus_la-bls.lo
In file included from bls/bls.cpp:5:0:
bls/bls.h:14:10: fatal error: chiabls/bls.hpp: No such file or directory
#include <chiabls/bls.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:9318: bls/libdashconsensus_la-bls.lo] Error 1
make[2]: Leaving directory '/home/dash/build/dashcore-0.13.0/src'
make[1]: *** [Makefile:10948: all-recursive] Error 1
make[1]: Leaving directory '/home/dash/build/dashcore-0.13.0/src'
make: *** [Makefile:687: all-recursive] Error 1
so I didn't do what libraries I didn't add, the build doesn't work, please help!!!
Thanks in advance!
I trying to make dashd at Gentoo system, agreed generic build notes, I trying to make dashd, I have done the following:
# wget https://github.com/dashpay/dash/releases/download/v0.13.0.0-rc9/dashcore-0.13.0.0-rc9.tar.gz
# tar -xvf dashcore-0.13.0.0-rc9.tar.gz
# cd dashcore-0.13.0
# mkdir temp
# cd temp
# git clone https://github.com/dashpay/dash.git
# cp -pr dashcore/depends ../dashcore-0.13.0
# cd depends
# make -j 8
(here I waiting for building depends, successful result is:
copying packages: native_protobuf boost openssl libevent zeromq qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc
to: /home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu)
# cd ..
# ./autogen.sh (run without any errors)
# ./configure --prefix=/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu --without-miniupnpc --disable-upnp-default --without-gui
result is (
Options used to compile and link:
with wallet = yes
with gui / qt = no
with zmq = yes
with test = yes
with bench = yes
with upnp = no
debug enabled = no
werror = no
target os = linux
build os =
CC = gcc -m64
CFLAGS = -pipe -O2
CPPFLAGS = -I/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu/share/../include/ -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = g++ -m64 -std=c++14
CXXFLAGS = -pipe -O2
LDFLAGS = -L/home/dash/build/dashcore-0.13.0/depends/x86_64-pc-linux-gnu/share/../lib
# make
Making all in src
make[1]: Entering directory '/home/dash/build/dashcore-0.13.0/src'
make[2]: Entering directory '/home/dash/build/dashcore-0.13.0/src'
CXX crypto/libdashconsensus_la-aes.lo
CXX crypto/libdashconsensus_la-hmac_sha256.lo
CXX crypto/libdashconsensus_la-hmac_sha512.lo
CXX crypto/libdashconsensus_la-ripemd160.lo
CC crypto/libdashconsensus_la-aes_helper.lo
CXX crypto/libdashconsensus_la-sha1.lo
CXX crypto/libdashconsensus_la-sha256.lo
CXX crypto/libdashconsensus_la-sha512.lo
CC crypto/libdashconsensus_la-blake.lo
CC crypto/libdashconsensus_la-bmw.lo
CC crypto/libdashconsensus_la-cubehash.lo
CC crypto/libdashconsensus_la-echo.lo
CC crypto/libdashconsensus_la-groestl.lo
CC crypto/libdashconsensus_la-jh.lo
CC crypto/libdashconsensus_la-keccak.lo
CC crypto/libdashconsensus_la-luffa.lo
CC crypto/libdashconsensus_la-shavite.lo
CC crypto/libdashconsensus_la-simd.lo
CC crypto/libdashconsensus_la-skein.lo
CXX libdashconsensus_la-arith_uint256.lo
CXX bls/libdashconsensus_la-bls.lo
In file included from bls/bls.cpp:5:0:
bls/bls.h:14:10: fatal error: chiabls/bls.hpp: No such file or directory
#include <chiabls/bls.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:9318: bls/libdashconsensus_la-bls.lo] Error 1
make[2]: Leaving directory '/home/dash/build/dashcore-0.13.0/src'
make[1]: *** [Makefile:10948: all-recursive] Error 1
make[1]: Leaving directory '/home/dash/build/dashcore-0.13.0/src'
make: *** [Makefile:687: all-recursive] Error 1
so I didn't do what libraries I didn't add, the build doesn't work, please help!!!
Thanks in advance!