Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Can't install netcdf-3.4

Francisco,

>Date: Thu, 23 Nov 2000 13:15:09 +0100
>From: Francisco Pastor <paco@xxxxxxx>
>Organization: Fundacion CEAM, Spain
>To: netcdfgroup@xxxxxxxxxxxxxxxx
>Subject: Can't install netcdf-3.4
>Keywords: 200011231221.eANCLCo01871

The above message contained the following:

...
> > Output from ./configure
...
> > checking for C-equivalent to Fortran routine "SUB"... nm: conftest.o: No 
> > such file or directory
> > configure: error: not found
...

> > config.log
> >
> > This file contains any messages produced by compilers while
> > running configure, to aid debugging if configure makes a mistake.
> >
> > configure:1020: c89 -c -O -DNDEBUG conftest.c 1>&5
> > configure:1153: c++ -c  -DNDEBUG conftest.C 1>&5
> > configure:1220: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> > configure:1373: fort77 -c -O conftest.f
> > fort77: POSIX 1003.2 mandates opt level following -O; expected values 0-4, 
> > received: conftest.f; ignored
> > configure:1422: fort77 -o conftest -O conftest.F  -lU77
> > fort77: POSIX 1003.2 mandates opt level following -O; expected values 0-4, 
> > received: conftest.F; ignored
> > configure:1463: fort77 -c -O conftest.f
> > fort77: POSIX 1003.2 mandates opt level following -O; expected values 0-4, 
> > received: conftest.f; ignored

It looks like the HP-UX 10.20 C compiler, c89, no longer accepts a
simple "-O" option -- but rather requires that the option have a numeric
argument.

Try the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 5 near the end of the INSTALL file.

    3.  Ensure that the C "optimize" option in the environment variable
        CFLAGS contains a numeric argument (e.g. "-O3").

    4.  Perform steps 6 through 9 near the end of the INSTALL file.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690