Just tried to do a fresh installation again. I got a different result now.

e/sem/SageMath/sage-7.4/local/var/tmp/sage/build/jmol-14.6.1_2016.07.11.p0
[jmol-14.6.1_2016.07.11.p0] Finished installing 
jmol-14.6.1_2016.07.11.p0.spkg
sage-logger -p 'sage-spkg thebe-9624e0a0' 
'/home/sem/SageMath/sage-7.4/logs/pkgs/thebe-9624e0a0.log'
[thebe-9624e0a0] mkdir: cannot create directory '/home/sem/.sage': 
Permission denied
[thebe-9624e0a0] /home/sem/SageMath/sage-7.4/src/bin/sage-env: line 465: 
/home/sem/.sage//R/Makevars.user: Permission denied
[thebe-9624e0a0] Found local metadata for thebe-9624e0a0
[thebe-9624e0a0] Using cached file 
/home/sem/SageMath/sage-7.4/upstream/thebe-9624e0a0.zip
[thebe-9624e0a0] thebe-9624e0a0
[thebe-9624e0a0] ====================================================
[thebe-9624e0a0] Setting up build directory for thebe-9624e0a0
[thebe-9624e0a0] Finished extraction
[thebe-9624e0a0] ****************************************************
[thebe-9624e0a0] Host system:
[thebe-9624e0a0] Linux Fjordforsk 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 
23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[thebe-9624e0a0] ****************************************************
[thebe-9624e0a0] C compiler: gcc
[thebe-9624e0a0] C compiler version:
[thebe-9624e0a0] Using built-in specs.
[thebe-9624e0a0] COLLECT_GCC=gcc
[thebe-9624e0a0] 
COLLECT_LTO_WRAPPER=/home/sem/SageMath/sage-7.4/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.3/lto-wrapper
[thebe-9624e0a0] Target: x86_64-unknown-linux-gnu
[thebe-9624e0a0] Configured with: ../src/configure 
--prefix=/home/sem/SageMath/sage-7.4/local 
--with-local-prefix=/home/sem/SageMath/sage-7.4/local 
--with-gmp=/home/sem/SageMath/sage-7.4/local 
--with-mpfr=/home/sem/SageMath/sage-7.4/local 
--with-mpc=/home/sem/SageMath/sage-7.4/local --with-system-zlib 
--disable-multilib --disable-nls --enable-languages=c,c++,fortran 
--disable-libitm  
[thebe-9624e0a0] Thread model: posix
[thebe-9624e0a0] gcc version 4.9.3 (GCC) 
[thebe-9624e0a0] ****************************************************
[thebe-9624e0a0] 
[thebe-9624e0a0] real    0m0.010s
[thebe-9624e0a0] user    0m0.004s
[thebe-9624e0a0] sys    0m0.000s
[thebe-9624e0a0] Successfully installed thebe-9624e0a0
[thebe-9624e0a0] Deleting temporary build directory
[thebe-9624e0a0] 
/home/sem/SageMath/sage-7.4/local/var/tmp/sage/build/thebe-9624e0a0
[thebe-9624e0a0] Finished installing thebe-9624e0a0.spkg
cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' 
logs/dochtml.log
[dochtml] mkdir: cannot create directory ‘/home/sem/.sage’: Permission 
denied
[dochtml] /home/sem/SageMath/sage-7.4/src/bin/sage-env: line 465: 
/home/sem/.sage//R/Makevars.user: Permission denied
[dochtml] Traceback (most recent call last):
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/runpy.py", 
line 151, in _run_module_as_main
[dochtml]     mod_name, loader, code, fname = _get_module_details(mod_name)
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/runpy.py", 
line 109, in _get_module_details
[dochtml]     return _get_module_details(pkg_main_name)
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/runpy.py", 
line 101, in _get_module_details
[dochtml]     loader = get_loader(mod_name)
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/pkgutil.py", 
line 464, in get_loader
[dochtml]     return find_loader(fullname)
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/pkgutil.py", 
line 474, in find_loader
[dochtml]     for importer in iter_importers(fullname):
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/pkgutil.py", 
line 430, in iter_importers
[dochtml]     __import__(pkg)
[dochtml]   File 
"/home/sem/SageMath/sage-7.4/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
 
line 22, in <module>
[dochtml]     import sage.all
[dochtml]   File 
"/home/sem/SageMath/sage-7.4/local/lib/python2.7/site-packages/sage/all.py", 
line 92, in <module>
[dochtml]     from sage.misc.all       import *         # takes a while
[dochtml]   File 
"/home/sem/SageMath/sage-7.4/local/lib/python2.7/site-packages/sage/misc/all.py",
 
line 5, in <module>
[dochtml]     from .misc import (alarm, cancel_alarm,
[dochtml]   File 
"/home/sem/SageMath/sage-7.4/local/lib/python2.7/site-packages/sage/misc/misc.py",
 
line 189, in <module>
[dochtml]     sage_makedirs(SAGE_DB)
[dochtml]   File 
"/home/sem/SageMath/sage-7.4/local/lib/python2.7/site-packages/sage/misc/misc.py",
 
line 113, in sage_makedirs
[dochtml]     os.makedirs(dir)
[dochtml]   File "/home/sem/SageMath/sage-7.4/local/lib/python/os.py", line 
157, in makedirs
[dochtml]     mkdir(name, mode)
[dochtml] OSError: [Errno 13] Permission denied: '/home/sem/.sage/db'
Makefile:1054: recipe for target 'doc-html' failed
make[2]: *** [doc-html] Error 1
make[2]: Leaving directory '/home/sem/SageMath/sage-7.4/build/make'
Makefile:877: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sem/SageMath/sage-7.4/build/make'

real    323m42.471s
user    338m44.856s
sys    31m40.584s
***************************************************************
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
sem@Fjordforsk:~/SageMath/sage-7.4$ 



lørdag 24. desember 2016 18.04.17 UTC+1 skrev Eric Gourgoulhon følgende:
>
> Le vendredi 23 décembre 2016 15:12:08 UTC+1, Fjordforsk A/S a écrit :
>>
>> Hi, installing python-pip did not solve it.
>>
>>
> Have you tried typing 
> make distclean
> before running make?
>
> Eric. 
>

-- 
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.

Reply via email to