Hi all,

I am trying to build sage4.6.2 from source.
I get the following error and sage is not building.
As the message tells : the python is installed properly but test on it
fails. Because of which sage is also unable to build.

Here is info about my system :
Fedora : 2.6.34.8-68.fc13.i686.PAE
gcc-4.4.5-2.fc13.i686
make-3.81-19.fc13.i686
m4-1.4.13-4.fc12.i686
perl-5.10.1-123.fc13.i686
tar-1.22-19.fc13.i686

I really don't know what is the 'relevant' part from install.log. So I am
copying here what I thought is 'relevant'.
Kindly revert back if you need something more.


##############################
###############################################################
make[2]: Leaving directory
`/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src'
Sleeping for three seconds before testing python
math module OK
hashlib module imported

real    2m5.467s
user    1m54.350s
sys    0m15.717s
Successfully installed python-2.6.4.p9
Running the test suite.
Testing the Python package
make[2]: Entering directory
`/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src'
running build
running build_ext
[?1034h
Failed to find the necessary bits to build these modules:
_bsddb             bsddb185           sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.

running build_scripts
LD_LIBRARY_PATH=/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src:/home/digvijay/sage-4.6.2/local/lib/R/lib:/home/digvijay/sage-4.6.2/local/lib/openmpi:/home/digvijay/sage-4.6.2/local/lib/:/usr/lib/mpich2/lib
./python -E -c 'import sys ; from distutils.util import get_platform ; print
get_platform()+"-"+sys.version[0:3]' >platform
find ./Lib -name '*.py[co]' -print | xargs rm -f
LD_LIBRARY_PATH=/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src:/home/digvijay/sage-4.6.2/local/lib/R/lib:/home/digvijay/sage-4.6.2/local/lib/openmpi:/home/digvijay/sage-4.6.2/local/lib/:/usr/lib/mpich2/lib
./python -E -tt ./Lib/test/regrtest.py -l

325 tests OK.
5 tests failed:
    test_commands test_distutils test_urllib test_urllib2_localnet
    test_zlib
35 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_startfile test_sunaudiodev test_timeout test_urllib2net
    test_urllibnet test_winreg test_winsound test_zipfile64
1 skip unexpected on linux2:
    test_bsddb
make[2]: [test] Error 1 (ignored)
LD_LIBRARY_PATH=/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src:/home/digvijay/sage-4.6.2/local/lib/R/lib:/home/digvijay/sage-4.6.2/local/lib/openmpi:/home/digvijay/sage-4.6.2/local/lib/:/usr/lib/mpich2/lib
./python -E -tt ./Lib/test/regrtest.py -l

test test_urllib failed -- Traceback (most recent call last):
  File
"/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src/Lib/test/test_urllib.py",
line 104, in setUp
    for k, v in os.environ.iteritems():
RuntimeError: dictionary changed size during iteration


test test_zlib failed -- Traceback (most recent call last):
  File
"/home/digvijay/sage-4.6.2/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.
5 tests failed:
    test_commands test_distutils test_urllib test_urllib2_localnet
    test_zlib
35 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_startfile test_sunaudiodev test_timeout test_urllib2net
    test_urllibnet test_winreg test_winsound test_zipfile64
1 skip unexpected on linux2:
    test_bsddb
make[2]: *** [test] Error 1
make[2]: Leaving directory
`/home/digvijay/sage-4.6.2/spkg/build/python-2.6.4.p9/src'
An error occurred while testing Python
*************************************
Error testing package ** python-2.6.4.p9 **
*************************************

Error building Sage.
############################################################################################

With regards,
Digvijay

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to