Try: 
CXXFLAGS='-O2' ./configure [whateveroptions]
Arthur_Gretton wrote:
> 
> Hi,
> 
> I seem to be having toubles installing Lyx on Red Hat 7.0.  When I type
> make, it gives the following error message (after many many lines of
> compilation messages):
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I../boost    -isystem
> /usr/X11R6/include  -g -O2 -fno-exceptions -c buffer.C
> 
> Cannot allocate 1176120 bytes after allocating 3710780 bytes
> make[3]: *** [buffer.o] Error 1
> make[3]: Leaving directory `/home/arthur/writing/software/lyx-1.1.6/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/arthur/writing/software/lyx-1.1.6/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/arthur/writing/software/lyx-1.1.6/src'
> make: *** [all-recursive] Error 1
> 
> Is this easily fixed?  I am fairly new to Linux, so please be forgiving
> if I have done something unspeakably silly somewhere...
> 
> Thanks
> 
> Arthur


Reply via email to