andrea previtali wrote:
Hi,
I'trying to install sage on a Solaris machine and get the following

previ...@gauss /share/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v $./sage
----------------------------------------------------------------------
| Sage Version 4.3.0.1, Release Date: 2010-01-28                     |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
'import site' failed; use -v for traceback
File "/share/sage-4.3.0.1-Solaris-10-SPARC-sun4u-or-sun4v/local/bin/sage-location", line 67
    return ' '.join(set(x for x in r.split() if x in FLAGS))
                            ^
SyntaxError: invalid syntax


Bye

I've no idea why this is happening, although I was the one who created that SPARC binary. I've moved it around on different systems, with different install paths and not had a problem.

The documentation which says the latest version to build on Solaris is 4.3.0.1 is outdated (my fault). 4.3.4 does fully build on Solaris, and passes all the tests - something that 4.3.0.1 never did.

I've just started to create a .lzma format file at:

http://boxen.math.washington.edu/home/kirkby/sage-4.3.4-Solaris-sun4u-SunOS.tar.lzma

At the time of writing, this is not completed - lzma is a slow compression method. But I would expect it would be done in another half hour or so.

Once the modification time of the file is some time in the past, I suggest you download that. I'm not sure if the extension .lzma can be decompressed with the '7za / p7zip' program on Solaris. You might find if you rename the .lzma to .7z it will work. (If not, you will need to build the lzma program to decompress it). I would have created it on a Sun SPARC using 'p7zip', but the Sun SPARC at the University of Washington is ill suited for Sage developement and will take hours to compress that file. So I moved it to a Linux box and used lzma compression. I think the compression methods are the same.

If all else fails, you can download a tar file:

http://boxen.math.washington.edu/home/kirkby/sage-4.3.4-Solaris-sun4u-SunOS.tar

but at 1.6 GB, it is much larger than the .lzma format file will be, which will be around 300 MB once it is compressed.

Dave


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to sage-support+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to