[MacPorts] #51850: py-netcdf4 fails to build

MacPorts noreply at macports.org
Thu Jul 14 15:54:02 PDT 2016


#51850: py-netcdf4 fails to build
-----------------------+--------------------------------
 Reporter:  smithsp@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.3.4
 Keywords:             |       Port:  py-netcdf4
-----------------------+--------------------------------
 py-netcdf4 attempts to find the hdf5 headers using nc-config, however nc-
 config only gives the path to the netcdf headers, whereas hdf5 was
 installed in
 {{{
 ${prefix}/{lib,include}/hdf5-18
 }}}
 I suspect that patching setup.cfg with HDF5_libdir and HDF5_incdir should
 help, but I have not yet been able to get that to work.

 Any help is appreciated.

 Note that installing the hdf5 port solves the problem of installing py-
 netcdf4, but I'm not sure if that is the correct workaround.

-- 
Ticket URL: <https://trac.macports.org/ticket/51850>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list