<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> 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 "support-netcdf@unidata.ucar.edu"</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>
</body>
</html>