Public bug reported:

This package does not build with python 2.7, and the following error
occurs:

python setup.py configure --api=18
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution 
option: 'test_suite'
  warnings.warn(msg)
******************************************
Configure: Autodetecting HDF5 settings...
    Custom HDF5 dir:       None
    Custom API level:      (1, 8)

    Failed to compile HDF5 test program.  Please check to make sure:

    * You have a C compiler installed
    * A development version of Python is installed (including header files)
    * A development version of HDF5 is installed (including header files)
    * If HDF5 is not in a default location, supply the argument --hdf5=<path>
******************************************
Traceback (most recent call last):
  File "setup.py", line 541, in <module>
    test_suite = 'h5py.tests'
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 239, in run
    config = detect.detect_hdf5(self.tempdir, **COMPILER_SETTINGS)
  File "/tmp/buildd/h5py-1.3.0/detect.py", line 12, in detect_hdf5
    from distutils.core import CompileError, LinkError
ImportError: cannot import name CompileError
make: *** [pre-build] Error 1

CompileError and LinkError objects are now in distutils.error

** Affects: h5py (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/713681

Title:
  fix FTBFS issue with python 2.7

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to