[SciPy-dev] numpy-0.9.2, scipy-0.4.4 RPMs

Neal Becker ndbecker2 at gmail.com
Wed Jan 18 11:58:50 CST 2006


Ravikiran Rajagopal wrote:

> On Wednesday 18 January 2006 10:50, Neal Becker wrote:
>> I tried your suggestion, but got this cryptic result:
> 
> [snip]
> 
> I do not have a 64-bit machine, but on my 32-bit machine, the attached
> spec files produce the right RPMs. The only suggestion I have for you is
> to check whether you have the following RPMs installed on your machine:
>    gcc-gfortran
>    libgfortran
> It looks as if numpy.distutils does not see gfortran on your machine.
> 

Actually, it does build lots of fortran code before it fails - so something
strange.

It finally quits here:

compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=nocona -D_GNU_SOURCE -fPIC -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=nocona -fPIC'
creating build/temp.linux-x86_64-2.4/build
creating build/temp.linux-x86_64-2.4/build/src
creating build/temp.linux-x86_64-2.4/build/src/Lib
creating build/temp.linux-x86_64-2.4/build/src/Lib/fftpack
creating build/temp.linux-x86_64-2.4/Lib/fftpack/src
compile options: '-Ibuild/src
-I/usr/lib64/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c'
gcc: Lib/fftpack/src/zrfft.c
gcc: Lib/fftpack/src/zfft.c
gcc: build/src/Lib/fftpack/_fftpackmodule.c
gcc: Lib/fftpack/src/drfft.c
gcc: build/src/fortranobject.c
gcc: Lib/fftpack/src/zfftnd.c
Traceback (most recent call last):
  File "setup.py", line 42, in ?
    setup_package()
  File "setup.py", line 35, in setup_package
    setup( **config.todict() )
  File "/usr/lib64/python2.4/site-packages/numpy/distutils/core.py", line
93, in setup
    return old_setup(**new_attr)
  File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.4/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File
"/usr/lib64/python2.4/site-packages/numpy/distutils/command/build_ext.py",
line 107, in run
    self.build_extensions()
  File "/usr/lib64/python2.4/distutils/command/build_ext.py", line 405, in
build_extensions
    self.build_extension(ext)
  File
"/usr/lib64/python2.4/site-packages/numpy/distutils/command/build_ext.py",
line 299, in build_extension
    link = self.fcompiler.link_shared_object
AttributeError: 'NoneType' object has no attribute 'link_shared_object'
error: Bad exit status from /var/tmp/rpm/rpm-tmp.44882 (%build)






More information about the Scipy-dev mailing list