Solaris binaries.

12 views
Skip to first unread message

Dr. David Kirkby

unread,
Feb 2, 2010, 8:02:37 PM2/2/10
to sage-...@googlegroups.com
As I said in a post half an hour or so ago, I've installed sage 4.3.0.1 on 't2' at

/usr/local/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v/sage

I've also made the binary distribution available in 3 ways. All 3 can be found
in the directory:

http://boxen.math.washington.edu/home/kirkby/binaries/

1) A tar file

http://boxen.math.washington.edu/home/kirkby/binaries/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar

This will be fastest if you want to install your own binary copy of Sage on
't2', but at 1.7 GB in size, it is too big to download.

2) A compressed binary, using gzip.
http://boxen.math.washington.edu/home/kirkby/binaries/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar.gz

That is 501 MB.

3) A compressed binary created using p7zip, which I beleive defaults to LZMA
compression, so gives a very high compression ration.

http://boxen.math.washington.edu/home/kirkby/binaries/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar.7z

which is only 300 MB. To extract that, use

$ p7zip -d sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar.7z


These binaries were created on the first release of Solaris 10. They also
include all the gcc C, C++ and Fortram libraries. So I believe should run on any
Solaris 10 system.

OpenSSL 0.9.7 was used when building these, which is quite old, python added a
bit of code itself, which is missing from this early version of OpenSSL. That
might impact the performance a bit, but it means that Sage could be build on an
old machine, without downloading anything else.

It would be good if anyone with access to a Solaris 10 SPARC system would test
one of these.

Could the sage-4.3.0.1 source code, as well as these binaries, be made available
on the Sage web site, and poked out to mirrors.


Dave

Message has been deleted

Harald Schilly

unread,
Feb 3, 2010, 5:13:47 AM2/3/10
to Minh Nguyen, sage-...@googlegroups.com
On Wed, Feb 3, 2010 at 03:47, Minh Nguyen <nguye...@gmail.com> wrote:
> Harald knows more about the mirroring process than I do.

Yes, and we have a problem! They have shut down the master server and
therefore mirroring is broken. Also the new archlinux binary from some
days ago is affected and can't be mirrored out. The server seems to be
up again, but I don't have sudo rights as before. So I cannot fix this
by myself. I hope they restore the configuration soon and start the
server...

H

Dr. David Kirkby

unread,
Feb 3, 2010, 5:14:56 AM2/3/10
to sage-...@googlegroups.com
Minh Nguyen wrote:
> Hi David,
>
> On Wed, Feb 3, 2010 at 12:02 PM, Dr. David Kirkby
> <david....@onetel.net> wrote:
>
> <SNIP>

>
>> Could the sage-4.3.0.1 source code, as well as these binaries, be made
>> available on the Sage web site, and poked out to mirrors.
>
> I have updated the Sage website to account for the Sage 4.3.0.1 source
> and binary tarballs.

Where - I can't find them!

> The main download page [1] now mentions that Sage
> 4.3.0.1 is the latest version of Sage that compiles on the Sun T5240
> running SPARC Solaris 10. In particular, see the section "Solaris" on
> that page, which also provides a link to the relevant wiki page [2]
> for build instructions. The page specific to Solaris downloads [3]
> also has such information. The master mirror page [4] has been updated
> accordingly. However, note that the master mirror page specific to
> Solaris downloads [5] isn't yet updated to display binary and source
> tarballs for Sage 4.3.0.1. I have already uploaded the source and
> binary tarballs to the Sage website. But I have not mirrored them out.
> Harald knows more about the mirroring process than I do. So I leave
> this task to his capable hands.
>
>
> [1] http://www.sagemath.org/download.html

I would revise the comment about the T5240. It implies a later release would
work on other SPARCs, which is not true. The problem we have is not specific to
't2'.

I would revise it to:

"Sage 4.3.0.1 is the latest version that successfully builds on Solaris 10. The
4.3.0.1 binary was produced on Solaris 10 3/05 so it should run on any SPARC
running Solaris 10. For information about building Sage on Solaris see the Sage Wiki

http://wiki.sagemath.org/solaris

For those with access to the Sun T5240 't2.math.washington.edu', there are very
simple instructions for building Sage on 't2' at:

http://wiki.sagemath.org/devel/Building-Sage-on-the-T5240-t2


> [2] http://wiki.sagemath.org/devel/Building-Sage-on-the-T5240-t2

I'll go over that again, and make some minor changes, but it is basically correct.

> [3] http://www.sagemath.org/download-solaris.html

This link is confusing on several counts, mostly as it contains a lot of
information that is totally unrelated to Solaris, yet it is clearly a
Solaris-specific web page. It is also inaccurate in places.

I'll cover the issues in the order of the sections as they appear on the page.

-----------------

1) Download for Solaris

* The first paragraph says the latest release is Sage 4.3.1, but it is not until
the next section that we learn 4.3.1 will not work on Solaris. I feel this
fact needs to go into the first sentence.

I would revise that to:

"The current Sage release is 4.3.1, but unfortunately that does not build on
Solaris, although we are working on solving that problem. The latest release to
build on Solaris is 4.3.0.1. You can download the 4.3.0.1 source code, or a
binary produced on Solaris 10 3/05 so it should run on any SPARC running Solaris
10. No version of Sage will build on Solaris 9 or earlier."

2) Usage.
I'm always going to have to upload binaries using the LZMA format, as otherwise
it will take me an ages to do it - the LZMA saved about 40% of the space on the
Solaris binary. Also, the Sun version of tar will not extract the binaries or
source code. As such, I would suggest changing the Usage section to:

"The Solaris binary will usually be available in two formats. One with the
extension .gz, which uses common gzip compression and another with the extension
.7z, which uses the better LZMA compression. Older releases of Solaris 10 will
not have the 'p7zip' program needed to decompress the .7z file. Solaris patch
#137321 will install 'p7zip', although you need a Sun maintenance contract to
get this patch. Otherwise you can either build the open-source p7zip yourself,
or use the .gz file.

The Sun version of tar will not extract the Sage source or binary files, so the
GNU version at /usr/sfw/bin/gtar must be used. Execute:

$ gzip -d sage...tar.gz (if using the .gz file)
$ p7zip -d sage...tar.7z (if using the .7z file)
$ /usr/sfw/bin/gtar xf sage...tar

If you downloaded a binary, run sage by calling the command: sage.

If you downloaded the source code, you will need at least GCC 4.0.1 installed.
GCC 3.4.3 supplied with Solaris will not work. Further information about
building Sage on Solaris can be found on the Sage wiki at

http://wiki.sagemath.org/solaris"

3) Updates
Fine, but I'd tend to put it further down the page myself. But there is no
problem with it.

4) Source
I would make it once again clear one needs the 4.3.0.1 source, so change that to:

"Download the file sage-4.3.0.1.tar.gz and not the latest Sage release"

But I've personally been unable to find the source code!!

5) DVD
I'd remove this section from *all* web pages, as the DVD is not available from
Lulu. Click the link and you will see it is unavailable. I recall someone saying
they had problems uploading via ftp. Until that is resolved, there is no point
in having this link.

6) Sage Live CD
I would remove that. It is totally unrelated to Solaris.

7) Additional Packages
No problems.

8) Additional Packages
No problems

9) Utilities
I would note that you need to have Latex installed to use this. Latex does not
come preinstalled on Solaris.

> [4] http://www.sagemath.org/mirror/

> [5] http://www.sagemath.org/mirror/solaris/

sage-3.4.2-sun4u-SunOS+toolchain.tar.gz
needs removing.

sparc-solaris-toolchain-gcc-4.3.2.tar.gz

should I feel be removed too, as certainly has problems (I tried using it) and
it uses the GNU linker, which is not what I've used to build Sage. It might just
work, as I've rid Sage of many of the GNUims, but I know it has hard-coded paths
to Micheal's directory, which need editing. I think it will be more trouble than
it is worth.

I will create a newer tool chain myself. Although I've not tested it, Sage
should build from the gcc from

Blastwave

http://www.blastwave.org/

or OpenCSW

http://www.opencsw.org/


I'm a bit reluctant to recommend either though, as OpenCSW is a fork from
Blastwave (very bad feelings between two parties), but both install files in the
same directory (/opt/csw).

It is highly likely having some files from Blastwave and some from OpenCSW will
result in havoc. Why the hell the OpenCSW team did not chose another directory I
will never know. (Blastwave used /opt/csw for many years).

Dave

Harald Schilly

unread,
Feb 3, 2010, 5:51:25 AM2/3/10
to sage-devel
On Feb 3, 11:14 am, "Dr. David Kirkby" <david.kir...@onetel.net>
wrote:

> > I have updated the Sage website to account for the Sage 4.3.0.1 source
> > and binary tarballs.
>
> Where - I can't find them!

Mirroring is broken because they have shut down the master server days
ago without telling anything and hence it is impossible to mirror out
to other servers and I'm also not admin there so I can't fix this!

Here on boxen a snapshot what will be on the mirror:
http://boxen.math.washington.edu/sage/solaris/index.html

H

Dr. David Kirkby

unread,
Feb 3, 2010, 6:24:44 AM2/3/10
to sage-...@googlegroups.com

Thank you Harald - I understand your frustration.

Could you add

sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar.7z

as it will save someone downloading an extra 200 MB.

Dave

Harald Schilly

unread,
Feb 3, 2010, 9:59:39 AM2/3/10
to sage-devel
On Feb 3, 12:24 pm, "Dr. David Kirkby" <david.kir...@onetel.net>
wrote:
> sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v.tar.7z

yes, and i'll remove both 3.4.2 toolchain files, ok?

H

Dr. David Kirkby

unread,
Feb 3, 2010, 11:36:00 AM2/3/10
to sage-...@googlegroups.com

Yes, I think they are pretty useless. I know for a fact they have Micheal's
paths hard-coded in them, so I think they will be more problems than they are
worth.

Harald Schilly

unread,
Feb 3, 2010, 11:50:44 AM2/3/10
to sage-...@googlegroups.com
On Wed, Feb 3, 2010 at 17:36, Dr. David Kirkby <david....@onetel.net> wrote:
>> yes, and i'll remove both 3.4.2 toolchain files, ok?
> Yes, I think they are pretty useless.

I think that too, but I ask to be sure ;)
I'm also adding links to the two solaris wiki pages on the download
page on the mirrors. Consider it done!

H

Dr. David Kirkby

unread,
Feb 3, 2010, 12:21:41 PM2/3/10
to sage-...@googlegroups.com


Thank you.


http://www.sagemath.org/doc/installation/source.html

also needs updating, as it says

-----------------------------------------------------
Solaris? FreeBSD? OS X 10.5 in 64 bit mode?: Complete compilation of Sage is
currently not supported on Solaris or *BSD. It is possible to compile most of
Sage on Solaris machines and to fill in the extra parts using standard packages;
please email sage-devel if you desperately need to run Sage on Solaris. We do
plan to fully support Solaris - it�s a very important platform. Work is ongoing.
-----------------------------------------------------

It's clearly now possible to compile all of Sage on Solaris 10 on SPARC hardware.

http://t2nb.math.washington.edu:8000

is testament to that.

I've built it on at least two of my own SPARCs, Minh has built it on 't2'. It's
been built on the first release of Solaris 10, as well as the latest release.

I'd like to ask on comp.unix.solaris to get some others to try Sage, but I'm a
bit reluctant to start posting links until the information is reasonably
accurate, and the mirrors working. Otherwise it will negatively reflect on Sage.
We have waited long enough for a Solaris port - a few more days will make no
practical difference.

You may have seen my earlier post to Minh about the various issues on pages -
some of which, like the Sage DVD, need removing from all web pages.


Dave

Harald Schilly

unread,
Feb 3, 2010, 12:38:38 PM2/3/10
to sage-...@googlegroups.com
On Wed, Feb 3, 2010 at 18:21, Dr. David Kirkby <david....@onetel.net> wrote:
> http://www.sagemath.org/doc/installation/source.html
>
> also needs updating, ...

That's the Sage documentation -> hence trac (component: documentation)
ticket + patch


> I'd like to ask on comp.unix.solaris to get some others to try Sage, but I'm
> a bit reluctant to start posting links until the information is reasonably
> accurate, and the mirrors working.

When I don't forget I'll email you when the mirrors are OK.

>
> You may have seen my earlier post to Minh about the various issues on pages
> - some of which, like the Sage DVD, need removing from all web pages.

I only read a part of it. I don't know the status of the sage DVD, is
it really dead? Ok, well, website says it's gone ... Well, thank's for
telling me.

H

Reply all
Reply to author
Forward
Message has been deleted
0 new messages