Thanks. I started the compile of Sage-4.6.1 again from a fresh un-tar and did NOT use "SAGE_CHECK". The compile went much further without error.
Richard On 01/14/2011 07:43 AM, John H Palmieri wrote: > > On Jan 14, 7:22 am, Richard <richj...@pacbell.net> wrote: >> I am trying to compile Sage from the sage-4.6.1.tar source file. I am >> running gentoo linux with the latest stable packages. >> >> My system: >> gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) (includes g++) >> m4 1.4.15 >> ranlib GNU ranlib (GNU Binutils) 2.20.1.20100303 >> make 3.81 >> >> I tried to compile like this: >> >> export SAGE_CHECK="yes" >> export MAKE="make -j12" (using a hex-core intel cpu) >> make >> >> The end of install.log looks like: >> >> =============================== >> test_xrange >> 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/sage-4.6.1/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 >> >> 326 tests OK. >> 3 tests failed: >> test_distutils test_ioctl test_zlib >> 36 tests skipped: >> test_aepack test_al test_applesingle 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_dl test_gl test_imageop 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_startfile test_sunaudiodev >> test_timeout test_urllib2net test_urllibnet test_winreg >> test_winsound test_zipfile64 >> Those skips are all expected on linux2. >> make[2]: *** [test] Error 1 >> make[2]: Leaving directory >> `/usr/local/sage-4.6.1/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 >> ============================= >> >> Any suggestions on getting Sage to build would be appreciated. > Advice: don't set SAGE_CHECK=yes, at least when building python. I > don't know of any system on which it actually passes self tests. I > hope that the other packages build and pass tests, though, so > temporarily disable SAGE_CHECK, install python (by typing "./sage -i > spkg/standard/python-2.6.4.p9.spkg") and then type "export > SAGE_CHECK=yes" and "make" after that's done. Actually, if you really > want to test the installation, use "make ptestlong" instead of "make". > > -- > John > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org