On 10/19/2012 09:32 AM, Guillaume Gay wrote: > Le 19/10/2012 09:25, Tiago de Paula Peixoto a écrit : >> On 10/19/2012 09:05 AM, Guillaume Gay wrote: >>> Hi, >>> >>> I had the same problem trying to compile graph-tool in Ubuntu. At first I >>> tried to simply buy more memory, and went all the way up to 12 G. >>> >>> Unfortunately the exhausted memory problem was still there (so this might >>> more be some kind of a bug, no?). I then followed the advice given in jully >>> on a similar thread: >> This is absolutely strange... I don't have that much memory on my laptop >> and I compile graph-tool just fine. I'm curious: What GCC version do you >> have in your ubuntu install (exact version, including ubuntu patches)? >> Did you try with different versions? > "apt-cache show gcc" returns this on my box: > > Package: gcc > Priority: optional > Section: devel > Installed-Size: 41 > Maintainer: Ubuntu Developers <[email protected]> > Original-Maintainer: Debian GCC Maintainers <[email protected]> > Architecture: i386 > Source: gcc-defaults (1.112ubuntu5) > Version: 4:4.6.3-1ubuntu5 > Provides: c-compiler > Depends: cpp (>= 4:4.6.3-1ubuntu5), gcc-4.6 (>= 4.6.3-1~) > Recommends: libc6-dev | libc-dev > Suggests: gcc-multilib, make, manpages-dev, autoconf, automake1.9, libtool, > flex, bison, gdb, gcc-doc > Conflicts: gcc-doc (<< 1:2.95.3) > Filename: pool/main/g/gcc-defaults/gcc_4.6.3-1ubuntu5_i386.deb > > That's the basic up-to-date gcc package provided by ubuntu. > I didn't try any other version. On my 4G ram laptop, with sfdp_layout > disabled (brutally taken away from source, though that leads to problems > later on) it manages to compile, I remeber monitoring memory an it would seat > around 3 G.
Ubuntu also offers GGC 4.7, although it is not the default. Could you please try with it and say if you encounter the same problem? Cheers, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
