Post
Topic
Board Altcoin Discussion
Re: Compiling litecoin in ubuntu 12.04?
by
maxcarjuzaa
on 12/05/2012, 16:42:27 UTC
He there I am trying to compile litecoind in a 12.04 but i am getting the following error message:


make -f makefile.unix USE_UPNP=
g++ -c -pthread -Wextra -Wno-sign-compare -Wno-char-subscripts -Wno-invalid-offsetof -Wformat-security -g -DNOPCH -I/home/max/coblee-litecoin-9a77169/src -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:9:0:
headers.h:40:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/checkpoints.o] Error 1


Thank you and best regards,
Max

If you want no UPnP support and do not have miniupnpc installed, you need to use  USE_UPNP=-

db_cxx.h: No such file or directory - You probably did not install libdb++-dev
run:  
Code:
$ sudo apt-get install libdb++-dev
and all the required deps will be pulled too.

Let me know, did it help.






It did help!!!!

Thank you!!!