Opened 15 years ago
Last modified 12 years ago
#3154 closed defect
Configure snippet is not truly able to manage both netcdf3 and netcdf4 — at Version 1
Reported by: | frankie | Owned by: | chaitanya |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ConfigBuild | Version: | unspecified |
Severity: | normal | Keywords: | netcdf |
Cc: | warmerdam, antonio |
Description (last modified by )
When testing nc_open it does not consider that netcdf4 can be built with --enable-netcdf-4. In this case netcdf requires linking HDF5 and libz. Netcdf now offers a pkg-config snippet to manage properly linking. On sid it returns currently:
-L/usr -lnetcdf -lhdf5_hl -lhdf5 -lz
There are different ways to support both netcdf3/traditional builds or the new one. It's up to you decide if splitting --with-netcdf3/4 is appropriate or having a try with pkg-config would be a better option.
Change History (1)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Keywords: | netcdf added |
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
Chaitanya, could you look into this as time permits?
If older versions of the netcdf3 package does not have pkg-config, we may still need to support mechanisms for the user to override.