Wow, I didn't expect the packages to be ready this soon! Thanks a lot!
Back to my specific installation : my machine has a mere 4GB of RAM.
Following your advice I installed and tried to use clang but so far I'm not
getting anywhere...
The command I'm using right now to configure is:
CC=clang CXX=clang++ ./configure
--with-sparsehash-prefix=/usr/include/google
When I make, I get the following error message:
make all-recursive
make[1]: Entering directory `/home/.../graph-tool-2.2.32'
Making all in src
make[2]: Entering directory `/home/.../graph-tool-2.2.32/src'
Making all in graph
make[3]: Entering directory `/home/.../graph-tool-2.2.32/src/graph'
Making all in centrality
make[4]: Entering directory
`/home/.../graph-tool-2.2.32/src/graph/centrality'
CXX graph_pagerank.lo
warning: unknown warning option '-Wno-unused-local-typedefs'
[-Wunknown-warning-option]
In file included from graph_pagerank.cc:18:
In file included from ./../graph_filtering.hh:21:
./../graph.hh:167:5: error: too many template parameters in template
redeclaration
template <class Action, class GraphViews, class Wrap, class TR1, class
TR2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../graph.hh:50:1: note: previous template declaration is here
template <class Action, class GraphViews, class Wrap =
boost::mpl::false_,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from graph_pagerank.cc:18:
In file included from ./../graph_filtering.hh:55:
./../mpl_nested_loop.hh:91:40: error: use 'template' keyword to treat 'join'
as a dependent template name
nested_for_each_imp<TRS...>(_a.join<T>());
^
template
In file included from graph_pagerank.cc:18:
./../graph_filtering.hh:482:27: error: '_mg' is a private member of
'graph_tool::GraphInterface'
max(g._mg->get_last_index(), size_t(1))) {}
^
./../graph_filtering.hh:512:16: note: in instantiation of member function
'graph_tool::detail::graph_action<std::_Bind<graph_tool::get_pagerank
(std::_Placeholder<1>,
boost::typed_identity_property_map<unsigned int>,
std::_Placeholder<2>, std::_Placeholder<3>, std::_Placeholder<4>, double,
double,
unsigned int, std::reference_wrapper<unsigned int>)>,
graph_tool::detail::all_graph_views, mpl_::bool_<false>,
boost::mpl::v_item<boost::checked_vector_property_map<long double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>,
boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, unsigned int>,
boost::mpl::v_item<boost::typed_identity_property_map<unsigned
, boost::mpl::v_item<boost::checked_vector_property_map<long
double, boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<long long,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<int,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<short,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<unsigned char,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>,
boost::mpl::v_item<graph_tool::ConstantPropertyMap<double,
boost::adj_list<unsigned int>::edge_descriptor>,
boost::mpl::v_item<boost::adj_edge_index_property_map<unsigned
, boost::mpl::v_item<boost::checked_vector_property_map<long
double, boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<long long,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<int,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<short,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<unsigned char,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>
::graph_action'
requested here
return detail::graph_action<Action,GraphViews,Wrap,TRS...>(g,
std::forward<Action>(a));
^
graph_pagerank.cc:59:9: note: in instantiation of function template
specialization
'graph_tool::run_action<graph_tool::detail::all_graph_views,
mpl_::bool_<false> >::operator()<std::_Bind<graph_tool::get_pagerank
(std::_Placeholder<1>, boost::typed_identity_property_map<unsigned
, std::_Placeholder<2>, std::_Placeholder<3>,
std::_Placeholder<4>, double, double, unsigned int,
std::reference_wrapper<unsigned int>)>,
boost::mpl::v_item<boost::checked_vector_property_map<long double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>,
boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, unsigned int>,
boost::mpl::v_item<boost::typed_identity_property_map<unsigned
, boost::mpl::v_item<boost::checked_vector_property_map<long
double, boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<long long,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<int,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<short,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<unsigned char,
boost::typed_identity_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>,
boost::mpl::v_item<graph_tool::ConstantPropertyMap<double,
boost::adj_list<unsigned int>::edge_descriptor>,
boost::mpl::v_item<boost::adj_edge_index_property_map<unsigned
, boost::mpl::v_item<boost::checked_vector_property_map<long
double, boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<double,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<long long,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<int,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<short,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::v_item<boost::checked_vector_property_map<unsigned char,
boost::adj_edge_index_property_map<unsigned int> >,
boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0> >' requested
here
(g, std::bind(get_pagerank(),
^
./../graph.hh:177:30: note: declared private here
shared_ptr<multigraph_t> _mg;
^
In file included from graph_pagerank.cc:18:
./../graph_filtering.hh:481:43: error: '_mg' is a private member of
'graph_tool::GraphInterface'
: _g(g), _a(a, g, num_vertices(*g._mg),
^
./../graph.hh:177:30: note: declared private here
shared_ptr<multigraph_t> _mg;
^
1 warning and 4 errors generated.
make[4]: *** [graph_pagerank.lo] Error 1
make[4]: Leaving directory
`/home/.../graph-tool-2.2.32/src/graph/centrality'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/.../graph-tool-2.2.32/src/graph'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/.../graph-tool-2.2.32/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/.../graph-tool-2.2.32'
make: *** [all] Error 2