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

Nadav Horesh nadavh@visionsense....
Mon Apr 12 04:03:36 CDT 2010


Tried of install numy-1.4.1-rc2 on python-2.7b1 and got an error:

(64 bit linux on core2, gcc4.4.3)


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/usr/local/include/python2.7 -c'
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in function ‘exp’
gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/dev/shm/numpy-1.4.1rc2/_configtest.c:6: undefined reference to `exp'
collect2: ld returned 1 exit status
_configtest.o: In function `main':
/dev/shm/numpy-1.4.1rc2/_configtest.c:6: undefined reference to `exp'
collect2: ld returned 1 exit status
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 "/dev/shm/numpy-1.4.1rc2/numpy/distutils/core.py", line 186, in setup
    return old_setup(**new_attr)
  File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/build.py", line 37, in run
    old_build.run(self)
  File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 152, in run
    self.build_sources()
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/build_src.py", line 163, in build_sources
    self.build_library_sources(*libname_info)
  File "/dev/shm/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 "/dev/shm/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 658, in get_mathlib_info
    mlibs = check_mathlib(config_cmd)
  File "numpy/core/setup.py", line 328, in check_mathlib
    if config_cmd.check_func("exp", libraries=libs, decl=True, call=True):
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/config.py", line 310, in check_func
    libraries, library_dirs)
  File "/usr/local/lib/python2.7/distutils/command/config.py", line 251, in try_link
    libraries, library_dirs, lang)
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/config.py", line 146, in _link
    libraries, library_dirs, lang))
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/config.py", line 87, in _wrap_method
    ret = mth(*((self,)+args))
  File "/usr/local/lib/python2.7/distutils/command/config.py", line 148, in _link
    target_lang=lang)
  File "/usr/local/lib/python2.7/distutils/ccompiler.py", line 750, in link_executable
    debug, extra_preargs, extra_postargs, None, target_lang)
  File "/usr/local/lib/python2.7/distutils/unixccompiler.py", line 256, in link
    self.spawn(linker + ld_args)
  File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/ccompiler.py", line 64, in CCompiler_spawn
    raise DistutilsExecError,\


  Nadav
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3903 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100412/8863c530/attachment.bin 


More information about the NumPy-Discussion mailing list