Post
Topic
Board Announcements (Altcoins)
Re: [ANN] SLING | LAUNCH | SHA 256 | PoW PHASE STARTING NOW | POS Masternodes | ANON
by
MCDev
on 11/07/2015, 00:33:37 UTC

Getting errors trying to compile the daemon on linux.
I'm using GCC 4.9.2, boost 1.55, and tried with both libdb(++) 5.1 and 5.3.

Quote
/bin/sh ../share/genbuild.sh obj/build.h
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?
Code:
git clone https://bitbucket.org/slingrepo/sling
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 ../..

Tried this and it compiled without error but when starting slingd it just hangs.  Command prompt never comes back even after hitting return several times. Have to Ctrl-C it.  Any ideas what could be wrong?