Closed Soumeniisc closed 10 years ago
Hi, Soumeniisc. Can you please attach the build log, the CMakeCache.txt (you can use gist for that)? As a quick guess - run ccmake and then set PYTHON_LIBRARY to the path of "libpython.a" on your computer.
Standard question: do you use only libs and compilers provided by ubuntu and follow the instruction - http://ipht.cea.fr/triqs/doc/user_manual/install/Ubuntu.html ? If not - remove CMakeCache.txt and redo the installation.
During cmake
it shows that
Python interpreter /usr/bin/python -- Python interpreter ok : version 2.7.4 -- PYTHON_INCLUDE_DIRS = /usr/include/python2.7 -- PYTHON_NUMPY_INCLUDE_DIR = /usr/lib/python2.7/dist-packages/numpy/core/include -- PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages -- PYTHON_LIBRARY = PYTHON_LIBRARY-NOTFOUND -- PYTHON_EXTRA_LIBS =-L/usr/lib -lz -lpthread -ldl -lutil
-- PYTHON_LINK_FOR_SHARED = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
later on it shows that it got some linking problem. like
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_LIBRARY (ADVANCED) linked by target "triqs" in directory /home/soumen/TRIQS/TRIQS-master/triqs
.. ..
and bla bla ..
please help me out of this problem