If you read the log, you would see > sys:1: RuntimeWarning: not adding directory '' to sys.path > since it's writable by an untrusted group. > 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 Python code from > this directory yes
In other words: the directory in which you compile must be owned by a standard linux user (i.e. not root) and with no fancy authorizations (e.g. rwxr-xr-x is fine). Then you should not compile as a root but as this standard user. Vincent 2014-12-15 17:23 UTC+01:00, Soomin Jeon <soomin.jeo...@gmail.com>: > Uhm, actually I faced another problems..... > (I posted a note about the same problem on the sage-devel corner because > they say they want to know all problems) > > ************************************************************************ > Error installing package pynac-0.3.2 > ************************************************************************ > 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-6.4.1/logs/pkgs/pynac-0.3.2.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-6.4.1/local/var/tmp/sage/build/pynac-0.3.2 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-6.4.1/local/var/tmp/sage/build/pynac-0.3.2' && > '/usr/local/sage-6.4.1/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > make[2]: *** > [/usr/local/sage-6.4.1/local/var/lib/sage/installed/pynac-0.3.2] Error 1 > make[2]: Leaving directory `/usr/local/sage-6.4.1/build' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/sage-6.4.1/build' > > real 85m17.075s > user 77m22.674s > sys 11m51.313s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build: > > package: pynac-0.3.2 > log file: /usr/local/sage-6.4.1/logs/pkgs/pynac-0.3.2.log > build directory: /usr/local/sage-6.4.1/local/var/tmp/sage/build/pynac-0.3.2 > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > make: *** [build] Error 1 > =============================================== > > I hope it is NOT a problem as before!! :( > > -- > 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. > -- 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.