Hi Henri, On 21 October 2015 at 08:57, HG <henri.gir...@gmail.com> wrote:
> Usually I do sudo bash sm-install.sh and I got sagemanifolds installing. > With this ppa sage-6.9 ppa it doesn't work after compiling a first time I > got this error message : > sys:1: RuntimeWarning: not adding directory '/usr/lib/sagemath/src' to > sys.path since it's not owned by a trusted user. > Untrusted users could put files in this directory which might then be > imported by your Python code. As a general precaution from similar > exploits, you should not execute > Any ideas how to get it working ? with binary I haven't this problem. > Did you not have this with the PPA 6.8? You should have gotten this error with 6.8 as well. (Note the 6.9 is still in the savemath-dev PPA, not the stable one.) Can you send the out put of ls -la /usr/lib/sagemath. I expect src is owned by root and readable by all. The difference here is that the binary is unpacked as your user, and all the files are owned by your user. The PPA unpacks as root (as most software does on multi-user systems). I'm thinking about adding a sagemath user and changing ownership of $SAGE_ROOT to that non-root user though. Then you will have to su to sagemath to build. It is in any case unsafe to run make as root. On a single-user system you can fix this with sudo chown -R $USER:$USER /usr/lib/sagemath/src (or /usr/lib/sagemath) and then running your sm-install.sh as yourself without sudo. Also, you need to be usign sagemath-upstream-binary-full (with the full) or most of your src folder will be missing. Regards, Jan -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.