On 01.10.2014 11:09, Christian Staudt wrote:
> Hi,
> I didn't manage to install graph-tool on OSX by following these instructions:
>  https://gist.github.com/openp2pdesign/8864593
>
> There is some problem with boost_python that I am running
> into. Attached is the output of ./configure. Why is my Boost::Python
> not usable?

Most likely because it was installed in a non-standard directory, and
the compiler/linker cannot find it unless you specify the correct path
in CPPFLAGS and LDFLAGS. Take a look at the config.log file for more
details.

For instance, if boost was installed in '/usr/local/Cellar/boost', you
should do

    ./configure CPPFLAGS="-I/usr/local/Cellar/boost/1.55.0_2/include" 
LDFLAGS="-L/usr/local/Cellar/boost/1.55.0_2/lib" 
PYTHON_EXTRA_LDFLAGS="-L/usr/local/bin"

I recommend using macports instead of homebrew to install graph-tool,
since this is all taken care of automatically.

Best,
Tiago

--
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to