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>

  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: