[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990225: netcdf installation AIX 4.2



>To: address@hidden
>From: "hoff corine" <address@hidden>
>Subject: netcdf instal
>Organization: CEFE-CNRS
>Keywords: 199902251726.KAA11102

Hi Corine,

> Hello, I have some trouble to instal netcdf on an AIX station. Il 
> send you information as specified in the INSTALL file.  I used the 
> set of settings for AIX 4.2.
> Could you tell me if it is possible to instal netcdf on this old 
> station? I do not have many time to spend in trying to
> instal it if the system is too old and i am not an informatician...
> Many thanks in advance for your answer.
> 
> Corine Hoff
> CEFE. Montpellier. France
> 
> **********************************************************************
> The following items help us diagnose installation problems:
> 
>     A.  The standard output of the command "uname -a".
> > AIX statcalc 2 3 000000241000
>     B.  The contents of the file VERSION, which is in the top-level
>  source directory.
> > version = 3.4
>     C.  The absolute pathnames of all compilers (C, Fortran, C++) used
>         in the build process (use the type(1) or which(1) utility to
>         determine this).
> > /usr/bin/xlc
> > /usr/bin/xlf
  ...
> ---- File information -----------
>   File:  make.log
>   Date:  25 Feb 1999, 18:11
>   Size:  709 bytes.
>   Type:  Inconnu
> 
> "./posixio.c", line 113.9: 1506-007 (S) Struct or union stat is undefined.
> "./posixio.c", line 114.17: 1506-045 (S) Undeclared identifier sb.
> "./posixio.c", line 1115.16: 1506-045 (S) Undeclared identifier O_RDWR.
> "./posixio.c", line 1115.23: 1506-045 make: 1254-004 Le code d'erreur de la 
> derni?re commande est 1.
> make: 1254-004 Le code d'erreur de la derni?re commande est 1.
> make: 1254-004 Le code d'erreur de la derni?re commande est 2.
> o.c", line 1210.37: 1506-045 (S) Undeclared identifier O_RDWR.
> "./posixio.c", line 1210.46: 1506-045 (S) Undeclared identifier O_RDONLY.
> 
> Abandon de la commande Make en cours.
  ...

We have AIX 4.2 here, so we cannot duplicate the problem, but I found
an earlier support message using the search through the netCDF support
email archive that's available at the bottom of the netCDF home page.
It suggests the following may work:

  ... the posixio.c module requires not only ANSI but also POSIX
  defines, so you need the -D_POSIX_SOURCE flag on compile lines.  To do
  this:

    1.  rm config.cache
    2.  define CPPFLAGS as "-D_POSIX_SOURCE" in your environment
        before invoking configure.
    3.  make clean
    4.  Run the configure script: ./configure
    5.  make all
    6.  make test
    7.  make install

If you run into more problems with the above, please send the details
to address@hidden.  Thanks.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu