Hi,

I also had a build failure for sage 5.0.1, also when building gcc, but
the bug looks different (see error message below). I am running ubuntu
12.04. I was surprised sage wanted to compile gcc, as I have an
up-to-date version, but it turns out sage wants a fortran compiler. I
read the f###ing manual too fast and did not install gfortran myself
using the package manager, so sage decided to build its own.

gcc -c   -O0 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I.
-I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include
-I/home/cbouilla/sage-5.0.1/local/include
-I/home/cbouilla/sage-5.0.1/local/include
-I/home/cbouilla/sage-5.0.1/local/include
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid
-I../libdecnumber    ../../src/gcc/except.c -o except.o
                 from ../../../src/libgcc/../gcc/tsystem.h:87,
                 from ../../../src/libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such
file or directory
compilation terminated.
make[5]: *** [_muldi3.o] Error 1

Installing gfortran apparently solves the problem... but there is
still something a bit woing

Cheers,
---
Charles
http://www.di.ens.fr/~bouillaguet/

2012/6/20 john_perry_usm <[email protected]>:
> Hello
>
> I encountered a build failure for 5.0.1 when building gcc (of all things).
> Error message (somewhat truncated) below. Apparently, it wants me to install
> libopcodes.
>
> This is an Intel Core 2 Quad w/4GB of memory, running Fedora 17.
>
> regards
> john perry
>
> /usr/bin/as: error while loading shared libraries:
> libopcodes-2.21.53.0.1-6.fc16.so: cannot open shared object file: No such
> file or directory
> ...
> ************************************************************************
> Error installing package gcc-4.6.3
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   /home/sage-5.0.1/spkg/logs/gcc-4.6.3.log
> Describe your computer, operating system, etc.
>
> --
> 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
> URL: http://www.sagemath.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
URL: http://www.sagemath.org

Reply via email to