Problems compiling graph-tool


i'm trying to compile the graph-tool package in my ubuntu dapper box. I
have gcc 4.0.3 and the boost libraries (1.33.1).

When compiling the program i receive an error attached to this mail. I
think it has something to do with tr1::hashtable, but sincerely i have
no cue.

Any thoughs ?

Thank you and regards


ll.txt (11.6 KB)

You need GCC 4.1 or above to compile graph-tool, exactly because of tr1
modifications. Alternatively, you can just provide the headers for the
tr1 code included in GCC 4.1, and use GCC 4.0. I'm sending the headers
attached. You can compile with these headers by doing:

$ CXXFLAGS="-I/extraction/path/" ./configure
$ make

where "/extraction/path" is the full path where you extracted the
tr1.tar.gz archive.

But just installing GCC 4.1.1 may be easier... And you get a new
compiler in the process. :slight_smile:

Take care.

tr1.tar.gz (42.5 KB)