<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr">
<div id="OWAFontStyleDivID" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style>
<div id="OWAFontStyleDivID" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>&nbsp; I would greatly appreciate any suggestions for the following issue. &nbsp;Netcdf-4.1.3 was installed with&nbsp;netcdf-4 disabled. &nbsp;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. &nbsp;</p>
<p>&nbsp; &nbsp;The problem&nbsp;is that configure fails, with the message that it can't find hdf5. &nbsp;</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&nbsp;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. &nbsp;<br>
</p>
<p><br>
</p>
<p><em>The only errors in the config.log file (that I can easily spot&nbsp;recognize) are many&nbsp;sequences&nbsp;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 &quot;netCDF&quot;</div>
<div>| #define PACKAGE_TARNAME &quot;netcdf&quot;</div>
<div>| #define PACKAGE_VERSION &quot;4.1.3&quot;</div>
<div>| #define PACKAGE_STRING &quot;netCDF 4.1.3&quot;</div>
<div>| #define PACKAGE_BUGREPORT &quot;support-netcdf@unidata.ucar.edu&quot;</div>
<div>| #define PACKAGE_URL &quot;&quot;<br>
</div>
<div>| #define PACKAGE &quot;netcdf&quot;</div>
<div>| #define VERSION &quot;4.1.3&quot;</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 &quot;.&quot;</div>
<div>| #define HAVE_CURLOPT_KEYPASSWD 1</div>
<div>| /* end confdefs.h. &nbsp;*/</div>
<div>| #include &lt;ac_nonexistent.h&gt;</div>
<div>configure:10726: result: gcc -E</div>
<div>configure:10746: gcc -E &nbsp;conftest.c</div>
<div>configure:10746: $? = 0</div>
<div>configure:10760: gcc -E &nbsp;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>
</body>
</html>