I just removed the -e to make it work. The /bin/echo on AIX doesn't accept any options as far as I can tell.<br>On the PNETCDF_VERSION issue I think that it failed just because something else further up failed. <br>
<br><div class="gmail_quote">On Wed, Feb 17, 2010 at 3:49 PM, Rob Latham <span dir="ltr"><<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Feb 15, 2010 at 09:31:25AM -0700, Jim Edwards wrote:<br>
> In the src/libf/Makefile.in you use a -e option to echo. This option is<br>
> not recognized in AIX.<br>
<br>
</div>Hi Jim. Thanks for reporting this. What seems to happen, at least on<br>
linux, is that the shell uses a built-in 'echo' command, instead of<br>
/bin/echo. If you replace the 'echo' commands in<br>
src/libf/Makefile.in with /bin/echo, does that work?<br>
<div class="im"><br>
> In file src/lib/mpinetcdf.c the macro here<br>
><br>
> return "version = " PNETCDF_VERSION "of 02 November 2009";<br>
><br>
> is not replaced correctly by cpp, I think something like this would be<br>
> better...<br>
><br>
> return sprintf("version =<br>
> %d.%d.%d",PNETCDF_VERSION_MAJOR,PNETCDF_VERSION_MINOR,<br>
> PNETCDF_VERSION_SUB);}<br>
<br>
</div>that would be more clear, it's true. PNETCDF_VERSION is not<br>
available outside of the pnetcdf build environment. configure defines<br>
that macro in src/lib/ncconfig.h. The PNETCDF{_MAJOR,_MINOR,_SUB,_PRE}<br>
macros are defined in the (now generated) pnetcdf.h header file.<br>
<br>
Any chance you've got a stale pnetcdf.h floating around?<br>
<br>
==rob<br>
<font color="#888888"><br>
--<br>
Rob Latham<br>
Mathematics and Computer Science Division<br>
Argonne National Lab, IL USA<br>
</font></blockquote></div><br>