I have this error when compiling on ubuntu14.04 lts.
g++: error: /home/marcos/Downloads/repohuman-master/src/leveldb/libleveldb.a: No such file or directory
g++: error: /home/marcos/Downloads/repohuman-master/src/leveldb/libmemenv.a: No such file or directory
make: *** [droidz-qt] Error 1
please help
You might need libdb dependencies. Can try:
sudo apt-get install libdb5.1-dev libdb5.1++-dev
Or maybe because you did not make the leveldb files? Try this:
cd src/leveldb/
make libleveldb.a
make libmemenv.a
For " sudo apt-get install libdb5.1-dev libdb5.1++-dev " I got this:
Fatal error: can't create build/qrc_bitcoin.o: Permission denied
make: *** [build/qrc_bitcoin.o] Error 1
For
" cd src/leveldb/
make libleveldb.a
make libmemenv.a" I got this:
make: *** No rule to make target `libleveldb.a'. Stop.
marcos@marcos-System-Product-Name:~/Downloads/repohuman-master/src$ make libmemenv.a
make: *** No rule to make target `libmemenv.a'. Stop.
marcos@marcos-System-Product-Name:~/Downloads/repohuman-master/src$
First error is a permission issue. Try:
chmod 755 /home/marcos/Downloads/repohuman-master/src/leveldb/build_detect_platform
make /home/marcos/Downloads/repohuman-master/src/leveldb/libleveldb.a
make /home/marcos/Downloads/repohuman-master/src/leveldb/libmemenv.a
The first command seems to worok but the last two...
make: *** No rule to make target `/home/marcos/Downloads/repohuman-master/src/leveldb/libleveldb.a'. Stop.
make: *** No rule to make target `/home/marcos/Downloads/repohuman-master/src/leveldb/libmemenv.a'. Stop.
maybe can try this?
cd src/leveldb/
TARGET_OS=OS_WINDOWS_CROSSCOMPILE make libleveldb.a libmemenv.a
I entered the command and i got this:
util/env_win.cc:17:21: fatal error: shlwapi.h: No such file or directory
#include
^
compilation terminated.
make: *** [util/env_win.o] Error 1