2012/9/30 Jeroen Demeyer <jdeme...@cage.ugent.be>
> This is now updated to GCC-4.7.2 and needs review as *optional* package:
I wanted to try this on a Sage 5.4 beta 1 (upgraded from Sage 5.3 binary)
on Ubuntu 12.04 64 bit, and here's what I get:
<snip>
-I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc
-I../../../src/libgcc/../include -I../../../src/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT
_muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../../src/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/stdio.h:28:0,
from ../../../src/libgcc/../gcc/tsystem.h:88,
from ../../../src/libgcc/libgcc2.c:29:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: File o
directory non esistente
compilation terminated.
make[3]: *** [_muldi3.o] Errore 1
make[3]: uscita dalla directory
"/home/andrea/Scrivania/Torrent/sage/spkg/build/gcc-4.7.2/gcc-build/x86_64- unknown-linux-gnu/libgcc"
make[2]: *** [all-stage1-target-libgcc] Errore 2
make[2]: uscita dalla directory
"/home/andrea/Scrivania/Torrent/sage/spkg/build/gcc-4.7.2/gcc-build"
make[1]: *** [stage1-bubble] Errore 2
make[1]: uscita dalla directory
"/home/andrea/Scrivania/Torrent/sage/spkg/build/gcc-4.7.2/gcc-build"
make: *** [all] Errore 2
real 7m4.258s
user 5m7.867s
sys 0m53.403s
************************************************************************
Error installing package gcc-4.7.2
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/home/andrea/Scrivania/Torrent/sage/spkg/logs/gcc-4.7.2.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/andrea/Scrivania/Torrent/sage/spkg/build/gcc-4.7.2 and type 'make' or
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/andrea/Scrivania/Torrent/sage/spkg/build/gcc-4.7.2' &&
'/home/andrea/Scrivania/Torrent/sage/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Am I missing something? I tried to search online but the only suggestion I
got is to install gcc, gfortran or g++ all of which I already have.
Thank you,
--
*Andrea Lazzarotto* - http://andrealazzarotto.com*
*