errors in AIX build

Jim Edwards edwards.jim at gmail.com
Wed Feb 17 17:01:08 CST 2010


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.
On the PNETCDF_VERSION issue I think that it failed just because something
else further up failed.

On Wed, Feb 17, 2010 at 3:49 PM, Rob Latham <robl at mcs.anl.gov> wrote:

> On Mon, Feb 15, 2010 at 09:31:25AM -0700, Jim Edwards wrote:
> > In the src/libf/Makefile.in  you use a -e option to echo.   This option
> is
> > not recognized in AIX.
>
> Hi Jim.  Thanks for reporting this.  What seems to happen, at least on
> linux,  is that the shell uses a built-in 'echo' command, instead of
> /bin/echo.   If you replace the 'echo' commands in
> src/libf/Makefile.in with /bin/echo, does that work?
>
> > In file src/lib/mpinetcdf.c  the macro here
> >
> >     return "version = " PNETCDF_VERSION "of 02 November 2009";
> >
> > is not replaced correctly by cpp,  I think something like this would be
> > better...
> >
> >   return sprintf("version =
> > %d.%d.%d",PNETCDF_VERSION_MAJOR,PNETCDF_VERSION_MINOR,
> > PNETCDF_VERSION_SUB);}
>
> that would be more clear, it's true.  PNETCDF_VERSION is not
> available outside of the pnetcdf build environment.  configure defines
> that macro in src/lib/ncconfig.h.   The PNETCDF{_MAJOR,_MINOR,_SUB,_PRE}
> macros are defined in the (now generated) pnetcdf.h header file.
>
> Any chance you've got a stale pnetcdf.h floating around?
>
> ==rob
>
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20100217/b54e71c3/attachment.htm>


More information about the parallel-netcdf mailing list