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

Re: 20000308: HP-UX 11.00 installation problem: fort77 "-O" option



Luca,

[I had difficulty decoding your enclosures.  If you email again, please
do something different (e.g. don't use enclosures).]

>Date: Thu, 09 Mar 2000 09:45:41 -0700
>From: Unidata Support <address@hidden>
>Organization: ING of Rome
>To: address@hidden
>Subject: 20000308: GMT installation problems
>Keywords: 200003091645.JAA16131

In the above message, you wrote:

> I'm a technician that work for the ING of ROME.
> I have installed the GMT package on a LINUX SYSTEM whitout problem,
> now I'm trying to install the GMT package on a HP-UX 11.00 and I have
> few
> problems; please may you help me to resolve them ?
> Thank you.
>                 e-mail      address@hidden
>                 e-mail      address@hidden
> 
> 1) Where I must set the enviroment variables?
> 
> Items to resolve installation problems:
> 
> A) HP-UX nnnnn  B.11.00 U 9000/800 xxxxxxxxx unlimited-user license
> B) 3.4
> C) which cc  /bin/cc    which f77  /opt/fortran/bin/f77   which CC 
> /bin/CC
> 
> the files configure.log and config.log are in attachment.

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:1020: /bin/c89 -c -O -D_HPUX_SOURCE -DNDEBUG conftest.c 1>&5
> configure:1153: /usr/bin/CC -c  -D_HPUX_SOURCE -DNDEBUG conftest.C 1>&5
> configure:1220: /bin/c89 -E -D_HPUX_SOURCE -DNDEBUG conftest.c >/dev/null 
> 2>conftest.out
> configure:1319: /opt/fortran/bin/fort77 -c -O conftest.f
> fort77: POSIX 1003.2 mandates opt level following -O; expected values 0-4, 
> received: conftest.f; ignored

The error message above indicates that your FFLAGS environment variable
was incorrectly set for your Fortran compiler.  Apparently, a numerical
argument must follow the "-O" option.

Try the following:

    1.  Go to the top-level, netCDF source directory.

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

    3.  Ensure that the environment variable FFLAGS contains the string
        "-O 2".

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

Please let me know if this helps.

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