Hi folks, I'm trying to build sage-3.2.3 under SLES 10 with the following system information:
$ uname -a: Linux burnet-usr 2.6.16.27-0.9-bigsmp #1 SMP Tue Feb 13 09:35:18 UTC 2007 i686 i686 i386 GNU/Linux The GCC version is 4.1.0. But when it comes to building the numpy version that's packaged with sage-3.2.3, I received a build error. Below is a snippet of the relevant install log. For those who want to see the full install log, you can find it at http://nguyenminh2.googlepages.com/sage-3.2.3-install.log.bz2. Any ideas on what's going on? [...] **************************************************** GCC Version gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.1.0 (SUSE Linux) **************************************************** Copying patches to quiet deprecation warnings Running from numpy source directory. Traceback (most recent call last): File "setup.py", line 96, in <module> setup_package() File "setup.py", line 68, in setup_package from numpy.distutils.core import setup File "/system/cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0/src/numpy/distutils/__init__.py", line 6, in <module> import ccompiler File "/system/cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0/src/numpy/distutils/ccompiler.py", line 11, in <module> from numpy.distutils import log File "/system/cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0/src/numpy/distutils/log.py", line 7, in <module> from misc_util import red_text, default_text, cyan_text, green_text, is_sequence, is_string File "/system/cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0/src/numpy/distutils/misc_util.py", line 8, in <module> import tempfile File "/cs/home/csmis/van409/usr/bin/sage-3.2.3/local/lib/python/tempfile.py", line 33, in <module> from random import Random as _Random File "/cs/home/csmis/van409/usr/bin/sage-3.2.3/local/lib/python/random.py", line 43, in <module> from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil ImportError: No module named math Error building numpy. real 0m0.776s user 0m0.136s sys 0m0.124s sage: An error occurred while installing numpy-1.2.0.p0 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /cs/home/csmis/van409/usr/bin/sage-3.2.3/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem, yourself *don't* just cd to /cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0 and type 'make'. Instead type "/cs/home/csmis/van409/usr/bin/sage-3.2.3/sage -sh" in order to set all environment variables correctly, then cd to /cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg/build/numpy-1.2.0.p0 (When you are done debugging, you can type "exit" to leave the subshell.) make[1]: *** [installed/numpy-1.2.0.p0] Error 1 make[1]: Leaving directory `/system/cs/home/csmis/van409/usr/bin/sage-3.2.3/spkg' real 61m32.957s user 33m48.147s sys 10m27.923s -- Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
