[SciPy-user] Fwd: SciPy (SVN) tries to use f95

Chris Fonnesbeck fonnesbeck at gmail.com
Mon Jan 29 20:02:06 CST 2007


Robert Kern <robert.kern <at> gmail.com> writes:

> 
> Chris Fonnesbeck wrote:
> > A bit more information: I am using the gfortran compiler from
> > hpc.sourceforge.net <http://hpc.sourceforge.net>. I noticed an earlier
> > thread complaining about wanting to use f95 from Fink instead. Perhaps
> > changes to address that problem caused this to break? There appears to
> > be no gfortran flag for --fcompiler, so I dont know what to do.
> 
>   --fcompiler=gnu95
> 

Using this flag causes an error:

...
customize Gnu95FCompiler
Traceback (most recent call last):
  File "setupegg.py", line 7, in ?
    execfile('setup.py')
  File "setup.py", line 55, in ?
    setup_package()
  File "setup.py", line 47, in setup_package
    configuration=configuration )
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/
distutils/core.py", line 174, in setup
    return old_setup(**new_attr)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py", line 149, 
in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 946, 
in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 966, 
in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/command/
build.py", line 112, in run
    self.run_command(cmd_name)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/cmd.py", line 333, 
in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 966, 
in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/
distutils/command/build_clib.py", line 77, in run
    self.fcompiler.customize(self.distribution)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/
distutils/fcompiler/__init__.py", line 340, in customize
    linker_so_flags = self.__get_flags(self.get_flags_linker_so,'LDFLAGS')
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/
distutils/fcompiler/__init__.py", line 527, in __get_flags
    var = command()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/
distutils/fcompiler/gnu.py", line 66, in get_flags_linker_so
    osx_major, osx_minor = osx_version.split('.')
ValueError: need more than 1 value to unpack






More information about the SciPy-user mailing list