I am trying to install locally on ubuntu 12.04. I have installed all the dependencies as well. I got the following error: I have set all the flags but I still get the LDFLAGS error. I configure as: ./configure --prefix=/lab/app/python/python_mohammad/my_py/ CXXFLAGS="-I/lab/app/python/python_mohammad/my_py/include/python2.7" CFLAGS="-I/lab/app/python/python_mohammad/my_py/include/python2.7" PYTHON="/lab/app/python/python_mohammad/my_py/bin/python2.7" LDFLAGS="-L/lab/app/python/python_mohammad/my_py/include/python2.7/" PYTHON=/lab/app/python/python_mohammad/my_py/bin/python --with-boost="/lab/app/python/python_mohammad/my_py/lib" PYTHON_LDFLAGS="-L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7" And the error is: ================ Detecting python ================ checking whether /lab/app/python/python_mohammad/my_py/bin/python version is
= 2.6... yes checking for /lab/app/python/python_mohammad/my_py/bin/python version... 2.7 checking for /lab/app/python/python_mohammad/my_py/bin/python platform... linux2 checking for /lab/app/python/python_mohammad/my_py/bin/python script directory... ${prefix}/lib/python2.7/site-packages checking for /lab/app/python/python_mohammad/my_py/bin/python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... /lab/app/python/python_mohammad/my_py/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python == '2.7.3'... yes checking for the distutils Python package... yes checking for Python include path... -I/lab/app/python/python_mohammad/my_py/include/python2.7 checking for Python library path... -L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7 checking for Python site-packages path... /lab/app/python/python_mohammad/my_py/lib/python2.7/site-packages checking python extra libraries... -lpthread -ldl -lutil checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... no configure: error: in `/lab/app/python/python_mohammad/graph-tool-2.2.24': configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ See `config.log' for more details -------------------------- Please help! I attached the log file here <http://pastebin.com/RNqzrjRj> . -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.