I put the full output of configure and make here.
Configure stdout: http://pastebin.com/AMJYwkxB
make stdout: http://pastebin.com/m2wt4F5q
make stderr: http://pastebin.com/nh2nvneQ

I hope this helps. Meanwhile I'll ask around why we have such an old version of gcc.

On Wed, Oct 1, 2014 at 4:22 PM, Ács Judit <judit@sch.bme.hu> wrote:
Hi,

I have been trying to install graph-tool on a Debian server which I don't have root access for for a day now, and after some of trouble I was able to run configure but now make fails with the following:

  CXX      graph_blockmodel.lo
In file included from graph_blockmodel.cc:39:0:
graph_blockmodel_overlap.hh: In lambda function:
graph_blockmodel_overlap.hh:900:50: error: no match for ‘operator[]’ in ‘((graph_tool::overlap_partition_stats_t*)this)->graph_tool::overlap_partition_stats_t::_embhist[bv_i]’
graph_blockmodel_overlap.hh:900:50: note: candidates are:
In file included from /usr/include/c++/4.7/bits/hashtable.h:36:0,
                 from /usr/include/c++/4.7/unordered_set:45,
                 from ./../graph_properties.hh:24,
                 from ./../graph.hh:35,
                 from ./../graph_filtering.hh:21,
                 from graph_blockmodel.cc:28:
/usr/include/c++/4.7/bits/hashtable_policy.h:435:5: note: std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = std::vector<int>; _Pair = std::pair<const std::vector<int>, std::vector<long unsigned int> >; _Hashtable = std::_Hashtable<std::vector<int>, std::pair<const std::vector<int>, std::vector<long unsigned int> >, std::allocator<std::pair<const std::vector<int>, std::vector<long unsigned int> > >, std::_Select1st<std::pair<const std::vector<int>, std::vector<long unsigned int> > >, std::equal_to<std::vector<int> >, std::hash<std::vector<int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, true, false, true>; std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type = std::vector<long unsigned int>] <near match>
/usr/include/c++/4.7/bits/hashtable_policy.h:435:5: note:   no known conversion for implicit ‘this’ parameter from ‘const ebhist_t* {aka const std::unordered_map<std::vector<int>, std::vector<long unsigned int> >*}’ to ‘std::__detail::_Map_base<std::vector<int>, std::pair<const std::vector<int>, std::vector<long unsigned int> >, std::_Select1st<std::pair<const std::vector<int>, std::vector<long unsigned int> > >, true, std::_Hashtable<std::vector<int>, std::pair<const std::vector<int>, std::vector<long unsigned int> >, std::allocator<std::pair<const std::vector<int>, std::vector<long unsigned int> > >, std::_Select1st<std::pair<const std::vector<int>, std::vector<long unsigned int> > >, std::equal_to<std::vector<int> >, std::hash<std::vector<int> >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, true, false, true> >*’

This goes on for several lines. Am I using the wrong compiler? My gcc version is 4.7.2.
I read the INSTALL file and I can't find the solution.

I disabled cairo and sparsehash.

Do you have any idea why I'm getting these errors?

Thanks,
Judit Ács