[MacPorts] #36415: hdfeos5 @1.13r2 Configure failure

MacPorts noreply at macports.org
Wed Oct 10 08:21:35 PDT 2012


#36415: hdfeos5 @1.13r2 Configure failure
----------------------------+-----------------------
  Reporter:  uthyr@…        |      Owner:  takeshi@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  ncarg hdfeos5  |
----------------------------+-----------------------

Comment (by uthyr@…):

 I just looked at the hdfeos web page
 ([http://hdfeos.org/software/hdfeos.php]), and found a mention of
 indicating that hdfeos5 requires use of the hdf5 version 1.6 API.  The
 hdf5-18 port is installed, and I was wondering if the CFLAGS definition
 for "H5_USE_16_API" was being used for hdfeos5...

 here is the potentially relevant text from the hdfeos web page:


 "The first step is to execute configure script included in the package.
 One option is required as a parameter to configure: CC. '''If HDF5 is 1.8
 or higher, one needs to define H5_USE_16_API preprocessor macro as CFLAGS.
 This is because HDF-EOS5 uses HDF5 1.6 API and this is not compatible with
 HDF5 1.8 API.''' If HDF5 was built with SZIP, another option --with-szlib
 is required. The following is an example when HDF5 1.8 is built with
 SZIP."

 and the sample code block immediately following on the web page is:


 {{{
 $ ./configure \
 CC=<hdf5_path>/bin/h5cc \
 CFLAGS=-DH5_USE_16_API \
 --with-szlib=<szip_path>
 }}}

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


More information about the macports-tickets mailing list