On 2013-09-19, Luis Finotti <[email protected]> wrote:
>
> Dear all,
>
> I tried to compile 5.11 from source on a linux box running aptosid 
> (basically Debian Sid) with kernel 3.11, but it stopped when compiling 
> singular (or it seemed to me):
>
> ------------------
> Error building Sage.
>
> The following package(s) may have failed to build:
>
> package: singular-3-1-5.p7
[...]
>
> http://www.math.utk.edu/~finotti/misc/
You're using gcc 4.8.1 - I don't think Sage is known to work with it...

here is the relevant part of the log:

gcc -O2 -g  -fPIC -pipe  -I. -I.. -I/home/sage/sage-5.11/local
-I/home/sage/sage-5.11/local/include
-I/home/sage/sage-5.11/local/include
-I/home/sage/sage-5.11/local/include  -I/usr/local/include  -DNDEBUG
-DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -c weight0.c
In file included from ../kernel/si_gmp.h:4:0,
                 from ../kernel/structs.h:15,
                 from weight0.c:13:
../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file
or directory
 #include <bits/c++config.h>
                            ^
compilation terminated.
make[4]: *** [weight0.o] Error 1

So bits/c++config.h isn't where it should be...
What does 
    locate c++config.h
say?

You can also try building Sage with the gcc that comes with it.
To do so, set SAGE_INSTALL_GCC=yes
(as explained in
http://www.sagemath.org/doc/installation/source.html#section-envvar)

HTH,
Dmitrii

>
>
> Any help would be greatly appreciated.
>
>
> Luis
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to