[MacPorts] #39529: netcdf configure error

MacPorts noreply at macports.org
Tue Jun 25 10:30:14 PDT 2013


#39529: netcdf configure error
----------------------------+--------------------------------
 Reporter:  richard.katz@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.1.3
 Keywords:                  |       Port:  netcdf
----------------------------+--------------------------------
 Hello, I've got a configure error with netcdf that I don't know how to
 fix.

 with
 {{{
 sudo port install netcdf
 }}}

 I have the error
 {{{
 :info:configure checking hdf5.h usability... no
 :info:configure checking hdf5.h presence... no
 :info:configure checking for hdf5.h... no
 :info:configure configure: error: NetCDF-4 requires HDF5, but hdf5.h
 cannot be found.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_scienceports_science_netcdf/netcdf/work/netcdf-4.2.1.1"
 && ./configure --prefix=/opt/local --disable-doxygen --enable-netcdf-4
 :info:configure Exit code: 1
 }}}

 and yet

 {{{
 sudo port installed hdf5-18
 }}}

 returns

 {{{
 The following ports are currently installed:
   hdf5-18 @1.8.10_0+clang
   hdf5-18 @1.8.10_0+clang+openmpi (active)
 }}}

 and

 {{{
 ls /opt/local/include/hdf5*
 }}}

 gives

 {{{
 /opt/local/include/hdf5.h       /opt/local/include/hdf5.mod
 /opt/local/include/hdf5_hl.h
 }}}


 Thanks,
 Richard

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


More information about the macports-tickets mailing list