Pong wrote:
Hi leif, thank you for looking into this issue as well. Attached is my cf_gmp.h after a failed build attempt with sage -f singular-3-1-5.p7
Well, that version doesn't include bits/c++config.h. (It doesn't have as many lines as the previous one where the error occurred, and at first glance looks pretty sane.)
Do you get a different error now? -leif
On Sunday, May 5, 2013 12:02:26 PM UTC-7, leif wrote: The problem is not that a C compiler is used to compile weight0.c, but that cf_gmp.h includes <bits/c++config.h> in the first place. (Although bits/c++config.h is valid C code as well, it's not in the [C++] include path if you compile a file as C code which includes it.) But it seems ArchLinux's broken gcc/g++ behaviour triggers the problem. Pong, could you upload/attach your cf_gmp.h? (Should be located in $SAGE_ROOT/spkg/build/singular-3-1-5.p7/src/factory/, but only after a failed build or if you use 'sage -f -s ...', or alternatively set SAGE_KEEP_BUILT_SPKGS=yes.) I'll take a look at the full Singular build log you attached earlier. -leif
-- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.