Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: wbullockiii on January 04, 2015, 01:21:57 PM



Title: cannot compile viacoin
Post by: wbullockiii on January 04, 2015, 01:21:57 PM
I've run ./configure and the last line of output ends with:

config.status: executing depfiles commands


then I run: make

and it ends with this error:

Making all in src
make[1]: Entering directory `/root/acoin/src'
make  all-recursive
make[2]: Entering directory `/root/acoin/src'
Making all in .
make[3]: Entering directory `/root/acoin/src'
depbase=`echo version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if g++ -DHAVE_CONFIG_H -I. -I. -I. -pthread     -pthread     -I../src/obj  -pthread -I/usr/include  -I../src/leveldb/include -I../src/leveldb/helpers/memenv -I  -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -MT version.o -MD -MP -MF "$depbase.Tpo" -c -o version.o version.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
version.cpp:34:23: fatal error: build.h: No such file or directory
 #    include "build.h"
                       ^
compilation terminated.
make[3]: *** [version.o] Error 1
make[3]: Leaving directory `/root/acoin/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/acoin/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/acoin/src'
make: *** [all-recursive] Error 1
root@artemis:~/acoin#


Title: Re: cannot compile viacoin
Post by: btcdrak on January 06, 2015, 08:59:52 AM
Have you followed the instructions here?

https://github.com/viacoin/viacoin/blob/master/doc/build-quickstart.md