Thanks! I added:
sudo apt-get install libssl-dev
But now I get
"make -f makefile.unix
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/me/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -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
alert.cpp:244:1: fatal error: opening dependency file obj/alert.d: Permission denied
compilation terminated.
make: *** [obj/alert.o] Error 1"
Any tips. Sorry, but still Linux noob here, but learning fast.
sudo chown yourusername:yourusername * -R
Thanks. One step further:
make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/harry/yacoin/src -I/home/me/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
What next?
sudo apt-get install libdb++-dev
Thanks a lot guys, much appreciated. It made a lot of stuff, but still got an error at the end:
"/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
"
I thought I already had all permissions needed?
run
sudo chown yourusername:yourusername * -R
again. seems you misused sudo once
(or several times) ;-)
Hehe, I probably sudo'd myself to linux-hell.
Anyway, chown-ed again, same result:
me@ubuntu:~/yacoin/src$ make -f makefile.unix results in:
......................... boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot open output file yacoind: Permission denied
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
When trying with
me@ubuntu:~/yacoin/src$ sudo chown me:me * -R
me@ubuntu:~/yacoin/src$ sudo make -f makefile.unix I get
/bin/sh ../share/genbuild.sh obj/build.h
..............................
boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_program_options
/usr/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
make: *** [yacoind] Error 1
This is getting annoying, appreciate your assistance.