William Stein wrote:
2010/3/27 John Bussoletti <johnbussole...@comcast.net>:
Sage Dev Staff:
I downloaded sage 4.3.4 and tried to build from source on my Fedora Core 12
system and found the same failure in trying to build Pari.
So I fiddled and finally built Pari by hand, successfully, lied to the
installation process by manually entering an appropriate entry in the
installed direcotry and tried to continue the build process. It failed
immediately trying to build ntl but this time there was a message about a
problem trying to make the stack executable in libgmp.so.
It turns out that the default Fedora Core 12 installation turns on SE Linux
in "Enforcing" mode. I changed it to "Permissive" and the buld process
continued. I still haven't completed a successful build, but now that I've
discovered some SE Linux interference issues, I'll start with a clean build
with SE Linux in the "Permissive" or, if necessary, the "Disabled" mode and
see if that is the issue.
John Bussoletti
Please report back.
Is there an easy command line way to check whether or not SE Linux is
set to disabled? If so, we should add that to the prereq check right
at the beginning of building Sage.
William
Some systems have modes which prevent things being executed on the stack for
security reasons. That is likely to become more common over time. Any SPARC chip
in use would have the protection in the hardware, as would many of the newer
Intel chips. Why Sage builds on Solaris, whilst the protection mode is in
operating I don't know (I think it is the default).
It seems to me that a better solution, if possible, would be to prevent Sage
needing 'permissive mode'. I assume that needs root access, which means one
would need to be root to install Sage on Fedora - not a great idea.
If I've mis-understood what this 'permissive mode' is, then ignore what I say.
Dave
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
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.