Don't build Sage as root, build it as normal user.
On Friday, October 10, 2014 3:42:44 PM UTC+1, Nigel Smart wrote: > > Hi > > On compiling i get the following error when it gets to ntl... > > mkdir -m 755 /usr/local/sage/sage-6.3/local/include/NTL > cp -p ../include/NTL/*.h /usr/local/sage/sage-6.3/local/include/NTL > cp: preserving permissions for > `/usr/local/sage/sage-6.3/local/include/NTL/FFT.h': Operation not supported > cp: preserving permissions for > `/usr/local/sage/sage-6.3/local/include/NTL/FacVec.h': Operation not > supported > .... > cp: preserving permissions for > `/usr/local/sage/sage-6.3/local/include/NTL/xdouble.h': Operation not > supported > make[3]: *** [install] Error 1 > make[3]: Leaving directory > `/usr/local/sage/sage-6.3/local/var/tmp/sage/build/ntl-6.1.0.p0/src/ntl/src' > Error installing NTL. > > real 10m20.680s > user 8m56.163s > sys 0m27.681s > ************************************************************************ > Error installing package ntl-6.1.0.p0 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /usr/local/sage/sage-6.3/logs/pkgs/ntl-6.1.0.p0.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /usr/local/sage/sage-6.3/local/var/tmp/sage/build/ntl-6.1.0.p0 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 '/usr/local/sage/sage-6.3/local/var/tmp/sage/build/ntl-6.1.0.p0' && > '/usr/local/sage/sage-6.3/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > make[2]: *** > [/usr/local/sage/sage-6.3/local/var/lib/sage/installed/ntl-6.1.0.p0] Error 1 > make[2]: Leaving directory `/usr/local/sage/sage-6.3/build' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/sage/sage-6.3/build' > > > The inability to copy permissions did not seem to be a problem on other > parts > of the build, so I do not think it is this. > > > Machine details... > > OS : Centos > ntl-6.1.0.p0% uname -a > Linux snowy.cs.bris.ac.uk 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 > 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > ntl-6.1.0.p0% gcc -v > Using built-in specs. > Target: x86_64-redhat-linux > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --with-bugurl= > http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared > --enable-threads=posix --enable-checking=release --with-system-zlib > --enable-__cxa_atexit --disable-libunwind-exceptions > --enable-gnu-unique-object > --enable-languages=c,c++,objc,obj-c++,java,fortran,ada > --enable-java-awt=gtk --disable-dssi > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre > --enable-libgcj-multifile --enable-java-maintainer-mode > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib > --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 > --build=x86_64-redhat-linux > Thread model: posix > gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) > > > Any ideas? > > Nigel > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.