Thanks a lot Tiago, I did actually try with the distro boost (libboost-all-dev) but that failed with the same error. I tried your command line (LDFLAGS and CPPFLAGS) with the built-from-source boost, and that failed again with the same error. I'm still interested in finding out whats going wrong. I have had to cut my losses and do something completely different so no pressure - also its got to be a problem with my dev environment.. or me. Tiago de Paula Peixoto wrote On 15/11/2012 15:09:
Hi Hugo,
On 11/15/2012 01:18 PM, Hugo Leeney wrote:
I use pythonbrew, venv and pip mostly for python dev - I am a relative novice. I've spent some time trying to get graph-tool installed and have failed badly. I have downloaded the src (graph-tool-2.2.18) and can not ./configure .
I am on Debian squeeze and have tried with apt-get's boost and with a built-from-source boost but always get the same error - as shown below. Versions of python and exact checks vary depending on environment and options to configure. Below is with a 2.7.2 python environment and this command "./configure --with-boost-python=/home/hleeney/usr/local/lib/libboost_python.a". Any help is greatly appreciated. If you have installed boost in a non-standard directory as you did, you have to modify all the necessary paths so that the configure script has a way of finding it.
Firstly note that you could have used the packaged boost from your distribution and avoided all this. But if you really want to do it this way, assuming all your libraries are installed in "/home/hleeney/usr/local/", the following would probably suffice:
./configure LDFLAGS="-L/home/hleeney/usr/local/" CPPFLAGS="-I/home/hleeney/usr/local/include"
Note that you don't have to specify --with-boost-python, unless the library is installed with a strange name which the configure script cannot discover (which sometimes happen on weird distros, but not if you install it by hand).
Cheers, Tiago
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool