Devs should fix the repository...
I'm using GCC 4.9.2, boost 1.55, and tried with both libdb(++) 5.1 and 5.3.
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/user/1/sling/src -I/home/user/1/sling/src/obj -DENABLE_WALLET -I/home/user/1/sling/src/leveldb/include -I/home/user/1/sling/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/crypto/hmac_sha256.d -o obj/crypto/hmac_sha256.o crypto/hmac_sha256.cpp
crypto/hmac_sha256.cpp:34:1: fatal error: opening dependency file obj/crypto/hmac_sha256.d: No such file or directory
}
^
compilation terminated.
makefile.unix:201: recipe for target 'obj/crypto/hmac_sha256.o' failed
make: *** [obj/crypto/hmac_sha256.o] Error 1
Can anyone help?
cd sling
cd secp256k1
./autogen.sh
./configure
make
make install
cp /usr/local/lib/libsecp256k1.* /usr/lib
cd ..
cd src
mkdir obj
cp crypto obj/crypto -rR
make -f makefile.unix
sudo cp slingd /usr/bin
cd ../..
when hitting make -f makefile.unix i get following error why is this?
xx@xx:~/sling/src# make -f makefile.unix
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/root/sling/src -I/root/sling/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/sling/src/leveldb/include -I/root/sling/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from alert.h:9:0,
from alert.cpp:5:
serialize.h:19:48: fatal error: boost/type_traits/is_fundamental.hpp: No such file or directory
#include
^
compilation terminated.
makefile.unix:201: recipe for target 'obj/alert.o' failed
make: *** [obj/alert.o] Error 1