[sudo] password for will:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-twisted is already the newest version.
libqt4-dev is already the newest version.
swig is already the newest version.
git-core is already the newest version.
libqtcore4 is already the newest version.
python-dev is already the newest version.
build-essential is already the newest version.
python-qt4 is already the newest version.
pyqt4-dev-tools is already the newest version.
python-psutil is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
This is the result of my 'make' command (I tried with no edits to the Makefile):
cd leveldb; make libleveldb.a; mv libleveldb.a ..
make[2]: Entering directory `/home/will/BitcoinArmory/cppForSwig/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -fPIC -O2 -DNDEBUG -c db/builder.cc -o db/builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -fPIC -O2 -DNDEBUG -c db/c.cc -o db/c.o
db/c.cc: In function ‘bool SaveError(char**, const leveldb::Status&)’:
db/c.cc:141:42: error: ‘_strdup’ was not declared in this scope
db/c.cc:145:42: error: ‘_strdup’ was not declared in this scope
db/c.cc: In function ‘char* leveldb_property_value(leveldb_t*, const char*)’:
db/c.cc:250:30: error: ‘_strdup’ was not declared in this scope
make[2]: *** [db/c.o] Error 1
make[2]: Leaving directory `/home/will/BitcoinArmory/cppForSwig/leveldb'
mv: cannot stat ‘libleveldb.a’: No such file or directory
make[1]: *** [libleveldb.a] Error 1
make[1]: Leaving directory `/home/will/BitcoinArmory/cppForSwig'
make: *** [all] Error 2
Python is in /usr/ correctly I think:
config.c config.c.in install-sh libpython2.7.a libpython2.7-pic.a libpython2.7.so Makefile makesetup python.o Setup Setup.config Setup.local
and this is the result of running
$ cd /usr
$ find . | grep libpython2
./lib/x86_64-linux-gnu/libpython2.7.a
./lib/x86_64-linux-gnu/libpython2.7.so.1.0
./lib/x86_64-linux-gnu/libpython2.7.so.1
./lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
./lib/python2.7/config-x86_64-linux-gnu/libpython2.7.a
./lib/python2.7/config-x86_64-linux-gnu/libpython2.7-pic.a
./share/doc/libpython2.7
./share/doc/libpython2.7-stdlib
./share/doc/libpython2.7-minimal
./share/doc/libpython2.7-minimal/changelog.Debian.gz
./share/doc/libpython2.7-minimal/copyright
./share/doc/libpython2.7-minimal/README.Debian
./share/doc/libpython2.7-dev
./share/lintian/overrides/libpython2.7
./share/lintian/overrides/libpython2.7-stdlib
./share/lintian/overrides/libpython2.7-minimal
./share/lintian/overrides/libpython2.7-dev
Sorry for so much code in a single post!