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
--
Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
