Willam,

Thanks for the help.

Cheers
Karthick B

On Mar 25, 8:57 pm, William Stein <[email protected]> wrote:
> On Wed, Mar 25, 2009 at 6:31 AM, Karthick <[email protected]> wrote:
>
> > Dear All,
>
> > I tried to install Sage 3.4 from Source, i untared the distribution
> > and gave the command 'make'.
>
> > i ran for nearly 2 hours and got the following error..
>
> > ******************************************* ERROR
> > ******************************************************************
> > ................................
> > ................................
> > cd spkg && ./install all 2>&1 | tee -a ../install.log
> > make[1]: Entering directory `/home/sage-3.4/spkg'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/home/sage-3.4/spkg'
>
> > real    0m0.008s
> > user    0m0.005s
> > sys     0m0.003s
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/installation   .  /home/sage-3.4/devel/sage/doc/output/html/en/
> > installation
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/en/installation
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/tutorial   .  /home/sage-3.4/devel/sage/doc/output/html/en/tutorial
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/en/tutorial
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/numerical_sage   .  /home/sage-3.4/devel/sage/doc/output/html/en/
> > numerical_sage
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/en/numerical_sage
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/a_tour_of_sage   .  /home/sage-3.4/devel/sage/doc/output/html/en/
> > a_tour_of_sage
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/enTraceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/local/bin/sphinx-build", line 6, in <module>
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
> > /a_tour_of_sage
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/developer   .  /home/sage-3.4/devel/sage/doc/output/html/en/
> > developer
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/en/developer
> > sphinx-build -b html -d /home/sage-3.4/devel/sage/doc/output/doctrees/
> > en/website   .  /home/sage-3.4/devel/sage/doc/output/html/en/website
> > Build finished.  The built documents can be found in /home/sage-3.4/
> > devel/sage/doc/output/html/en/website
> > Traceback (most recent call last):
> >  File "/home/sage-3.4/devel/sage/doc/common/builder.py", line 668, in
> > <module>
> >    getattr(get_builder(name), type)()
> >  File "/home/sage-3.4/devel/sage/doc/common/builder.py", line 258, in
> > _wrapper
> >    getattr(get_builder(document), name)(*args, **kwds)
> >  File "/home/sage-3.4/devel/sage/doc/common/builder.py", line 345, in
> > _wrapper
> >    self.write_auto_rest_file(module_name)
> >  File "/home/sage-3.4/devel/sage/doc/common/builder.py", line 529, in
> > write_auto_rest_file
> >    title = self.get_module_docstring_title(module_name)
> >  File "/home/sage-3.4/devel/sage/doc/common/builder.py", line 497, in
> > get_module_docstring_title
> >    import sage.all
> >  File "/home/sage-3.4/local/lib/python2.5/site-packages/sage/all.py",
> > line 56, in <module>
> >    from sage.rings.memory import pmem_malloc
> > ImportError: /home/sage-3.4/local/lib/libpari-gmp.so.2: cannot restore
> > segment prot after reloc: Permission denied
>
> > ************************************************** END
> > *******************************************************************
>
> > can any one help me out to resolve this?
>
> You must disable SELinux.   This is briefly discussed in the README.txt that 
> is
> included in the sage tarball.
>
>  -- 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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to