maxcarjuzaa (OP)
|
|
May 10, 2012, 01:57:18 PM |
|
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
|
|
|
|
tacotime
Legendary
Offline
Activity: 1484
Merit: 1005
|
|
May 10, 2012, 09:03:54 PM |
|
headers.h:40:20: fatal error: db_cxx.h: No such file or directory
It's pretty clear on what's going on
I believe this file is included in the litecoin source
|
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
|
|
|
EskimoBob
Legendary
Offline
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
|
|
May 12, 2012, 12:04:58 PM |
|
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++-devrun: $ sudo apt-get install libdb++-dev and all the required deps will be pulled too. Let me know, did it help.
|
While reading what I wrote, use the most friendliest and relaxing voice in your head. BTW, Things in BTC bubble universes are getting ugly....
|
|
|
maxcarjuzaa (OP)
|
|
May 12, 2012, 04:42:27 PM |
|
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++-devrun: $ 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!!!
|
|
|
|
Aldur1
Member
Offline
Activity: 73
Merit: 10
www.bitex.co.uk - A new begining in cryptotech
|
|
February 05, 2013, 04:31:14 PM |
|
That sorted my issue out as well Thanks for a useful Post!
|
|
|
|
SAC
|
|
February 05, 2013, 08:29:05 PM |
|
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 end up with similar errors in the future when compiling install the apt-file program then sudo apt-file update, you can then search as normal user to find the package(s) containing the missing file. apt-file search db_cxx.h db4.6-doc: /usr/share/doc/db4.6-doc/ref/upgrade.3.0/db_cxx.html db4.7-doc: /usr/share/doc/db4.7-doc/ref/upgrade.3.0/db_cxx.html db4.8-doc: /usr/share/doc/db4.8-doc/programmer_reference/upgrade_3_0_db_cxx.html db5.1-doc: /usr/share/doc/db5.1-doc/upgrading/upgrade_3_0_db_cxx.html libdb4.6++-dev: /usr/include/db_cxx.h libdb4.7++-dev: /usr/include/db_cxx.h libdb4.8++-dev: /usr/include/db_cxx.h libdb5.1++-dev: /usr/include/db_cxx.h
Edit: Necro thread, well still applies regardless.
|
|
|
|
viperaus
Newbie
Offline
Activity: 42
Merit: 0
|
|
March 30, 2013, 12:06:18 AM |
|
db_cxx.h: No such file or directory - You probably did not install libdb++-devrun: $ sudo apt-get install libdb++-dev and all the required deps will be pulled too. Let me know, did it help. Helped me out .. thanks - i was installing libdb-dev only ...
|
|
|
|
wingsuit
Member
Offline
Activity: 64
Merit: 10
2100 trillion sats baby
|
|
April 25, 2013, 08:22:12 AM |
|
Thanks. Is there standard steps to install all dependencies after qmake?
|
FLY
|
|
|
|
merockstar
Full Member
Offline
Activity: 203
Merit: 100
BTS: merockstar420
|
|
January 13, 2014, 07:42:24 AM |
|
holy crap, most useful post ever.
would have saved me tons of time months ago.
bookmarked and bumped.
|
|
|
|
EskimoBob
Legendary
Offline
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
|
|
January 13, 2014, 11:31:08 AM |
|
and if something goes wrong and you need to recompile, use: $ make clean -f makefile.unix to clean out old junk. BTW, this will delete your litecoind if it exists in /src/ after you have compiled it and end up with huge litecoind (over 100 MB), run
|
While reading what I wrote, use the most friendliest and relaxing voice in your head. BTW, Things in BTC bubble universes are getting ugly....
|
|
|
DariusK
Newbie
Offline
Activity: 57
Merit: 0
|
|
January 08, 2015, 04:53:23 PM |
|
:)THX 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++-devrun: $ sudo apt-get install libdb++-dev and all the required deps will be pulled too. Let me know, did it help.
|
|
|
|
Leveilleur
|
|
March 30, 2015, 05:51:21 PM |
|
THANKKKSS :)THX 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++-devrun: $ sudo apt-get install libdb++-dev and all the required deps will be pulled too. Let me know, did it help.
|
hushus
|
|
|
|