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

Re:Re: 20041118: Problems on installing netcdf-3.5.0



Hi Ed,

    Thank you so much for your reply. These are output of make. I am looking 
forward to your suggestion.

Best Regards,

Jinfeng


make
make[1]: Entering directory `/usr/local/netcdf-3.5.0/src'
 
Making `all' in directory /usr/local/netcdf-3.5.0/src/libsrc
 
make[2]: Entering directory `/usr/local/netcdf-3.5.0/src/libsrc'
c89 -c -O -I.  -DNDEBUG attr.c
c89 -c -O -I.  -DNDEBUG dim.c
c89 -c -O -I.  -DNDEBUG error.c
c89 -c -O -I.  -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
c89 -c -O -I.  -DNDEBUG nc.c
c89 -c -O -I.  -DNDEBUG ncio.c
c89 -c -O -I.  -DNDEBUG ncx.c
c89 -c -O -I.  -DNDEBUG putget.c
c89 -c -O -I.  -DNDEBUG string.c
c89 -c -O -I.  -DNDEBUG v1hpg.c
c89 -c -O -I.  -DNDEBUG v2i.c
c89 -c -O -I.  -DNDEBUG var.c
ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o 
string.o v1hpg.o v2i.o var.o
ranlib libnetcdf.a
make[2]: Leaving directory `/usr/local/netcdf-3.5.0/src/libsrc'
 
Returning to directory /usr/local/netcdf-3.5.0/src
 
make[1]: Leaving directory `/usr/local/netcdf-3.5.0/src'
make[1]: Entering directory `/usr/local/netcdf-3.5.0/src'
 
Making `all' in directory /usr/local/netcdf-3.5.0/src/fortran
 
make[2]: Entering directory `/usr/local/netcdf-3.5.0/src/fortran'
c89 -c -O -I../libsrc  -DNDEBUG fort-attio.c
In file included from ncfortran.h:13,
                 from fort-attio.c:6:
cfortran.h:134:3: #error "cfortran.h:  Can't find your environment among:    - 
MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...)         - IBM 
AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000         - VAX   VMS 
CC 3.1 and FORTRAN 5.4.                                      - Alpha VMS DEC C 
1.3 and DEC FORTRAN 6.0.
   - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP Version 1.2              - 
Apollo DomainOS 10.2 (sys5.3) with f77 10.7
and cc 6.7.                - CRAY                                               
                    - NEC SX-4 SUPER-UX
                                                   - CONVEX
  - Sun                                                                    - 
PowerStation Fortran with Visual C++
                          - HP9000s300/s700/s800 Latest test with: HP-UX 
A.08.07 A 9000/730        - LynxOS: cc or gcc with f2c.                         
                   - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77.
 -            f77 with vcc works; but missing link magic for f77 I/O.     -     
       NO fort. None of gcc, cc or vcc generate required names.    - f2c    : 
Use #define    f2cFortran, or cc -Df2cFortran                 - NAG f90: Use 
#define NAGf90Fortran, or cc -DNAGf90Fortran              - Absoft UNIX F77: 
Use #define AbsoftUNIXFortran or cc -DAbsoftUNIXFortran     - Absoft Pro 
Fortran: Use #define AbsoftProFortran     - Portland Group Fortran: Use #define 
pgiFortran"
make[2]: *** [fort-attio.o] Error 1
make[2]: Leaving directory `/usr/local/netcdf-3.5.0/src/fortran'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/usr/local/netcdf-3.5.0/src'
make: *** [fortran/all] Error 2


-----  Original Message  -----
From: Ed Hartnett 
To: address@hidden 
Cc: address@hidden 
Subject: Re: 20041118: Problems on installing netcdf-3.5.0
Sent: Fri Nov 19 01:28:28 CST 2004

> 
> Unidata Support <address@hidden> writes:
> 
> > ------- Forwarded Message
> > 
> > >To: <address@hidden>
> > >From: <address@hidden>
> > >Subject: Problems on installing netcdf-3.5.0
> > >Organization: UCAR/Unidata
> > >Keywords: 200411181253.iAICrE7j000962
> > 
> > 
> > Dear Sir,
> > 
> >    I am installing netcdf-3.5.0 on Redhat9.0. Here are the configure 
> > problems list.Could you give me any suggestion?
> > Thank you very much for your help!
> > 
> 
> Howdy!
> 
> Can you send me the output of make?
> 
> What makes you think the configure failed?
> 
> Thanks,
> 
> Ed
> 
> 
> > Jinfeng
> > 
> > 
> > > ./configure
> > > loading cache ./config.cache
> > > checking for top-level source-directory
> > > /usr/local/netcdf-3.5.0/src
> > > checking for m4 preprocessor
> > > checking for m4... (cached) m4
> > > checking m4 flags... -B10000
> > > checking C compiler "/usr/bin/gcc"... works
> > > checking how to make dependencies... false
> > > checking for /usr/bin/g++... /usr/bin/g++
> > > checking C++ compiler "/usr/bin/g++"... configure: warning: /usr/bin/g++ 
> > > failed on test program
> > > configure: warning: Could not find working C++ compiler
> > > configure: warning: Setting CXX to the empty string
> > > configure: warning: The C++ interface will not be built
> > > checking how to run the C preprocessor... (cached) c89 -E
> > > checking user-defined Fortran-77 compiler "/usr/bin/g77"... works
> > > checking for Fortran .F compiler...
> > > checking if Fortran-77 compiler handles *.F files... yes
> > > checking "/usr/bin/g77" as Fortran-90 compiler... failed to build test 
> > > program
> > > checking for xlf90... no
> > > checking for f90... no
> > > configure: warning: Could not find working Fortran-90 compiler
> > > configure: warning: The Fortran-90 interface will not be built
> > > checking for nm utility
> > > checking for nm... (cached) nm
> > > checking nm flags...
> > > checking for C-equivalent to Fortran routine "SUB"... sub_
> > > checking for Fortran "byte"... yes
> > > checking for Fortran "integer*2"... yes
> > > checking if Fortran "byte" is C "signed char"... yes
> > > checking if Fortran "byte" is C "short"... no
> > > checking if Fortran "byte" is C "int"... no
> > > checking if Fortran "byte" is C "long"... no
> > > checking if Fortran "integer*2" is C "short"... yes
> > > checking if Fortran "integer*2" is C "int"... no
> > > checking if Fortran "integer*2" is C "long"... no
> > > checking if Fortran "integer" is C "int"... yes
> > > checking if Fortran "real" is C "float"... yes
> > > checking if Fortran "doubleprecision" is C "double"... yes
> > > checking for Fortran-equivalent to netCDF "byte"... byte
> > > checking for Fortran-equivalent to netCDF "short"... integer*2
> > > checking for math library
> > > checking for tanh in -lc... (cached) no
> > > checking for tanh in -lm... (cached) yes
> > > checking for ar utility
> > > checking for ar... (cached) ar
> > > checking ar flags... cru
> > > checking for nm utility
> > > checking for nm... (cached) nm
> > > checking nm flags...
> > > checking for ranlib... (cached) ranlib
> > > checking for stdlib.h... (cached) yes
> > > checking for sys/types.h... (cached) yes
> > > checking for strerror... (cached) yes
> > > checking for working ftruncate()... yes
> > > checking for working alloca.h... (cached) yes
> > > checking for alloca... (cached) yes
> > > checking for st_blksize in struct stat... (cached) yes
> > > checking for IEEE floating point format... yes
> > > checking for ANSI C header files... (cached) yes
> > > checking for size_t... (cached) yes
> > > checking for off_t... (cached) yes
> > > checking for ssize_t... (cached) yes
> > > checking for ptrdiff_t... (cached) yes
> > > checking for uchar... (cached) no
> > > checking whether char is unsigned... (cached) no
> > > checking whether byte ordering is bigendian... (cached) no
> > > checking size of short... (cached) 2
> > > checking size of int... (cached) 4
> > > checking size of long... (cached) 4
......