Opened 8 years ago

Closed 5 years ago

#51850 closed defect (fixed)

py-netcdf4 fails to build

Reported by: smithsp (Sterling Smith) Owned by: jswhit (Jeff Whitaker)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-netcdf4

Description

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.

Change History (4)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: sean@… removed
Owner: changed from macports-tickets@… to sean@…

comment:2 Changed 8 years ago by seanfarley (Sean Farley)

Status: newassigned

Yeah, that's probably the easiest path for now (until ports update to hdf5 1.10 changes)

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Cc: jswhit removed
Owner: changed from seanfarley to jswhit

comment:4 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In ffca1b23c12b9936617dcf5c687b2214cf2de479/macports-ports (master):

py-netcdf4: update to 1.5.3, add py38 subport

  • enable tests

Closes: #51850

Note: See TracTickets for help on using tickets.