After typing make into a terminal in the sage-7.4 directory, I get the following errors:
*************************************************************** 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. Makefile:16: recipe for target 'all' failed make: *** [all] Error 1 On further investigation, I find the problem seems to be: [[python2-2.7.10.p3] Modules/posixmodule.o: In function `posix_tmpnam': [python2-2.7.10.p3] /home/duke/SageMath/SageMath/sage-7.4/local/var/tmp/sage/build/python2-2.7.10.p3/src/./Modules/posixmodule.c:7631: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' [python2-2.7.10.p3] Modules/posixmodule.o: In function `posix_tempnam': [python2-2.7.10.p3] /home/duke/SageMath/SageMath/sage-7.4/local/var/tmp/sage/build/python2-2.7.10.p3/src/./Modules/posixmodule.c:7578: warning: the use of `tempnam' is dangerous, better use `mkstemp' [python2-2.7.10.p3] gcc -m64 -pthread -L/home/duke/SageMath/SageMath/sage-7.4/local/lib -Wl,-rpath,/home/duke/SageMath/SageMath/sage-7.4/local/lib -Xlinker -export-dynamic -o python \ [python2-2.7.10.p3] Modules/python.o \ [python2-2.7.10.p3] -L. -lpython2.7 -lpthread -ldl -lutil -lm python2-2.7.10.p3] LD_LIBRARY_PATH=/home/duke/SageMath/SageMath/sage-7.4/local/var/tmp/sage/build/python2-2.7.10.p3/src::/home/duke/photoProject/Test Folder/:/home/duke/photoProject/Test Folder/ ./python -E -S -m sysconfig --generate-posix-vars ;\ [python2-2.7.10.p3] if test $? -ne 0 ; then \ [python2-2.7.10.p3] echo "generate-posix-vars failed" ; \ [python2-2.7.10.p3] rm -f ./pybuilddir.txt ; \ [python2-2.7.10.p3] exit 1 ; \ [python2-2.7.10.p3] fi [python2-2.7.10.p3] /bin/sh: Folder/:/home/duke/photoProject/Test: No such file or directory [python2-2.7.10.p3] generate-posix-vars failed [python2-2.7.10.p3] Makefile:475: recipe for target 'pybuilddir.txt' failed [python2-2.7.10.p3] make[3]: *** [pybuilddir.txt] Error 1 [python2-2.7.10.p3] make[3]: Leaving directory '/home/duke/SageMath/SageMath/sage-7.4/local/var/tmp/sage/build/python2-2.7.10.p3/src' [python2-2.7.10.p3] Error building Python. [python2-2.7.10.p3] [python2-2.7.10.p3] real 0m49.744s [python2-2.7.10.p3] user 0m43.062s [python2-2.7.10.p3] sys 0m5.798s [python2-2.7.10.p3] ************************************************************************ [python2-2.7.10.p3] Error installing package python2-2.7.10.p3 [python2-2.7.10.p3] ************************************************************************ I do have python 2-2,7.12 installed on my machine. I do not understand the problem nor how to solve it. -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.