Building on OSX 10.8 with brew, Anaconda Python distribution

Hey guys! I'm trying to build graph-tool and I'm using:
OSX 10.8
brew
The latest Anaconda python distribution from Continuum.

When building the blockmodel I'm getting the following error:

graph_blockmodel.hh:910: error: no matching function for call to
'get(const boost::tuples::tuple<boost::UndirectedAdaptor<boost::filtered_graph<boost::adj_list<long
unsigned int>, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::adj_edge_index_property_map<long unsigned int> > >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::typed_identity_property_map<long unsigned int> > > >

::EdgeDescriptor, bool, long unsigned int, boost::tuples::null_type,

boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type>&)'

The (now complex) configure command I'm using is:
LDFLAGS=-L/usr/local/opt/boost149/lib
CPPFLAGS="-I/usr/local/opt/boost149/include
-I/usr/local/include/sparsehash" CC=gcc-4.7
PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/ ./configure
--prefix=`python2.7-config --prefix`

which ultimately gives the output in the gist at :
https://gist.github.com/ericmjonas/5613858

I've tried explicitly using boost 1.49 and boost 1.52, as well as
GCC-4.7 (and clang) and still always get this error. I'm sort of out
of next steps -- any pointers?

...Eric

Try disabling sparsehash by passing --disable-sparsehash to the
configure script.

Take a look at the following ticket for further explanation: https://projects.skewed.de/graph-tool/ticket/125

Cheers,
Tiago

Alas, I tried, and still somehow get the exact same error. The config
output is https://gist.github.com/ericmjonas/5616481 . And this is
with both clang and with the brew-installed g++-4.7, as the ticket
seemed to suggest might be the problem.

Hm... This is strange. Could you please send me the _full_ build output, with the entire error message?

You really get absolutely no difference switching boost versions?

Cheers,
Tiago

Hello,
i'm using OSX 10.8, brew, standart mac python, compiler from command line
tools and have the same error.
Here is my build.log

attachment.html (1.14 KB)

build.log (3.67 MB)

Did you try with the git version of graph-tool? What exact compiler did
you use?

Cheers,
Tiago