<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" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>​Good morning,<br>
</p>
<p><br>
</p>
<p>I'm trying to build pnetcdf-1.11.2, but I'm running into the following configure error:<br>
</p>
<p><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; line-height: normal;">
<span style="font-variant-ligatures: no-common-ligatures; font-family: "Courier New", monospace; font-size: 8pt;"><span style="font-family: "Courier New", monospace;">checking whether we are cross compiling... configure: error: in `/Users/jmgate/toolchain/build/pnetcdf-1.11.2':</span></span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; line-height: normal;">
<span style="font-variant-ligatures: no-common-ligatures; font-family: "Courier New", monospace; font-size: 8pt;"><span style="font-family: "Courier New", monospace;">configure: error: cannot run C compiled programs.</span></span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; line-height: normal;">
<span style="font-variant-ligatures: no-common-ligatures; font-family: "Courier New", monospace; font-size: 8pt;"><span style="font-family: "Courier New", monospace;">If you meant to cross compile, use `--host'.</span></span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; line-height: normal;">
<span style="font-variant-ligatures: no-common-ligatures; font-family: "Courier New", monospace; font-size: 8pt;"><span style="font-family: "Courier New", monospace;">See `config.log' for more details</span></span></p>
<p><br>
</p>
<p>The config.log file and the full output from the following configure command</p>
<p><br>
</p>
<p><span style="font-variant-ligatures: no-common-ligatures; font-family: "Courier New", monospace; font-size: 8pt;"><span style="font-family: "Courier New", monospace;">/Users/jmgate/toolchain/src/pnetcdf-1.11.2/configure --prefix=${TOOLCHAIN_INSTALL}/pnetcdf-1.11.2
 2>&1 | tee config$(date +%y%m%d%H%M%S).log</span></span><br>
</p>
<p><br>
</p>
<p>are attached.  My compiler/TPL stack so far (and not all these are relevant, but included for the sake of completeness) is<br>
</p>
<ul dir="" class="">
<li><span style="font-size: 12pt;">​​gcc-9.1.0</span><br>
</li><li><span style="font-size: 12pt;">openmpi-4.0.1</span></li><li><span style="font-size: 12pt;">cmake-3.15.0</span></li><li><span style="font-size: 12pt;">python-​3.7.3</span></li><li><span style="font-size: 12pt;">lapack-3.8.0</span></li><li><span style="font-size: 12pt;">boost-1.70.0</span></li><li><span style="font-size: 12pt;">zlib-1.2.11</span></li><li><span style="font-size: 12pt;">hdf5-1.10.5</span></li></ul>
<div>This is on Mac OS-X 10.14.6.  Any help resolving the configure error would be appreciated.<br>
</div>
<div><br>
</div>
<div>Many thanks,<br>
</div>
<div><br>
</div>
<div>Jason M. Gates<br>
</div>
<br>
</body>
</html>