gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
274 stars 61 forks source link

HDF4, NETCDF clash – mainly a heads up for Arch/Manjaro (etc.) users. #1820

Open jtappin opened 5 months ago

jtappin commented 5 months ago

When trying to update GDL from GIT this morning, I got a whole slew of undefined variable errors relating to NETCDF (more than a terminal scrollback) and some warnings from HDF4. Also the options summary for NETCDF looked odd (no directory for the include files).

So: I deleted the build directory to get a fresh configuration, that gave the error message (sorry the actual text has scrolled off) that to use the system NETCDF library, HDF4 must be built with --disable-netcdf. Since HDF4 is an AUR package, this can be relatively easily done and that does allow a build.

I will contact the HDF4 maintainer on AUR to see if this can be made the default, but I thought a quick note here in case anyone else hits the problem would be useful.