[Numpy-discussion] Numpy build on Solaris 8 fails beginning on 3/19/06

David M. Cooke cookedm at physics.mcmaster.ca
Mon Mar 20 14:29:06 CST 2006


Christopher Hanley <chanley at stsci.edu> writes:

> Solaris builds began failing yesterday with the following output:

Looks like it's not matching the compiler version for your fortran
compiler. What does "f90 -V" give you?

It's trying to match against
r'(f90|f95): (Sun|Forte Developer 7|WorkShop 6 update \d+) Fortran 95 (?P<version>[^\s]+).*'

so maybe that needs work.

>
> running build
> running config_fc
> running build_src
> building py_modules sources
> creating build
> creating build/src
> creating build/src/numpy
> creating build/src/numpy/distutils
> building extension "numpy.core.multiarray" sources
> creating build/src/numpy/core
> Generating build/src/numpy/core/config.h
> customize SunFCompiler
> compiler version not matched (None)
> customize GnuFCompiler
> customize Gnu95FCompiler
> customize G95FCompiler
> customize GnuFCompiler
> customize Gnu95FCompiler
> customize SunFCompiler
> Traceback (most recent call last):
>   File "setup.py", line 76, in ?
>     setup_package()
>   File "setup.py", line 69, in setup_package
>     setup( **config.todict() )
>   File "/data/basil5/numpy/numpy/distutils/core.py", line 85, in setup
>     return old_setup(**new_attr)
>   File "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/core.py",
> line 149, in setup
>     dist.run_commands()
>   File "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/dist.py",
> line 946, in run_commands
>     self.run_command(cmd)
>   File "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/dist.py",
> line 966, in run_command
>     cmd_obj.run()
>   File
> "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/command/build.py",
> line 112, in run
>     self.run_command(cmd_name)
>   File "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/cmd.py",
> line 333, in run_command
>     self.distribution.run_command(command)
>   File "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/dist.py",
> line 966, in run_command
>     cmd_obj.run()
>   File "/data/basil5/numpy/numpy/distutils/command/build_src.py", line
> 84, in run
>     self.build_sources()
>   File "/data/basil5/numpy/numpy/distutils/command/build_src.py", line
> 99, in build_sources
>     self.build_extension_sources(ext)
>   File "/data/basil5/numpy/numpy/distutils/command/build_src.py", line
> 209, in build_extension_sources
>     sources = self.generate_sources(sources, ext)
>   File "/data/basil5/numpy/numpy/distutils/command/build_src.py", line
> 267, in generate_sources
>     source = func(extension, build_dir)
>   File "numpy/core/setup.py", line 35, in generate_config_h
>     library_dirs = default_lib_dirs)
>   File
> "/usr/ra/pyssg/Python-2.4.2/lib/python2.4/distutils/command/config.py",
> line 278, in try_run
>     self._check_compiler()
>   File "/data/basil5/numpy/numpy/distutils/command/config.py", line
> 35, in _check_compiler
>     self.fcompiler.customize(self.distribution)
>   File "/data/basil5/numpy/numpy/distutils/fcompiler/__init__.py",
> line 281, in customize
>     (conf,'f77flags'))
>   File "/data/basil5/numpy/numpy/distutils/fcompiler/__init__.py",
> line 511, in __get_flags
>     var = command()
>   File "/data/basil5/numpy/numpy/distutils/fcompiler/sun.py", line 27,
> in get_flags_f77
>     if (self.get_version() or '') >= '7':
>   File "/data/basil5/numpy/numpy/distutils/ccompiler.py", line 256, in
> CCompiler_get_version
>     raise ValueError("compiler version not matched (%r)" % (version,))
> ValueError: compiler version not matched (None)

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca




More information about the Numpy-discussion mailing list