[graph-tool] error with manual compilation
jj.zhang1991.xuejin at gmail.com
Wed Feb 28 09:12:42 CET 2018
I have tried macports or homebrew before, they don’t not work either. I do
not like to compile it myself either, but it seems that compiling is the
On Tue, Feb 27, 2018 at 9:32 PM, Tiago de Paula Peixoto <tiago at skewed.de>
> On 25.02.2018 15:16, JJ Zhang wrote:
> > I also tried install like:
> > ./configure --prefix=/Users/zhangxuejin/anaconda
> > --with-python-module-path=/Users/zhangxuejin/anaconda/
> > --with-boost-python=-mt.a PYTHON=/Users/zhangxuejin/anaconda/bin/python
> > CPPFLAGS=/Users/zhangxuejin/anaconda/include
> > LDFLAGS=/Users/zhangxuejin/anaconda/lib
> The above is wrong for several reasons. First CPPFLAGS and LDFLAGS are
> invalid. They must be compiler/linker flags, not just directories. This
> means that they should be CPPFLAGS="-I/Users/zhangxuejin/anaconda/include"
> and LDFLAGS="-L/Users/zhangxuejin/anaconda/lib". Furthermore,
> "-with-boost-python=-mt.a" does not make any sense, as this would point to
> statically shared object.
> Please take a careful look at the documentation:
> Compiling graph-tool (or any other C++ library) without understanding how
> compiling and linking works in general is not advisable. Instead you should
> use macports or homebrew, if using MacOS.
> Tiago de Paula Peixoto <tiago at skewed.de>
> graph-tool mailing list
> graph-tool at skewed.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the graph-tool