On Sun, Aug 30, 2009 at 3:04 AM, arachnoid <[email protected]> wrote:

>
> On a Dell desktop with 2 GB RAM and plenty of free HDD space, Sage
> compilation fails. Here is the end of the installation log:


What exact compiler are you using (output of gcc -v)?  Is there any
possibility to use a different compiler?


>
>
> ***************************************************************
>
> ==========================================================================
> Shall we try to build pari 2.3.3 (released) now (y/n)? [n]
> Ok. Type "make install" when you are ready
> Bye !
> Building and install PARI
> make[2]: Entering directory `/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/spkg/build/pari-2.3.3.p1/src'
> Making gp in Olinux-i686
> make[3]: Entering directory `/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/spkg/build/pari-2.3.3.p1/src/Olinux-
> i686'
> ../config/genkernel ../src/kernel/ix86/asm0.h > parilvl0.h
> cat ../src/kernel/gmp/tune.h ../src/kernel/gmp/int.h ../src/kernel/
> none/level1.h > parilvl1.h
> cat parilvl0.h parilvl1.h > pariinl.h
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/language -I/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/local/include -o gp.o ../src/gp/gp.c
> cd ../src/desc && /usr/bin/perl merge_822 ../functions/*/* > def-linux-
> i686-27259.tmp
> mv ../src/desc/def-linux-i686-27259.tmp ../src/desc/pari.desc
> cd ../src/desc && /usr/bin/perl gen_proto gp pari.desc > gp_init-linux-
> i686-27259.tmp
> mv ../src/desc/gp_init-linux-i686-27259.tmp ../src/gp/gp_init.h
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/language -I/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/local/include -o gp_rl.o ../src/gp/
> gp_rl.c
> cd ../src/desc && /usr/bin/perl gen_proto highlevel pari.desc >
> highlvl-linux-i686-27259.tmp
> mv ../src/desc/highlvl-linux-i686-27259.tmp ../src/gp/highlvl.h
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -o whatnow.o ../src/gp/whatnow.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o plotnull.o ../src/graph/plotnull.c
> cat ../src/kernel/gmp/mp.c ../src/kernel/none/cmp.c ../src/kernel/none/
> gcdll.c ../src/kernel/none/ratlift.c  ../src/kernel/none/invmod.c ../
> src/kernel/gmp/gcd.c ../src/kernel/none/mp_indep.c ../src/kernel/none/
> add.c > mp.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer     -I. -
> I../src/headers -I/netbackup/downloads/Linux/sage_foss_mathematics/
> sage-4.1.1/local/include -o mp.o mp.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o mpinl.o ../src/kernel/none/mpinl.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o Flx.o ../src/basemath/Flx.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o Qfb.o ../src/basemath/Qfb.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o RgX.o ../src/basemath/RgX.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o alglin1.o ../src/basemath/alglin1.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o alglin2.o ../src/basemath/alglin2.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o arith1.o ../src/basemath/arith1.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o arith2.o ../src/basemath/arith2.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o base1.o ../src/basemath/base1.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o base2.o ../src/basemath/base2.c
> gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers  -o base3.o ../src/basemath/base3.c
>
> cc1: out of memory allocating 248 bytes after a total of 2894852096
> bytes
> make[3]: *** [base3.o] Error 1
> make[3]: Leaving directory `/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/spkg/build/pari-2.3.3.p1/src/Olinux-
> i686'
> make[2]: *** [gp] Error 2
> make[2]: Leaving directory `/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/spkg/build/pari-2.3.3.p1/src'
> Error building GP
>
> real    29m11.084s
> user    28m52.325s
> sys     0m7.977s
> sage: An error occurred while installing pari-2.3.3.p1
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /netbackup/downloads/Linux/sage_foss_mathematics/sage-4.1.1/
> install.log.  Describe your computer, operating system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /netbackup/downloads/Linux/sage_foss_mathematics/sage-4.1.1/spkg/build/
> pari-2.3.3.p1 and type 'make'.
> Instead type "/netbackup/downloads/Linux/sage_foss_mathematics/
> sage-4.1.1/sage -sh"
> in order to set all environment variables correctly, then cd to
> /netbackup/downloads/Linux/sage_foss_mathematics/sage-4.1.1/spkg/build/
> pari-2.3.3.p1
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/pari-2.3.3.p1] Error 1
> make[1]: Leaving directory `/netbackup/downloads/Linux/
> sage_foss_mathematics/sage-4.1.1/spkg'
>
> real    37m34.726s
> user    34m3.071s
> sys     2m30.475s
> Error building Sage.
>
> ***************************************************************
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to