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
On 05/20/2013 07:42 PM, Eric Jonas wrote:
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?
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 -- Tiago de Paula Peixoto <tiago@skewed.de>
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. On Mon, May 20, 2013 at 2:22 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 05/20/2013 07:42 PM, Eric Jonas wrote:
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?
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
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 05/21/2013 02:05 AM, Eric Jonas wrote:
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 -- Tiago de Paula Peixoto <tiago@skewed.de>
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 вторник, 21 мая 2013 г., 11:08:53 UTC+4 пользователь Tiago Peixoto написал:
On 05/21/2013 02:05 AM, Eric Jonas wrote:
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
-- Tiago de Paula Peixoto <ti...@skewed.de <javascript:>>
On 07/09/2013 01:29 PM, forbeed@gmail.com wrote:
Hello, i'm using OSX 10.8, brew, standart mac python, compiler from command line tools and have the same error.
Did you try with the git version of graph-tool? What exact compiler did you use? Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (3)
-
Eric Jonas -
forbeed@gmail.com -
Tiago de Paula Peixoto