Re: [gtk-list] problem compiling gtk--



ryo <P.Loubigniac@bton.ac.uk> writes:
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -pipe -gstabs+
> -I/usr/X11R6/include
> -c -fPIC -DPIC gtk--.cc
> In file included from gtk--.cc:31:
> gtk--.h:5240: virtual memory exhausted

this error means that the compiller needs more memory/swap to compile it
than what you have available. (in sparc we have here, it uses 50M)

Sollutions are:
1) compile it without X11 running to save mem/swap
2) increase swap space
3) wait until we get a version that splits that one file to several small 
   pieces. (I think I'm doing that quite soon, compile time has increased
too much for it)

> I use red hat 5.0 on a cyrix 6x86 p166+ with 48Mo of RAM, the gcc  version
> I have is 2.7.2.3-9
> also the path for gtk-- is  /usr/local/lib/gtk---0.7.8

mem itself doesnt matter much, mem+swap does. gtk--.cc is a little too
large and I've been thinking of splitting it to several pieces...

> gtk 0.99.970925-2 and gtk+0.99.3.1 (with the corresponding devel) are
> installed on my box from rpm file. Can I delete one of them?

just check it uses the right versionn of gtk and you'll be fine.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]