On Sat, Nov 7, 2009 at 8:58 PM, Tim Joseph Dumol <[email protected]> wrote:
> The main issues are:
>
> * Incompatible libreadline.so.6 -- the libreadline in Sage is dynamically
> linked to libtermcap. Arch Linux disables libtermcap, so one needs to copy
> the system's libreadline to $SAGE_ROOT/local/lib. This is also the case in
> binary distributions.
Maybe this could be fixed by not linking to termcap on archlinux.
This would just require changing the spkg-install.
> * Issue building R -- this is a problem in many platforms with up-to-date
> GCC packages, and is worked around by either copying the system's libgcc, or
> by building Sage with the environment vars SAGE_FORTRAN and SAGE_FORTRAN_LIB
> set to the system's gfortran and libgfortran.so.
We will switch to requiring gfortran by default soon. For now do
export SAGE_FORTRAN=/usr/bin/gfortran
export SAGE_FORTRAN_LIB="/usr/lib/libgfortran.so"
before building sage.
> * Build hangs while building libfplll, which is worked around by copying the
> system's libfplll, and editing the $SAGE_ROOT/local/installed/ to make the
> build system think that libfplll is installed.
I didn't see this at all.
> * Finally, after the build is done, starting Sage or running the doctests
> fails with a message about a function in the Singular interface not being
> implemented. I do not know any workarounds to this.
I didn't see this at all either.
>
> Thus, it would probably be best to use the binary distribution for now.
>
I've only built a 64-bit binary distribution, since I haven't setup a
32-bit archlinux box yet. I will, but not now, since it takes a
while (even given the 32-bit install Dan Drake gave me -- there's
still a lot of config work I have to do).
SUMMARY: I built the 64-bit binary. For me Sage starts fine and
*all* doctests pass (both normal and long), so I don't at all see the
Singular issues you mention. I also definitely didn't have any
trouble with libfplll. Is there really a system libfplll on your
system? That seems unlikely, given that it is such an incredibly
specialized library for a specific part of math.
Anyway, I want to emphasize that the officially supported Linux
distros for building Sage are:
Debian, Ubuntu, CentOS (=Redhat), Fedora Core, OpenSuse, Mandriva
It would be nice to add arch linux to the list, but we're not quite
there yet. I'm confident we will be soon.
William
-- William
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---