/home/m/.sage needs to be owned by your account "m" and have suitable permissions, e.g.:
$ ls -ld ~ ~/.sage ~/.sage/.python-eggs drwx------. 1 vbraun vbraun 5630 Dec 4 17:41 /home/vbraun drwx------. 1 vbraun vbraun 1080 Nov 29 17:49 /home/vbraun/.sage drwx------. 1 vbraun vbraun 156 Feb 28 2015 /home/vbraun/.sage/.python-eggs On Friday, December 4, 2015 at 4:58:47 PM UTC+1, Mathieu Roux wrote: > > Good evening, > > I am trying to install sage on my laptop (linux mint 17.3 Rosa). > > When i type "make", it does not work. Bellow is the end of the message. > The repertory is simply: /home/m/sage-6.9 > > Can you help me? > > > > > make[3]: Leaving directory `/home/m/sage-6.9/src' > > real 0m4.480s > user 0m3.712s > sys 0m0.616s > cd ../.. && sage-logger './sage --docbuild --no-pdf-links all html ' > logs/dochtml.log > /home/m/sage-6.9/local/lib/python2.7/site-packages/setuptools-18.1-py2.7.egg/pkg_resources/__init__.py:1256: > > UserWarning: /home/m/.sage//.python-eggs is writable by group/others and > vulnerable to attack when used with get_resource_filename. Consider a more > secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE > environment variable). > Setting permissions of DOT_SAGE directory so only you can read and write > it. > Traceback (most recent call last): > File "/home/m/sage-6.9/src/doc/common/builder.py", line 28, in <module> > from sage.misc.misc import sage_makedirs as mkdir > File > "/home/m/sage-6.9/local/lib/python2.7/site-packages/sage/misc/misc.py", > line 120, in <module> > os.chmod(DOT_SAGE, _desired_mode) > OSError: [Errno 1] Operation not permitted: '/home/m/.sage/' > make[2]: *** [doc-html] Error 1 > make[2]: Leaving directory `/home/m/sage-6.9/build/make' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/m/sage-6.9/build/make' > > real 0m5.662s > user 0m4.624s > sys 0m0.808s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all'): > > 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: *** [all] Error 1 > > -- 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.