I've tried to install Sage 5.4.1 from source code, but I stumbled upon this error when compiling numpy-1.5.1.p1:
error: could not create '/lib/python2.7': Permission denied This is the last part of the log: creating build/temp.linux-x86_64-2.7/numpy/random creating build/temp.linux-x86_64-2.7/numpy/random/mtrand compile options: '-Inumpy/core/include -Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/home/ach/opt/src/sage-5.4.1/local/include/python2.7 -Ibuild/src.linux-x86_64-2.7/numpy/core/src/multiarray -Ibuild/src.linux-x86_64-2.7/numpy/core/src/umath -c' gcc: numpy/random/mtrand/distributions.c gcc: numpy/random/mtrand/mtrand.c gcc: numpy/random/mtrand/initarray.c gcc: numpy/random/mtrand/randomkit.c gcc -pthread -shared -L/home/ach/opt/src/sage-5.4.1/local/lib -shared build/temp.linux-x86_64-2.7/numpy/random/mtrand/mtrand.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/randomkit.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/initarray.o build/temp.linux-x86_64-2.7/numpy/random/mtrand/distributions.o -L/home/ach/opt/src/sage-5.4.1/local/lib -Lbuild/temp.linux-x86_64-2.7 -lpython2.7 -o build/lib.linux-x86_64-2.7/numpy/random/mtrand.so running scons running build_scripts creating build/scripts.linux-x86_64-2.7 Creating build/scripts.linux-x86_64-2.7/f2py adding 'build/scripts.linux-x86_64-2.7/f2py' to scripts changing mode of build/scripts.linux-x86_64-2.7/f2py from 644 to 755 running install_lib creating /lib/python2.7 error: could not create '/lib/python2.7': Permission denied Error building numpy. real 1m7.356s user 1m1.392s sys 0m3.852s ************************************************************************ Error installing package numpy-1.5.1.p1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/ach/opt/src/sage-5.4.1/spkg/logs/numpy-1.5.1.p1.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/ach/opt/src/sage-5.4.1/spkg/build/numpy-1.5.1.p1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/ach/opt/src/sage-5.4.1/spkg/build/numpy-1.5.1.p1' && '/home/ach/opt/src/sage-5.4.1/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ make[2]: *** [installed/numpy-1.5.1.p1] Error 1 make[2]: Leaving directory `/home/ach/opt/src/sage-5.4.1/spkg' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ach/opt/src/sage-5.4.1/spkg' real 21m20.092s user 17m12.901s sys 4m28.217s Error building Sage. make: *** [build] Error 1 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.