This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hi I am still getting a test failure when trying to build netcdf version > 4.1.2 I need this specific version unfortunately. Here is the test error: > > *** Checking HDF5 variable functions. > *** Checking HDF5 boolean variables...ok. > *** Checking HDF5 variable with unlimited dimension...ok. > HDF5-DIAG: Error detected in HDF5 (1.8.6) thread 0: > #000: H5Z.c line 1371 in H5Zget_filter_info(): Filter not defined > major: Invalid arguments to routine > minor: Bad value > #001: H5Z.c line 1021 in H5Z_find(): required filter is not registered > major: Data filters > minor: Object not found > *** Checking HDF5 deflate filter setting and getting...Sorry! Unexpected > result, tst_h_vars.c, line: 230 > FAIL: tst_h_vars The HDF5 library that netCDF-4 depends on must be built with zlib support. You can check for this by looking in the directory where the HDF5 library is installed for the file libhdf5.settings, which is a text file that should include the following line, under the heading labeled "Features": I/O filters (external): deflate(zlib) If it's not there, you will need to rebuild the HDF5 library and tell its configure script where to find the zlib compression library. It will be named something like "libz.a" or "libz.so.1.2.8". If it's not already installed, it's available from lots of platform repositories, or you can download the source from http://www.zlib.net/ Note that the netCDF-C installation instructions say zlib is required: http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#building That documenatation also says that hdf5-1.8.9 or later is required, but if you have to build with an older version of hdf5, 1.8.6 should be OK with the old 4.1.2 version of netCDF-C, modulo the bugs that have been fixed since that version. Hope this helps ... --Russ > On May 17, 2015, at 4:27 PM, Unidata netCDF Support > <address@hidden<mailto:address@hidden>> wrote: > > Hi Katy, > > This is a known issue related to a change in our test server > configuration. Recent releases fix it by pointing directly > to our new test servers. So, the failure is on our end, not > yours. > > You can complete testing and installation of earlier releases > the netCDF C library and utilities by following these steps: > > 1. Run "make clean" in the top level directory of your source netCDF > source (or unpack the source again in a new source directory) > > 2. Run the "configure" script again, but this time add the following > option to whatever options you previously specified: > > --disable-dap-remote-tests > > 3. Run "make check" and verify that it now completes successfully. > > 4. Run "make install", or "sudo make install" if needed. > > That should get you past the problem with our test server and allow > the installation to complete successfully. Please let us know if you > encounter additional errors. > > --Russ > > In trying to build netcdf-4.1.2 I came up with the following letter. > > *** Testing netcdf file functions some more. > syntax error, unexpected SCAN_WORD, expecting SCAN_ATTR or SCAN_DATASET or > SCAN_ERROR > context: <html^><head><title>Apache Tomcat/7.0.57 - Error > report</title><style><!--H1 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} > H2 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} > H3 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} > BODY > {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P > {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A > {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> > </head><body><h1>HTTP Status 404 - /dods/dts/test.01.dds</h1><HR size="1" > noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> > <u>/dods/dts/test.01.dds</u></p><p><b>description</b> <u>The requested > resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache > Tomcat/7.0.57</h3>< > /body></html> > *** testing simple opendap open/close...Sorry! Unexpected result, > tst_files6.c, line: 24 > FAIL: tst_files6 > > Russ Rew UCAR Unidata Program > address@hidden<mailto:address@hidden> > http://www.unidata.ucar.edu > > > > Ticket Details > =================== > Ticket ID: ARR-765095 > Department: Support netCDF > Priority: Normal > Status: Closed > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ARR-765095 Department: Support netCDF Priority: Normal Status: Closed