On Thu, 26 Oct 2006 14:46:00 -0500, Fernando Perez <[EMAIL PROTECTED]> wrote: > established for all of the array-oriented work. Numpy 1.0 officially > came out today, and it builds on more than 15 years of combined > experience and tradition from Numeric and Numarray. There is a VAST > amount of existing code which uses these APIs, and while some of the > choices may not be perfect, much cleanup was done for numpy 1.0 (even > at the expense of breaking backwards compatibility).
Here's what happens when I try to build numpy-1.0 on my OS X intel laptop (see below). I've never been able to build numpy on this machine. **************************************************** Host system uname -a: Darwin sha.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386 **************************************************** **************************************************** GCC Version gcc -v Using built-in specs. Target: i686-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5363) **************************************************** Running from numpy source directory. F2PY Version 2_3396 blas_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] lapack_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-msse3'] running install running build running config_fc running build_src building py_modules sources creating build creating build/src.macosx-10.3-i386-2.5 creating build/src.macosx-10.3-i386-2.5/numpy creating build/src.macosx-10.3-i386-2.5/numpy/distutils building extension "numpy.core.multiarray" sources creating build/src.macosx-10.3-i386-2.5/numpy/core Generating build/src.macosx-10.3-i386-2.5/numpy/core/config.h customize NAGFCompiler 'linker_exe' customize AbsoftFCompiler 'linker_exe' customize IbmFCompiler 'linker_exe' Could not locate executable g77 Could not locate executable f77 Could not locate executable gfortran Could not locate executable f95 customize GnuFCompiler customize Gnu95FCompiler customize G95FCompiler 'linker_exe' customize GnuFCompiler customize Gnu95FCompiler customize NAGFCompiler Traceback (most recent call last): File "setup.py", line 89, in <module> setup_package() File "setup.py", line 82, in setup_package configuration=configuration ) File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/core.py", line 174, in setup return old_setup(**new_attr) File "/Volumes/HOME/s/local/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/Volumes/HOME/s/local/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/Volumes/HOME/s/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/install.py", line 16, in run r = old_install.run(self) File "/Volumes/HOME/s/local/lib/python2.5/distutils/command/install.py", line 506, in run self.run_command('build') File "/Volumes/HOME/s/local/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Volumes/HOME/s/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Volumes/HOME/s/local/lib/python2.5/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/Volumes/HOME/s/local/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Volumes/HOME/s/local/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/build_src.py", line 87, in run self.build_sources() File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/build_src.py", line 106, in build_sources self.build_extension_sources(ext) File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/build_src.py", line 212, in build_extension_sources sources = self.generate_sources(sources, ext) File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/build_src.py", line 270, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 48, in generate_config_h library_dirs = default_lib_dirs) File "/Volumes/HOME/s/local/lib/python2.5/distutils/command/config.py", line 278, in try_run self._check_compiler() File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/command/config.py", line 39, in _check_compiler self.fcompiler.customize(self.distribution) File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/fcompiler/__init__.py", line 345, in customize linker_exe_flags = self.__get_flags(self.get_flags_linker_exe,'LDFLAGS') File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/fcompiler/__init__.py", line 527, in __get_flags var = command() File "/Volumes/HOME/s/spkg/build/numpy-1.0/numpy/distutils/fcompiler/__init__.py", line 204, in get_flags_linker_exe if self.executables['linker_exe']: KeyError: 'linker_exe' real 0m1.276s user 0m0.408s sys 0m0.304s --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---