Hi all,
I've been trying to build graph-tool on my Mac (10.7.2) for the past few
days. The issues occur with graph-tool-2.2.15 (though I've also had issues
with the lastest code from github). At this point I have reached a bit of a
dead end. Looking at what I posted below, does anyone have any suggestions??
Many thanks!!
Jesse
Here is my configure command:
./configure --enable-openmp --with-boost-python=boost_python_mt
--with-numpy=/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/numpy
--with-scipy=/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/scipy
LDFLAGS=-L/opt/local/lib CXXFLAGS="-I/opt/local/include"
The additional args stem from the fact that I'm using the Enthought python
distribution and macports, both of which put stuff in non-standard places it
seems. The graph-tool build error is related to boost, which I installed
using macports (version 1.47) . So I doubt my problems have to do with
Enthought.
Now, here's the compiler/make output:
jberwald(a)hyperion:~/src/graph-tool-2.2.15$ make
make all-recursive
Making all in src
Making all in graph
Making all in centrality
CXX graph_betweenness.lo
CXX graph_centrality_bind.lo
CXX graph_eigentrust.lo
CXX graph_eigenvector.lo
CXX graph_pagerank.lo
CXX graph_trust_transitivity.lo
CXXLD libgraph_tool_centrality.la
Making all in clustering
CXX graph_clustering.lo
CXX graph_extended_clustering.lo
CXX graph_motifs.lo
graph_motifs.hh: In member function 'void
graph_tool::get_all_motifs::operator()(Graph&, size_t, boost::any&,
std::vector<long unsigned int, std::allocator<long unsigned int> >&,
Sampler, double, bool, bool, graph_tool::rng_t&) const [with Graph =
boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS,
boost::no_property, boost::property<boost::edge_index_t, long unsigned
int, boost::no_property>, boost::no_property, boost::listS>, Sampler =
graph_tool::sample_all]':
graph_motifs.hh:415: internal compiler error: in lower_stmt, at
gimple-low.c:319
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[4]: *** [graph_motifs.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Also, I attempted to install from macports originally. But macports tells me
the following:
Error: Cannot install py27-graph-tool for the arch(s) 'i386 x86_64' because