Am 2015-04-02 um 03:35 schrieb Volker Braun:
> 819000f Updated Sage version to 6.6.rc2
git clone ...
make
does not work on Debian stable, see below.
Daniel
************************************************************************
Error installing package sagenb-0.11.4
************************************************************************
Please email sage-devel (
http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/local/data/krenn/sage/6.6.rc2/logs/pkgs/sagenb-0.11.4.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/local/data/krenn/sage/6.6.rc2/local/var/tmp/sage/build/sagenb-0.11.4
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
'/local/data/krenn/sage/6.6.rc2/local/var/tmp/sage/build/sagenb-0.11.4'
&& '/local/data/krenn/sage/6.6.rc2/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: ***
[/local/data/krenn/sage/6.6.rc2/local/var/lib/sage/installed/sagenb-0.11.4]
Fehler 1
make[2]: Leaving directory `/local/data/krenn/sage/6.6.rc2/build'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/local/data/krenn/sage/6.6.rc2/build'
real 117m6.926s
user 100m26.793s
sys 5m24.660s
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: sagenb-0.11.4
log file: /local/data/krenn/sage/6.6.rc2/logs/pkgs/sagenb-0.11.4.log
build directory:
/local/data/krenn/sage/6.6.rc2/local/var/tmp/sage/build/sagenb-0.11.4
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] Fehler 1
/local/data/krenn/sage/6.6.rc2/logs/pkgs/sagenb-0.11.4.log:
Found local metadata for sagenb-0.11.4
Attempting to download package sagenb-0.11.4
>>> Trying to download
http://www.sagemath.org/packages/upstream/sagenb/sagenb-0.11.4.tar
[............................................................]
Checksum: 66593ecf18cbf77115279f6f1564854eb9b93df5 vs
66593ecf18cbf77115279f6f1564854eb9b93df5
sagenb-0.11.4
====================================================
Setting up build directory for sagenb-0.11.4
Finished set up
****************************************************
Host system:
Linux fmatbpc57 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
****************************************************
Traceback (most recent call last):
File "/local/data/krenn/sage/6.6.rc2/local/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
521, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
2632, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
2312, in load
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
2318, in resolve
File
"/local/data/krenn/sage/6.6.rc2/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/__init__.py",
line 10, in <module>
from pip.util import get_installed_distributions, get_prog
File
"/local/data/krenn/sage/6.6.rc2/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py",
line 18, in <module>
from pip._vendor.distlib import version
File
"/local/data/krenn/sage/6.6.rc2/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/distlib/version.py",
line 14, in <module>
from .compat import string_types
File
"/local/data/krenn/sage/6.6.rc2/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/distlib/compat.py",
line 31, in <module>
from urllib2 import (Request, urlopen, URLError, HTTPError,
ImportError: cannot import name HTTPSHandler
Error: Installing SageNB failed.