<div dir="ltr"><div><div><div>There is a key that you have to specify when doing configure:<br><br></div>./configure --with-hdf5=/usr/local/hdf5-1.8.9/gcc<br><br></div>But I am not sure. If the above won't work try specifying the env variable export HDF5_DIR=/usr/local/hdf5-1.8.9/gcc<br>
<br></div><div>Is there INSTALL or README file, there you could find more information.<br></div><div><br></div>Cheers<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-23 16:18 GMT-04:00 David Smith <span dir="ltr"><<a href="mailto:dsmith@uvi.edu" target="_blank">dsmith@uvi.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p> I would greatly appreciate any suggestions for the following issue. Netcdf-4.1.3 was installed with netcdf-4 disabled. I want to install ncview 2.1.2 (1.93 can't read the wrfout files), so I need to recompile with netcdf-4 enabled. </p>
<p> The problem is that configure fails, with the message that it can't find hdf5. </p>
<p><br>
</p>
<p>configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors. ( I can send the log if needed.)<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>In the compile log it has<br>
</p>
<p><br>
</p>
<p>PATH: /usr/local/hdf5-1.8.9/gcc/bin<br>
</p>
<p><br>
</p>
<p>and that path is correct. <br>
</p>
<p><br>
</p>
<p><em>The only errors in the config.log file (that I can easily spot recognize) are many sequences like the following:</em><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>configure: failed program was:</div>
<div>| /* confdefs.h */<br>
</div>
<div>| #define PACKAGE_NAME "netCDF"</div>
<div>| #define PACKAGE_TARNAME "netcdf"</div>
<div>| #define PACKAGE_VERSION "4.1.3"</div>
<div>| #define PACKAGE_STRING "netCDF 4.1.3"</div>
<div>| #define PACKAGE_BUGREPORT "<a href="mailto:support-netcdf@unidata.ucar.edu" target="_blank">support-netcdf@unidata.ucar.edu</a>"</div>
<div>| #define PACKAGE_URL ""<br>
</div>
<div>| #define PACKAGE "netcdf"</div>
<div>| #define VERSION "4.1.3"</div>
<div>| #define NCIO_MINBLOCKSIZE 256</div>
<div>| #define USE_FSYNC 1</div>
<div>| #define DEFAULT_CHUNK_SIZE 4194304</div>
<div>| #define MAX_DEFAULT_CACHE_SIZE 67108864</div>
<div>| #define DEFAULT_CHUNKS_IN_CACHE 10</div>
<div>| #define CHUNK_CACHE_SIZE 4194304</div>
<div>| #define CHUNK_CACHE_NELEMS 1009</div>
<div>| #define CHUNK_CACHE_PREEMPTION 0.75</div>
<div>| #define HAVE_LIBCURL 1</div>
<div>| #define USE_DAP 1</div>
<div>| #define ENABLE_DAP 1</div>
<div>| #define ENABLE_DAP_REMOTE_TESTS 1</div>
<div>| #define USE_EXTREME_NUMBERS 1</div>
<div>| #define TEMP_LARGE "."</div>
<div>| #define HAVE_CURLOPT_KEYPASSWD 1</div>
<div>| /* end confdefs.h. */</div>
<div>| #include <ac_nonexistent.h></div>
<div>configure:10726: result: gcc -E</div>
<div>configure:10746: gcc -E conftest.c</div>
<div>configure:10746: $? = 0</div>
<div>configure:10760: gcc -E conftest.c</div>
<div>conftest.c:26:28: error: ac_nonexistent.h: No such file or directory</div>
<div>configure:10760: $? = 1</div>
<div><br>
<em>and also many examples of items such as:</em><br>
</div>
<div><em></em><br>
</div>
<div>
<div>conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'<br>
</div>
<div><br>
</div>
<div><em>Thanks!</em></div>
<div><i><br>
</i></div>
<div><em></em><i>Dave Smith<br>
</i><br>
</div>
<br>
</div>
<p><br>
</p>
</div>
</div>
</div>
<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Sasha</div>
</div>