[sage-devel] Re: use Sage!

2013-05-05 Thread Dima Pasechnik
["Followup-To:" header set to gmane.comp.mathematics.sage.devel.] On 2013-05-06, rjf wrote: > --=_Part_1579_8214636.1367802043271 > Content-Type: text/plain; charset=ISO-8859-1 > > > > On Thursday, May 2, 2013 1:27:30 PM UTC-7, William wrote: >> >> Hi Sage-Developers, >> >> There is a big ser

[sage-devel] Sage 5.9 Fails to build in conway_polynomials

2013-05-05 Thread Johannes
Hi List, I tried to upgrade sage via sage -upgrade but it fails in conway_polynomials. For more Details see attachment. On: Linux neo 3.2.0-41-generic #65-Ubuntu SMP Wed Apr 10 18:23:37 UTC 2013 i686 i686 i386 GNU/Linux Ubuntu 12.04 bg Johannes -- You received this message because you are subs

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread Pong
Oh... I see. I am ignorant on what various flags mean. Let me summarize my problems and see if I get them right: 1) my gcc compiler confuses c and c++ programs. 2) I want to solve 1) by forcing sage to use the gcc-4.7.2. but the problem is that the copy of gcc that come with sage won't build fro

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread leif
Pong wrote: Report: buliding Singular by itself seems to be completely fine. ./configure make -j4 results in Well, you'd have to (at least) configure with '--with-apint=gmp' as well (cf. Sage's spkg-install script). -leif /usr/bin/install -c -s solve_IP /home/pong/Downloads/Singula

[sage-devel] Re: use Sage!

2013-05-05 Thread rjf
On Thursday, May 2, 2013 1:27:30 PM UTC-7, William wrote: > > Hi Sage-Developers, > > There is a big series of small books about R that Springer publishes: > > http://www.springer.com/series/6991?detailsPage=titles > > The editorial director of that series at Springer just talked with me >

Re: [sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread Pong
Report: buliding Singular by itself seems to be completely fine. ./configure make -j4 results in /usr/bin/install -c -s solve_IP /home/pong/Downloads/Singular-3-1-5/x86_64-Linux /usr/bin/install -c -s change_cost /home/pong/Downloads/Singular-3-1-5/x86_64-Linux /usr/bin/install -c -s

Re: [sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread Pong
Well... it said "prerelease" gcc version 4.8.0 20130502 (prerelease) (GCC) I see now, obviously 4.8.0 is still a prerelease... Just out of curiousity, I have just downloaded a copy of Singular-3.1.5 from the offical site and see if it compiles on my machine. Will keep everyone posted. On Sund

Re: [sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread François Bissey
On Sun, 05 May 2013 16:07:11 Pong wrote: > Nope. I got the exact seem error. See the lastest log attached. > > One more thing that puzzled me is that the arch users just got an update > (including my machine) on gcc. So it's not the pre-release any more. > ~ [i]> pacman -Qi gcc > Name :

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread leif
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 firs

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread leif
leif wrote: The problem is not that a C compiler is used to compile weight0.c, but that cf_gmp.h includes 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 brok

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-05 Thread leif
Francois Bissey wrote: On 05/05/13 21:12, Wai Yan Pong wrote: Hum I see what you are saying. Well my case is a bit tricky but I think I'm not alone. I am using Archlinux, so there is not g++ separately. And gcc decides whether the program as a C or C++ program in the following way. |gcc file.C

Re: [sage-devel] Singular fails to build in Sage 5.9

2013-05-05 Thread Francois Bissey
On 05/05/13 21:12, Wai Yan Pong wrote: > Hum I see what you are saying. Well my case is a bit tricky but I think > I'm not alone. I am using Archlinux, so there is not g++ separately. And > gcc decides whether the program as a C or C++ program in the following way. > > |gcc file.C # uppercase .C (

Re: [sage-devel] Singular fails to build in Sage 5.9

2013-05-05 Thread Wai Yan Pong
Hum I see what you are saying. Well my case is a bit tricky but I think I'm not alone. I am using Archlinux, so there is not g++ separately. And gcc decides whether the program as a C or C++ program in the following way. gcc file.C # uppercase .C (or .cpp) will process as C++ gcc file.c # lowercas

Re: [sage-devel] Singular fails to build in Sage 5.9

2013-05-05 Thread Francois Bissey
On 05/05/13 19:32, Pong wrote: > Looking for help in compiling SAGE 5.9 > > I encountered an error in buliding Singular-3-1-5.p7 > > I suspect the following may be the relevant part of the log file > > In file included from ../kernel/si_gmp.h:4:0, > from ../kernel/structs.h:15,