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

20020116: installing on IRIX



wzz,

> To: <address@hidden>
> From: "wzz" <address@hidden>
> Subject: make problem
> Organization: ?
> Keywords: 200201160141.g0G1evx00905 netCDF

The above message contained the following:

>   When 'make' is executed, the installation step of netCDF is failed. =
> The items A to F is in the following attachment. Please give me some =
> supports.
>   Thanks,
>   Wang
>   2002.1.16
...

>       filename="configure.log"
> 
> creating cache ./config.cache
> checking for top-level source-directory
> /disk1/wzz/netcdf-3.5.0/src
> checking for m4 preprocessor
> checking for m4... m4
> checking m4 flags... -B10000
> checking C compiler "/bin/cc -64"... works
> checking how to make dependencies... cc -M
> checking for /bin/CC... /bin/CC -64
> checking C++ compiler "/bin/CC -64"... configure: warning: /bin/CC -64 =
> failed on test program

The above indicates a problem with your C++ compiler.  The reason is
found in the file "config.log":

>       filename="config.log"
...

> configure:1225: checking C++ compiler "/bin/CC -64"
> configure:1243: /bin/CC -64 -o conftest -O -DNDEBUG  conftest.C  1>&5
> CC ERROR:  CC is not installed in /bin/../lib32/cmplrs/CC
> configure: failed program was:
> #line 1230 "configure"
> #include "confdefs.h"
> #ifdef __cplusplus
> extern "C" void exit(int);
> #endif
> 
>                               #include <iostream.h>
>                               int main() {
>                                   cout << "";
>                                   return 0;
                                }
>                          =20

The above indicates a problem with your C++ compler installation. Fix
the compiler installation and then try to reinstall the netCDF package.

If you cannot fix the problem with the C++ compiler, then you can tell
the configure script to ignore the C++ interface by setting the CXX
environment variable to the empty string before executing the configure
script. For example:

    $ rm config.cache
    $ export CXX=
    $ ./configure >configure.log 2>&1


>       filename="make.log"
...

> Making `all' in directory /disk1/wzz/netcdf-3.5.0/src/f90
> 
>       /bin/f90 -64 -c  typeSizes.f90
>       /bin/f90 -64 -c  netcdf.f90
>      ###      localMap   (:numDims  ) =3D (/ 1, =
> (product(localCount(:counter)), counter =3D 1
>      ### in line 60 procedure NF90_PUT_VAR_1D_TEXT of file netcdf.f90 =
> ###=20
>      ### warning                  Cannot translate this statement =
> because of enclosing implied DOs. ###=20
>      ###      localMap   (:numDims  ) =3D (/ 1, =
> (product(localCount(:counter)), counter =3D 1

The above indicates a problem with your Fortran-90 compiler because the
statement that it can't compile conforms to the Fortran-90 standard.
Your Fortran-90 compiler is older than ours and we cannot reproduce the
problem on our newer compiler.  I suggest that you either update your
Fortran-90 compiler or tell the configure script to ignore the
Fortran-90 interface by setting the environment variable F90 to the
empty string.  For example

    $ rm config.cache
    $ export FC=/bin/f77
    $ export FFLAGS='-64 -O -nocpp'
    $ export F90=
    $ ./configure >configure.log 2>&1

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

>From address@hidden Wed Jan 16 18:20:22 2002
>Subject: =?gb2312?B?u9i4tDogMjAwMjAxMTY6IGluc3RhbGxpbmcgb24gSVJJWA==?=

Dear Sir,
According to your guidance, I have installed the netCDF successfully.
Thank you very much!
regards,
wzz
2002.01.17