#47 configure --enable-netcdf4 does not work

closed-fixed
None
7
2011-12-07
2011-06-23
No

I'm trying to build nco with netcdf4 support, but configure --enable-netcdf4 does not work. It does not result in ENABLE_NETCDF4 being defined.

#################################
# Test for netCDF4 support #
#################################
DEBUG: After netCDF4 section LIBS = -lnetcdf -lcurl
configure: netcdf.h contains netCDF4 definitions
DEBUG: After netCDF4 section header_defines_nc_chunked =
DEBUG: After netCDF3 section LIBS = -lnetcdf -lcurl

ENABLE_NETCDF4....... yes

Discussion

  • Charlie Zender

    Charlie Zender - 2011-06-26

    yes, i would fix this if i knew how. suggestions welcome. i may change configure so that it assumes netCDF4 is available rather than tries to check for it.

     
  • Charlie Zender

    Charlie Zender - 2011-06-26
    • assigned_to: nobody --> zender
     
  • Charlie Zender

    Charlie Zender - 2011-06-26
    • priority: 5 --> 7
     
  • Charlie Zender

    Charlie Zender - 2011-06-26
    • status: open --> open-accepted
     
  • Charlie Zender

    Charlie Zender - 2011-06-27

    OK, yesterday I stripped a bunch of cruft out of configure.
    I removed configure support for UDUnits1, DAP from libdap, and MPI.
    Today I built a netcdf4-, UDUnits2-, DAP-enabled NCO against Debian Sid.
    This is a small milestone. configure should now work much better on systems
    with netCDF 4.1.x.

    configure.in is now simpler looking, so maybe others can help improve it further.
    If you have time, please download the latest snapshot and give it a whirl.

    I am marking this bug as fixed.

    Thanks,
    c

     
  • Charlie Zender

    Charlie Zender - 2011-06-27
    • status: open-accepted --> open-fixed
     
  • Charlie Zender

    Charlie Zender - 2011-12-07

    This should have been marked as closed back in June. Tidying up.

     
  • Charlie Zender

    Charlie Zender - 2011-12-07
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks