NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Jeff, > Right now, nc-config doesn't give you the cppflags and ldflags for hdf5 > (or any of the other dependencies), just netcdf. The following change > fixes this. > > --- nc-config.in.orig 2010-11-12 06:18:18.000000000 -0700 > +++ nc-config.in 2010-11-12 06:27:47.000000000 -0700 > @@ -14,9 +14,9 @@ > cc="@CC@" > cxx="@CXX@" > fc="@FC@" > -cflags=" -I${includedir}" > +cflags=" -I${includedir} @EXTERN_CPPFLAGS@" > fflags="@FFLAGS@ @MOD_FLAG@${includedir}" > -libs="-L${libdir} @NC_LIBS@" > +libs="-L${libdir} @NC_LIBS@ @EXTERN_LDFLAGS@" > flibs="-L${libdir} @NC_FLIBS@" > has_dap="@HAS_DAP@" > has_nc2="@HAS_NC2@" Thanks for these fixes, which we'll put in the next snapshot. Apparently things worked for us without these becasue we had HDF5 installed in the same directory as the netCDF library when we were testing static builds. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FPM-331111 Department: Support netCDF Priority: Normal Status: Closed