You might have seen my previous post about a problem with ATLAS not knowing how many bits my system is. There's a file 'bitwidth.py' in the top level directory of ATLAS. (i.e where spkg-install and SPKG.txt normally go). The contents of that file are:
#!/usr/bin/env import ctypes print str(8*ctypes.sizeof(ctypes.c_long)) It would appear 'ctypes' has not been successfully built into python. From what I can gather from a Google, this is a common problem on many platforms. http://docs.activestate.com/activepython/2.5/whatsincluded.html ------------------------------------------------------------------- ctypes version 1.0.3. ctypes is currently not supported on the following platforms: (older) linux-x86 build failures aix-powerpc build failures linux-ia64 build failures solaris-sparc build failures solaris-x86 build failures hpux-parisc libffi not ported to PA-RISC arch hpux-ia64 build failures win64-* as per www.python.org/sf/1545507 -------------------------------------------------------------------- A search of my python build shows it failed on mine too. Is there a workaround for this? It is used much in Sage? Perhaps this can explain some of the test failures. The data below is from a Solaris 10 SPARC, but I note that ctypes is not working on my Open Solaris PC either. Failed to find the necessary bits to build these modules: _bsddb _hashlib _ssl bsddb185 dl gdbm imageop linuxaudiodev ossaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _bisect _bytesio _codecs_cn _codecs_hk _codecs_iso2022 _codecs_jp _codecs_kr _codecs_tw _collections _csv _ctypes _ctypes_test _curses _curses_panel _elementtree _fileio _functools _heapq _hotshot _json _locale _lsprof _md5 _multibytecodec _multiprocessing _random _sha _sha256 _sha512 _socket _sqlite3 _struct _testcapi _tkinter _weakref array audioop binascii bz2 cmath cPickle crypt cStringIO datetime dbm fcntl future_builtins grp itertools math mmap nis operator parser pyexpat readline resource select spwd strop sunaudiodev syslog termios time unicodedata zlib -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org