[MacPorts] #38256: Import Error with HDF5 version 1.8.10

MacPorts noreply at macports.org
Sat Mar 2 16:40:40 PST 2013


#38256: Import Error with HDF5 version 1.8.10
---------------------------+--------------------------------
 Reporter:  andrealphus@…  |      Owner:  macports-tickets@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.1.3
 Keywords:                 |       Port:  hdf5-18, netcdf4
---------------------------+--------------------------------
 See similar ticket;

 http://code.google.com/p/netcdf4-python/issues/detail?id=147


 What steps will reproduce the problem?
 1. compile hdf5 version 1.8.10
 2. run netCDF4 "python setup.py install"
 3. attempt to import netCDF4

 What is the expected output? What do you see instead?
 No expected output, instead get this import error

 ImportError: netCDF4 module must be linked against HDF5 version
 1.8.4-patch1 or higher, got 1.8.10

 What version of the product are you using? On what operating system?
 netCDF4-1.0.1

 Please provide any additional information below.
 It appears that the __hdf5libversion__ and the __required_hdf5version__
 variables are strings are used in the version comparison.  The problem
 appears to be that the string comparison does not work now that HDF5 is up
 to version 1.8.10.
 "1.8.10">"1.8.4" is FALSE

 This would have worked in previous versions of HDF5 since
 "1.8.9">"1.8.4" is TRUE

-- 
Ticket URL: <https://trac.macports.org/ticket/38256>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list