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 Stefan, > I was building netcdf4 with HDF5 support, and I got the following error as I > did the "make check install" after setting my CPPFLAGS and my LDFLAGS: > > Testing: Http Basic Authorization > syntax error, unexpected WORD_WORD, expecting SCAN_ATTR or SCAN_DATASET or > SCAN_ERROR This is a known issue related to a change in our test server configuration. We are still working on redirects to fix this for existing releases, and the upcoming 4.3.2 release will also fix it by pointing directly to our new test servers. So, the failure is on our end, not yours. Until this gets fixed, you can complete testing and installation of 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 > context: <html^><head><title>Apache Tomcat/7.0.52 - 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 401 - </h1><HR size="1" > noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> > <u></u></p><p><b>description</b> <u>This request requires HTTP > authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache > Tomcat/7.0.52</h3></body></html> > *** Fail: Http Basic Authorization: NetCDF: Malformed or inaccessible DAP DDS > FAIL: t_auth > ================================================ > 1 of 11 tests failed > Please report to address@hidden > ================================================ > make[4]: *** [check-TESTS] Error 1 > make[3]: *** [check-am] Error 2 > make[2]: *** [check-recursive] Error 1 > make[1]: *** [check] Error 2 > make: *** [check-recursive] Error 1 > > Can you please help me to figure out what is wrong? I built zlib, hdf5 > (specifying the zlib location), then I tried to build netcdf. I got these > errors, and I would very much like to get this working. > > Cheers, and thank you! > -Stefan Rahimi > > ________________________________________ > > Stefan Rahimi > address@hidden > School of Meteorology, The University of Oklahoma > NWC 5110 > (405) 325-3051 > > > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: HBB-707489 Department: Support netCDF Priority: Normal Status: Closed