<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
A google search for “ac_nonexistent.h" reveals that might be a deliberate feature of the autoconfigure tools. See, for example, <a href="https://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html" class="">https://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html</a>. 
<div class=""><br class="">
</div>
<div class="">To find out why grib2 is not enabled, open your config.log in a text editor and search for the string ‘grib2’. Here’s a block of text where I find it in my config.log that has succeeded:</div>
<div class=""><br class="">
</div>
<div class=""><font face="Lucida Grande" style="font-size: 11px;" class="">configure:19014: checking grib2.h usability<br class="">
configure:19014: /usr/bin/gcc -c -fPIC -I/opt/local/include  -I/Users/jma/grads/supplibs/include  conftest.c >&5<br class="">
configure:19014: $? = 0<br class="">
configure:19014: result: yes<br class="">
configure:19014: checking grib2.h presence<br class="">
configure:19014: /usr/bin/gcc -E -I/Users/jma/grads/supplibs/include  conftest.c<br class="">
configure:19014: $? = 0<br class="">
configure:19014: result: yes<br class="">
configure:19014: checking for grib2.h<br class="">
configure:19014: result: yes<br class="">
configure:19016: checking for main in -lgrib2c<br class="">
configure:19035: /usr/bin/gcc -o conftest -fPIC -I/opt/local/include  -I/Users/jma/grads/supplibs/include  -L/Users/jma/grads/supplibs/lib  conftest.c -lgrib2c  -lm   >&5<br class="">
configure:19035: $? = 0<br class="">
configure:19044: result: yes</font><br class="">
<br class="">
Do the same for ‘netcdf’ or any other library you need — you’ll find the similar gcc calls to compile conftest.c (a tiny program created by the configure script that loads the desired header file or library) followed by the errors that gcc returned when it
 failed. Depending on the error messages, you may need to adjust your $CFLAGS or $CPPFLAGS or $LIBS environnment variables. </div>
<div class=""><br class="">
</div>
<div class="">—Jennifer</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<blockquote type="cite" class="">On Dec 27, 2018, at 4:25 PM, brown wrap <<a href="mailto:gramos@yahoo.com" class="">gramos@yahoo.com</a>> wrote:<br class="">
<br class="">
In the config.log file I am seeing a number of these:<br class="">
<br class="">
configure:7333: gcc -E -I/lustre/scratch/software/supplibs/include conftest.c<br class="">
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory<br class="">
 #include <ac_nonexistent.h><br class="">
          ^~~~~~~~~~~~~~~~~~<br class="">
compilation terminated.<br class="">
<br class="">
<br class="">
Greg<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On Thursday, December 27, 2018, 9:48:38 AM PST, Jennifer M Adams <<a href="mailto:jadams21@gmu.edu" class="">jadams21@gmu.edu</a>> wrote:<br class="">
<br class="">
<br class="">
Look in config.log for the errors when trying to compile test programs with grib2, hdf4, and netcdf. The output to the terminal when running the configure script will also tell you where things went wrong. <br class="">
—Jennifer<br class="">
<br class="">
> On Dec 26, 2018, at 10:44 PM, brown wrap <<a href="mailto:gramos@yahoo.com" class="">gramos@yahoo.com</a>> wrote:<br class="">
> <br class="">
> I am trying to build GrADS on a Cray. I have built all of the libraries, but several are not being found:<br class="">
> <br class="">
>  +=========================================================================+<br class="">
>    GrADS 2.2.0 : Configured on 12/27/18 for x86_64-unknown-linux-gnu<br class="">
>  +=========================================================================+<br class="">
> <br class="">
>  +-------------------------------+<br class="">
>  |                              |<br class="">
>  |  GrADS will be built with:    |<br class="">
>  |                              |<br class="">
>  |  - GUI disabled              |<br class="">
>  |  + READLINE enabled          |<br class="">
>  |  + GEOTIFF enabled            |<br class="">
>  |  + SHAPEFILE enabled          |<br class="">
>  |  + GD enabled                |<br class="">
>  |  + CAIRO enabled              |<br class="">
>  |  - GRIB2 disabled            |<br class="">
>  |  - HDF4 disabled              |<br class="">
>  |  + HDF5 enabled              |<br class="">
>  |  - NETCDF disabled            |<br class="">
>  |  - OPeNDAP disabled          |<br class="">
>  |                              |<br class="">
>  +-------------------------------+<br class="">
> <br class="">
> Both HDF4 and NetCDF are there in the supplibs directory. Any ideas?<br class="">
<br class="">
> <br class="">
> _______________________________________________<br class="">
> gradsusr mailing list<br class="">
> gradsusr@gradsusr.org<br class="">
> http://secure-web.cisco.com/1v9r5rJb1OuQ69Htts-wjzgAMQT1C6_XD39z9wPsnQdKnQbtH0Vak9RsJIW3AFQEcrulhFV01lam7qwdTwSNd6QUktbwz9u0LZIinlappNmvhdlU1kPuzgA6fDJH2fOOrrYmWtHsSdjDq10otqyYApiDgieEidMPrGgNqA63whXU8i1Au4pwm00d20GaOj-7Lce-xgj2Xtu1pIiDKi64umNYBq-l46RXok2u_4zS-l9KObH8HD04G5-wmHEErjNnpPvzreimAvSQR3rdqbGYJFz48wJ5G8mbBu6NRCu0ktj4WWX2bGqBEBdQWVMhMaOw_hJUD8HPLSuudDG50xtPpRgyS5uTBrE1b4JS8dxyCn2BA1CMQcORXcxDpvBVgzf2gt1l4UVzcbbvw9JH--X4GciAjPmVrOs4T7r-QEMLlJmv7GsZWRUXd5IGX86lUCvL9/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr<br class="">
<br class="">
--<br class="">
Jennifer Miletta Adams<br class="">
Center for Ocean-Land-Atmosphere Studies (COLA)<br class="">
George Mason University<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
gradsusr mailing list<br class="">
gradsusr@gradsusr.org<br class="">
http://gradsusr.org/mailman/listinfo/gradsusr<br class="">
<br class="">
_______________________________________________<br class="">
gradsusr mailing list<br class="">
gradsusr@gradsusr.org<br class="">
http://secure-web.cisco.com/1tevWdtozE8qF4zYZxnQYBWzVWOxgAYAYIOOdaCg7Bls0JEvLzUPUzn4WO3jlX7nm7qStP9AB547b3GVp-M5XM9gMM9aPBEK1VqeYEx0REP8LpxQNCZf7fa8DH0KjP3HcoX_FZpf-s5Ll0Wpm9mVnvvW7b5W9m0rCMyUOpElteDS26dIZsjt8g4WcY6T3wWic6T1KKZXHSbolQCTpNh2Zj67nObmwszorJXj7y8Aod02hqWcagEGe4Epn-EqtStwLS7IODVshiWhdz3WYFyNMpXaUSX1WcfAK9Ibt_tbUbcMt87ixpo1NsZGccagd7y4PsCsh4vLELZtSWCPxksjgU03BkHihLomGRI6_M_Do3Y8NBEarhyQYapS0S1TdECvNNUQSmcgWveh859JiU_PU6Au-2DaXIQMTej4zy2YxRORBVl0mALM33P3tKu0vB8uq/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr<br class="">
</blockquote>
<br class="">
<div class="">--<br class="">
Jennifer Miletta Adams<br class="">
Center for Ocean-Land-Atmosphere Studies (COLA)<br class="">
George Mason University<br class="">
<br class="">
<br class="">
</div>
<br class="">
</div>
</body>
</html>