On Tue, Aug 4, 2009 at 12:55 PM, David Kirkby <david.kir...@onetel.net>wrote:

>
> Last night Sage 4.1.1.rc0 built on my Sun Ultra 80, though I had to
> bypass Maxima and apply a hack to the pari include file. It appeared
> to work, though the notebook does not.
>
> This was using Solaris 10 update 7 (same as on t2) and GCC version
> 4.4.0 (GCC version 4.4.1 was released two weeks ago).
>
> I've stuck a few notes in
>
> http://wiki.sagemath.org/solaris
>
> I just tried to have a go with Sun's compiler, but hit an immediate
> issue - the configure script at the beggining says my version of gcc
> is too old. Clearly that needs changing if the compiler specified is
> not gcc, then it does not check for a gcc version.
>
> I basically did
>
> $ export CC=/opt/SUNWspro/bin/cc
> $ export CXX=/opt/SUNWspro/bin/CC
> $ export SAGE_FORTRAN=/opt/SUNWspro/bin/g95
> $ export CFLAGS=-m32
> $ export CXXFLAGS=-m32
> $ export FFLAGS=-m32
>
> then typed
>
> $ make
> <SNIP>
> checking for gcc... /opt/SUNWspro/bin/cc
> checking whether we are using the GNU C compiler... no
> checking whether /opt/SUNWspro/bin/cc accepts -g... yes
> checking for /opt/SUNWspro/bin/cc option to accept ANSI C... none needed
> <SNIP>
> checking whether gcc is new enough... configure: error: please upgrade
> to gcc 3.x or 4.x
>  ERROR: You do not have all of the prerequisites needed
>  to build SAGE from source.  See the errors above.
> make[1]: *** [installed/prereq-0.3] Error 1
> make[1]: Leaving directory
> `/rootpool2/local/kirkby/sunbuild/sage-4.1.1.rc0/spkg'
>
> I think once we get Maxima and ECL fixes into Sage the only issue
> stopping a build is this pari header file.
>
> However, notebook() would not work for me. I've seen this same issue
> now with two different versions of gcc, on two different computers and
> with two different versions of Sage.
>
> I'm in the process of building Sage on t2 - both with gcc 4,2.4 and
> 4.4.0. I'll let you know the results later.
>

Once Sage builds on t2 (or disk.math), I can look into the notebook issue.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to