Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Install on 32bit fedora 12

I've downloaded the sage source and proceeded according to README.txt (export SAGE_CHECK="yes"; make). Something with the python stuff went wrong, see below:

tail -50 install.log

test_zipfile test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_zipimport test_zipimport_support test_zlib test test_zlib failed -- Traceback (most recent call last): File "/usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9/src/Lib/test/test_zlib.py", line 84, in test_baddecompressobj self.assertRaises(ValueError, zlib.decompressobj, 0) AssertionError: ValueError not raised

325 tests OK. 4 tests failed: test_commands test_distutils test_httpservers test_zlib 36 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_gl test_imgfile test_kqueue test_linuxaudiodev test_macos test_macostools test_normalization test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages test_smtpnet test_socketserver test_ssl test_startfile test_sunaudiodev test_timeout test_urllib2net test_urllibnet test_winreg test_winsound test_zipfile64 2 skips unexpected on linux2: test_ssl test_bsddb make[2]: * [test] Error 1 make[2]: Leaving directory `/usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9/src' An error occurred while testing Python


Error testing package * python-2.6.4.p9 *


sage: An error occurred while testing python-2.6.4.p9 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /usr/local/bin/sage-4.5.3/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, don't just cd to /usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9 and type 'make check' 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/bin/sage-4.5.3/spkg/build/python-2.6.4.p9' && '/usr/local/bin/sage-4.5.3/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. make[1]: * [installed/python-2.6.4.p9] Error 1 make[1]: Leaving directory `/usr/local/bin/sage-4.5.3/spkg'

real 16m38.117s user 8m34.452s sys 2m27.841s Error building Sage.

click to hide/show revision 2
fixed formatting

Install on 32bit fedora 12

I've downloaded the sage source and proceeded according to README.txt (export SAGE_CHECK="yes"; make). Something with the python stuff went wrong, see below:

# tail -50 install.log

install.log test_zipfile test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_zipimport test_zipimport_support test_zlib test test_zlib failed -- Traceback (most recent call last): File "/usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9/src/Lib/test/test_zlib.py", line 84, in test_baddecompressobj self.assertRaises(ValueError, zlib.decompressobj, 0) AssertionError: ValueError not raised

raised 325 tests OK. 4 tests failed: test_commands test_distutils test_httpservers test_zlib 36 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_gl test_imgfile test_kqueue test_linuxaudiodev test_macos test_macostools test_normalization test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages test_smtpnet test_socketserver test_ssl test_startfile test_sunaudiodev test_timeout test_urllib2net test_urllibnet test_winreg test_winsound test_zipfile64 2 skips unexpected on linux2: test_ssl test_bsddb make[2]: * *** [test] Error 1 make[2]: Leaving directory `/usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9/src' An error occurred while testing Python


Python ************************************* Error testing package * ** python-2.6.4.p9 *


** ************************************* sage: An error occurred while testing python-2.6.4.p9 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /usr/local/bin/sage-4.5.3/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, don't *don't* just cd to /usr/local/bin/sage-4.5.3/spkg/build/python-2.6.4.p9 and type 'make check' 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/bin/sage-4.5.3/spkg/build/python-2.6.4.p9' && '/usr/local/bin/sage-4.5.3/sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. make[1]: * *** [installed/python-2.6.4.p9] Error 1 make[1]: Leaving directory `/usr/local/bin/sage-4.5.3/spkg'

`/usr/local/bin/sage-4.5.3/spkg' real 16m38.117s user 8m34.452s sys 2m27.841s Error building Sage.

Sage.