I wanted to try graph-tool on my laptop before asking the sysadmin to install a newer gcc. I'm using Linux Mint with gcc4.8.2.

There were two problems:
I installed both libsparsehash-dev and sparsehash from the official ubuntu repos but configure still can't find it. I could sidestep this by disabling sparsehash.

The more important problem is that make runs out of memory. I have 4GB RAM + 2GB swap in my laptop.
It's killed while compiling this:

Making all in community
make[4]: Entering directory `/home/judit/bin/graph-tool-2.2.35/src/graph/community'
  CXX      graph_community_network_eavg_imp1.lo

Is graph-tool intended for stronger machines?

Thank you,

On Thu, Oct 2, 2014 at 11:54 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 02.10.2014 11:35, Ács Judit wrote:
> Unfortunately the stable Debian version still comes with gcc4.7, see
> here: https://packages.debian.org/wheezy/gcc

Yes, but there is very little I can do. Dropping c++11 is not possible.
It is a pity that debian stable is so outdated.

You can also ask your sysadmin to pull gcc 4.8 from testing.

A possible workaround for you is to attempt to use sparsehash, since it
will avoid using the code with unordered_map the compiler is failing on.


Tiago de Paula Peixoto <tiago@skewed.de>

graph-tool mailing list