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.
Hi,
Yousay in the mail:
Below is with a 2.7.2 python environment and this command
"./configure
--with-boost-python=/home/hleeney/usr/local/lib/libboost_python.a".
Oh sorry, I have a bunch of log outputs on my terminal - I just picked
the wrong one. I have been permutating versions ... I get the same
result in 2.72.
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:
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).
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.
Taking a feeble step into the world of configure I see it couldn't
find a 'libboost_python-mt-2.7.a'. I symlinked to libboost_python.a
and ./configure --LDFLAGS.. -CPPFLAGS got further. I did notice
earlier that the boost builds weren't creating libs with the naming
convention spec'd in the how-to-build doc..
Now its not building for want of scipy .. but now that I'm getting my
metaphorical baby spoon somewhere near my fat face I might get lucky
and feed myself the rest. Thank you.
The config.log for the original problem is attached FYI.