Following the recent changes made to the server disk.math, the Solaris 10
machine t2.math was unable to build Sage, as it relied on some external NFS
shares which are no longer exist.
I've now set up t2.math so it is able to build Sage again. The software I've
added includes
* gcc 4.5.1
* emacs 23.2
* vim 7.3 (vi clone, but handles big files better than vi)
* screen 4.00.03
Please add something like:
if [ `uname -n` = t2 ] ; then
. /usr/local/bin/t2-setup
fi
to your .profile and removal a line which you may have which points to an
earlier version of gcc.
Note I have *not* installed the GNU coreutils, which means it's not possible to
build a binary of Sage using 'sage -bdist' as that makes use of the unportable
'-a' option to 'cp'. However, that bit of bdist can be modified to use 'tar'.
In fact, by using tar in a more efficient way, I think 'sage -bdist' can be
speeded up for everyone. That's because part of bdist creates a tar file, then
extracts that file. It would be sensible to pipe the output of one tar command
to the input of another, which should save a lot of I/O, as much of this will be
done in memory rather than on disk.
Note the following variable is set:
SAGE_FORTRAN_LIB=/usr/local/gcc-4.5.1/lib/libgfortran.so
If you wish to build a 64-bit version of Sage on Solaris 10 (which does build,
but is pretty unstable), then you will need to set that to
SAGE_FORTRAN_LIB=/usr/local/gcc-4.5.1/lib/sparcv9/libgfortran.so
and export SAGE64=yes.
Please look at /usr/local/bin/t2-setup to see exactly what variables are set.
You might choose to unset some of them, or set them to something else. However,
those settings work for building Sage.
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