Building Sage on Open Solaris is presenting some difficulties due to a failure of the hashlib module to install easily.

On Solaris 10 (SPARC) is just seems to work ok. On OpenSolaris, it is far from clear how best to do it. I had a lot of trouble with it

http://trac.sagemath.org/sage_trac/ticket/7761

then finally managed to do it by building OpenSSL from source.

Jaap Spies had problems, so I gave him my binaries, but that did not help him. I then gave him access to my machine, where python built OK for him. He finally got it working on his machine.

I just tried a build of Sage 4.3 on Solaris 8 (released in 2001) on a Sun Blade 1000 (SPARC processors). There are no prizes for guessing where the Solaris 8 build failed - on the haslib module

http://trac.sagemath.org/sage_trac/ticket/7892

This failure on Solaris 8 was despite the fact the latest versions of the OpenSSL libraries were installed. OpenSSL binaries were downloaded from Sunfreeware, not built from source.

So it seems the Solaris/Python/OpenSSL mixture is a bit tricky. I could find no way of telling the python configuration file exactly what SSL library I wanted it to use if a system has more than one version. Neither do I know what version(s) of OpenSSL work.

There is also the issue of the GPL. One could argue Sage is not GPL on at least some versions of Solaris, as one needs to download the non-GPL OpenSSL libraries.

Packing a working OpenSSL library is not possible due to the license.

I can only hope, that as more people try to build Sage on Open Solaris, we might get a better understanding of what causes this problem.

If anyone understands it better than me, please let me know.

Dave

-- 
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
URL: http://www.sagemath.org

Reply via email to