Since I did a complete recompile I did not believe I need to do that.
But I have installed it now, but into the ~/.profile file rather than the bash_profile as Ubuntu does not normally have the bash_profile file
# -- Having done that I tried to just a partial recompile of the ./tools and got these errors.
src/mongo/base/global_initializer.cpp:32:14: error: 'mongo::{anonymous}::_theGlobalInitializer' defined but not used [-Werror=unused-variable]
Initializer* _theGlobalInitializer = &getGlobalInitializer();
^
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/c++11_on/ssl/mongo/base/global_initializer.o] Error 1
scons: building terminated because of errors.
check_mongodb.cpp:5:35: fatal error: mongo/client/dbclient.h: No such file or directory
compilation terminated.
Faile to install MongoDB and C++ driver
# --So running a complete recompile got me -
src/mongo/base/global_initializer.cpp:32:14: error: 'mongo::{anonymous}::_theGlobalInitializer' defined but not used [-Werror=unused-variable]
Initializer* _theGlobalInitializer = &getGlobalInitializer();
^
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/c++11_on/ssl/mongo/base/global_initializer.o] Error 1
scons: building terminated because of errors.
check_mongodb.cpp:5:35: fatal error: mongo/client/dbclient.h: No such file or directory
compilation terminated.
Faile to install MongoDB and C++ driver
# --and finally this killed the complilation
make -C server all || exit 1; make -C test all || exit 1;
make[4]: Entering directory '/home/george/Lucida/lucida/imagematching/opencv_imm/server'
g++ -Wall -std=c++11 -fPIC -O3 -c gen-cpp2/LucidaService_client.cpp -o gen-cpp2/LucidaService_client.o
In file included from gen-cpp2/LucidaService_client.cpp:7:0:
gen-cpp2/LucidaService.h:9:45: fatal error: thrift/lib/cpp2/ServiceIncludes.h: No such file or directory
compilation terminated.
Makefile:62: recipe for target 'gen-cpp2/LucidaService_client.o' failed
make[4]: *** [gen-cpp2/LucidaService_client.o] Error 1
make[4]: Leaving directory '/home/george/Lucida/lucida/imagematching/opencv_imm/server'
../../../Makefile.common:13: recipe for target 'all-sub' failed
make[3]: *** [all-sub] Error 1
make[3]: Leaving directory '/home/george/Lucida/lucida/imagematching/opencv_imm'
../../Makefile.common:13: recipe for target 'all-sub' failed
make[2]: *** [all-sub] Error 1
make[2]: Leaving directory '/home/george/Lucida/lucida/imagematching'
../Makefile.common:13: recipe for target 'all-sub' failed
make[1]: *** [all-sub] Error 1
make[1]: Leaving directory '/home/george/Lucida/lucida'
Makefile:18: recipe for target 'local' failed
make: *** [local] Error 2
# -- I dont know what else you might need to know but I also got these warnings early on in the compile. Most of this information is probably not what you need to know but I am # -- thinking it is better to have too much information than not enough. Is there another file I need to edit?
The directory '/home/george/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/george/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: distribute in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: setuptools>=0.7 in /usr/local/lib/python2.7/dist-packages (from distribute)
The directory '/home/george/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/george/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
The directory '/home/george/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/george/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
These warnings seemed odd as I am the owner and super user.
Thanks