On Jun 8, 1:55 pm, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote:
Hi Dave,
> I've posted quite a few things here recently on my attempts to build
> Sage on Solaris. Here's my summary of the current issues in building
> SAGE 3.0.3.alpha1 under Solaris 10, listed in order of the failures.
>
> My system is a Sun Blade 2000, 2 x 1.2 GHz, 8 GB RAM, running Solaris
> 10 update 4. GNU tools used when compiling (gcc 4.0.2 and gmake 3.81).
> This is not the same machine that I have allowed a few people access
> too, but it is similar in software configuration.
>
> No attempt was made to create a 64-bit binary.
>
> Only errors are listed - there are *tons* of compiler warnings, which
> I will ignore for now.
>
> gmake SAGE_PORT=SPARC
>
> 1) The first build failed is caused by NTL, with the package
> ntl-5.4.2.p3.spkg
>
> There are various problems with NTL, including GNUisms, the fact
> certain tests are not run on Solaris. Francois has submitted a patch
> for this. I've placed the .spkg file Francois created on my Sun Ultra
> 60 at:
>
> http://www.g8wrb.org/sage/ntl-5.4.2.p3.spkg.new
>
> If someone would download it and test on their box (any platform), it
> would be useful to know it works. It works on both Suns I have tested
> on, although these two machines have quite similar setups.
Yep, some very similar fix is going to get merged today.
> 2) The second build failure occurs at flint-1.06.p3
> The original Makefile in src/makefile works, but a patched version in
> patches/makefile does not.
> The solution to this is simple - remove the broken makefile in patches/
> makefile and remove the line
>
> cp patches/makefile src/
>
> from flint's spkg-install
>
> I've put a new version at flint at
>
> http://www.g8wrb.org/sage/flint-1.06.p3.spkg.new
>
> Again, it would be useful to know if if this works for others or not.
This is basically the same problem as above and I will remove the
GNUism, i.e. the linker flags, from the makefile today.
> 3) Next failure is polybori-0.3.1.p3
> Michael suggested the change:
>
> #!bin/sh" -> "#!/usr/bin/env bash"
This is only part of the porblem and likely not required.
> but that does NOT work for me. Numerous errors still appear but they
> are in C++ code and I don't know C++. I hope someone else can fix that
> one. (I will give access to one of my Suns for anyone that thinks they
> could do it).
The issue here is that SCons on Solaris has a preference for CC/cc
over g++/gcc. have a fix for that.
> 4) Next failure is on R. The Sun libiconv is not suitable - R needs
> the GNU one. I don't think using the option "--with-iconv=no" is a
> good idea, as that is deprecated and the option will be removed soon
> from R. configure.ac has this line in it:
>
> AC_MSG_WARN([--with-iconv=no is deprecated and will be withdrawn
> shortly])
>
> Hence I suggest libiconv is added to Sage - it is a small package (4.3
> MB) and compiles quite quickly (under 2 minutes on my 1.2 GHz Sun
> Blade 2000, which is not very fast by modern standards).
There are a couple issues at play here. On my Solaris 10 box libiconv
was installed and as is I did disable libiconv for R on OSX 64 bit.
> 5) The 5th failure is on rubiks-20070912.p7
>
> #!bin/sh" -> "#!/usr/bin/env bash
>
> works for me. I did *not* need to use the "install->ginstall"
> suggested by Michael.
Ok
> 6) In what I think is probably the final stages of the build, there
> are some errors which I've not looked at properly.
>
This is not the final stage of the build, but the SCons fix mentioned
above does fix this issue, too. But you need some other fixes, which I
have also in my tree
Thanks for the feedback. As it is seems that there were no unknown
problems and all of the above issues have fixes in my tree. They just
need to be cleaned up and merged into 3.0.3.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---