True.. When I took my installation of Sage for a test-drive, errors
started popping out..

About SELinux, it is disabled on this server..

root@host1 [~]# sestatus
SELinux status:                 disabled

What do I do from here?

Enable SELinux and do another make?

I installed Sage as user akowe that has the same rights as root (using
command: chown-R akowe /home/akowe)
Would this problem be solved if I installed as root?

On Oct 8, 2:12 pm, Nils Bruin <[email protected]> wrote:
> On Oct 8, 9:38 am, Patrick ABOU BAKAR <[email protected]> wrote:
>
> > Just finished an install from source of Sage 4.7.1 on a CentOS 5.7
> > remote server..
>
> > Got a "Failed to install maxima.fasb as a library" error even though
> > everything else works fine.. command line and notebook..
>
> In 4.7.1, a failure to build maxima.fasb means the maxima-dependent
> parts of calculus won't work. If you try
>
> integrate(sin(x),x)
>
> you'll probably see a failure.
>
> make test
>
> would also report numerous failures.
>
> > ;;;   gcc -o /tmp/ecl001mtfbfX.fas -L/home/akowe/www/m/sage-4.7.1/
> > local/lib/ /tmp/ecl001mtfbfX.o -Wl,--rpath,/home/akowe/www/m/
> > sage-4.7.1/local/lib/ -shared -L/home/akowe/www/m/sage-4.7.1/local/lib
> > -L/home/akowe/www/m/sage-4.7.1/local/lib -lecl -lgmp -lgc -ldl -lm
> > ;;; Internal error:
> > ;;;   ** LOAD: Could not load file #P"/tmp/ecl001mtfbfX.fas" (Error: "/
> > tmp/ecl001mtfbfX.fas: failed to map segment from shared object:
> > Operation not permitted")
>
> This looks like the failure that is responsible. Probably ecl is
> trying to load a dynamic library here (*.so, but called *.fas here),
> which apparently is not permitted.
> My uninformed guess would be SELinux permissions. Disabling linking
> libraries from /tmp sounds like just the kind of thing someone might
> include in a SELinux policy.

-- 
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

Reply via email to