[Numpy-discussion] rc2 for NumPy 1.4.1 and Scipy 0.7.2

Charles سمير Doutriaux doutriaux1@llnl....
Thu Apr 15 13:12:15 CDT 2010


Hi There,

1.4.1rc2
gcc 4.2.1

And yes I'm trying to build a 32bit python because a lot of externals seem to be breaking with the 64bit stuff... 

But I'm giving it another shot building 64bit

C.



On Apr 14, 2010, at 5:48 PM, Ralf Gommers wrote:

> 
> 
> 2010/4/15 Charles سمير Doutriaux <doutriaux1@llnl.gov>
> Just downloaded this.
> 
> On my mac 10.6, using python 2.6.5  i get:
> 
> Which download, what build command and what python/gcc versions?
> 
> Looks like you're trying to build a 64-bit binary without passing in -arch x86_64 flags?
> 
> Ralf
> 
> 
>  
> 
> Running from numpy source directory.
> non-existing path in 'numpy/distutils': 'site.cfg'
> F2PY Version 2
> blas_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-faltivec', '-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 = ['-faltivec']
> 
> running build
> running config_cc
> unifing config_cc, config, build_clib, build_ext, build commands --compiler options
> running config_fc
> unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
> running build_src
> build_src
> building py_modules sources
> creating build
> creating build/src.macosx-10.3-fat-2.6
> creating build/src.macosx-10.3-fat-2.6/numpy
> creating build/src.macosx-10.3-fat-2.6/numpy/distutils
> building library "npymath" sources
> customize NAGFCompiler
> Could not locate executable f95
> customize AbsoftFCompiler
> Could not locate executable f90
> Could not locate executable f77
> customize IBMFCompiler
> Could not locate executable xlf90
> Could not locate executable xlf
> customize IntelFCompiler
> Could not locate executable ifort
> Could not locate executable ifc
> customize GnuFCompiler
> Could not locate executable g77
> customize Gnu95FCompiler
> Found executable /usr/local/bin/gfortran
> /Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/fcompiler/gnu.py:125: UserWarning: Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3
>   warnings.warn(s)
> customize Gnu95FCompiler
> customize Gnu95FCompiler using config
> C compiler: gcc -arch ppc -arch i386 -isysroot / -fno-strict-aliasing -DNDEBUG
> 
> compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/lgm/cdat/trunk/include/python2.6 -c'
> gcc: _configtest.c
> gcc _configtest.o -o _configtest
> ld: warning: in _configtest.o, missing required architecture x86_64 in file
> Undefined symbols:
>   "_main", referenced from:
>       __start in crt1.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> ld: warning: in _configtest.o, missing required architecture x86_64 in file
> Undefined symbols:
>   "_main", referenced from:
>       __start in crt1.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> failure.
> removing: _configtest.c _configtest.o
> Traceback (most recent call last):
>   File "setup.py", line 187, in <module>
>     setup_package()
>   File "setup.py", line 180, in setup_package
>     configuration=configuration )
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/core.py", line 186, in setup
>     return old_setup(**new_attr)
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/core.py", line 152, in setup
>     dist.run_commands()
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/dist.py", line 975, in run_commands
>     self.run_command(cmd)
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/dist.py", line 995, in run_command
>     cmd_obj.run()
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/command/build.py", line 37, in run
>     old_build.run(self)
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/command/build.py", line 134, in run
>     self.run_command(cmd_name)
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/cmd.py", line 333, in run_command
>     self.distribution.run_command(command)
>   File "/lgm/cdat/trunk/lib/python2.6/distutils/dist.py", line 995, in run_command
>     cmd_obj.run()
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 152, in run
>     self.build_sources()
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 163, in build_sources
>     self.build_library_sources(*libname_info)
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 298, in build_library_sources
>     sources = self.generate_sources(sources, (lib_name, build_info))
>   File "/Users/doutriaux1/Desktop/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 385, in generate_sources
>     source = func(extension, build_dir)
>   File "numpy/core/setup.py", line 657, in get_mathlib_info
>     raise RuntimeError("Broken toolchain: cannot link a simple C program")
> RuntimeError: Broken toolchain: cannot link a simple C program
> 
> On Apr 11, 2010, at 2:09 AM, Ralf Gommers wrote:
> 
>> Hi,
>> 
>> I am pleased to announce the second release candidate of both Scipy 0.7.2 and NumPy 1.4.1, please test them.
>> 
>> The issues reported with rc1 should be fixed, and for NumPy there are now Python 2.5 binaries as well. For SciPy there will be no 2.5 binaries - because 0.7.x is built against NumPy 1.2 it does not work on OS X 10.6, and on Windows I see some incomprehensible build failures.
>> 
>> Binaries, sources and release notes can be found at http://**www.**filefactory.com/f/4452c50056df8bba/ (apologies for the flashy ads again).
>> 
>> Cheers,
>> Ralf
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion@scipy.org
>> http://**mail.scipy.org/mailman/listinfo/numpy-discussion
> 
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://*mail.scipy.org/mailman/listinfo/numpy-discussion
> 
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://*mail.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100415/bb250d7f/attachment.html 


More information about the NumPy-Discussion mailing list