[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970725: problem installing netcdf on Ultra II
- Subject: 970725: problem installing netcdf on Ultra II
- Date: Fri, 25 Jul 97 08:36:08 -0600
Paramesh,
>Date: Tue, 25 Jul 95 17:44:18 PDT
>From: address@hidden
>Organization: Wadia Institute of Himalayan Geology
>To: address@hidden
>Keywords: 199707161628.KAA18287
In the above message, you wrote:
> when config.cache is removed, this is the standard output of configure run:
> WIHG# rm config.cache
> WIHG# sh configure
> creating cache ./config.cache
> checking for m4... m4
> checking for xlc... no
> checking for c89... no
I'm surprised the configure script couldn't find the c89(1) compiler on
your system. Ours is "/opt/SUNWspro/bin/c89". Don't you also have one?
> checking for acc... no
> checking for cc... cc
Which C compiler is "cc"? Use the "which" or "type" command to find out
and send me the result.
Be advised that you MUST have a Standard C compiler in order to build
the netCDF package and that "/usr/ucb/cc" is NOT a Standard C compiler.
> checking C compiler... works
> checking how to make dependencies... cc -xM
> checking for CC... CC
> checking C++ compiler "CC"... works
> checking how to run the C preprocessor... cc -E
> checking for f77... no
> configure: warning: Could not find working FORTRAN compiler
> checking for FORTRAN .F compiler...
> checking for FORTRAN preprocessor... cc -E
> checking for math library
> checking for -lc... no
> checking for -lm... no
> checking for ar... ar
> checking for ranlib... ranlib
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... no
> checking for ftruncate... no
> checking for st_blksize in struct stat... yes
> checking whether cross-compiling... no
> checking for IEEE floating point format... yes
> checking for ANSI C header files... no
> checking for size_t... yes
> checking for off_t... yes
> checking for ssize_t... yes
> checking for ptrdiff_t... no
> checking for uchar... no
> checking whether char is unsigned... no
> checking whether byte ordering is bigendian... yes
> checking size of short... 0
> checking size of int... 0
> checking size of long... 0
> checking size of float... 0
> checking size of double... 0
> checking size of off_t... 0
> checking size of size_t... 0
> checking for catman... catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking binary distribution directory... /home/ftp/pub/binary/dummy_system
> updating cache ./config.cache
> creating ./config.status
> creating macros.make
> udcreating fortran/nfconfig.inc
> fortran/nfconfig.inc is unchanged
> creating libsrc/ncconfig.h
> libsrc/ncconfig.h is unchanged
> WIHG#
> ********************************************
> and this is the config.log file:
> WIHG# cat config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1017: cc -c -O -DNDEBUG conftest.c 1>&5
> configure:1150: CC -c -DNDEBUG conftest.C 1>&5
> configure:1217: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:1943: cc -o conftest -O -DNDEBUG conftest.c -lc 1>&5
> Undefined first referenced
> symbol in file
> tanh(void) conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:1977: cc -o conftest -O -DNDEBUG conftest.c -lm 1>&5
> Undefined first referenced
> symbol in file
> tanh(void) conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:2072: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2106: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2156: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> Undefined first referenced
> symbol in file
> strerror(void) conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:2204: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> Undefined first referenced
> symbol in file
> ftruncate(void) conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:2238: cc -c -O -DNDEBUG conftest.c 1>&5
> "configure", line 2234: Warning: The variable s has not yet been assigned a
> vae.
> 1 Warning(s) detected.
> configure:2270: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> configure:2322: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> configure:2351: cc -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2416: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2411: Error: The function exit must have a prototype.
> "configure", line 2412: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2634: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2630: Error: The function exit must have a prototype.
> 1 Error(s) detected.
> configure:2672: cc -c -O -DNDEBUG conftest.c 1>&5
> "configure", line 2667: Error: bogus is not defined.
> "configure", line 2667: Error: endian is not defined.
> "configure", line 2669: Error: macros is not defined.
> "configure", line 2667: Error: Badly formed expression.
> 4 Error(s) detected.
> configure:2718: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2714: Error: The function exit must have a prototype.
> 1 Error(s) detected.
> configure:2756: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2750: Error: The function exit must have a prototype.
> "configure", line 2752: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2790: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2784: Error: The function exit must have a prototype.
> "configure", line 2786: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2824: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2818: Error: The function exit must have a prototype.
> "configure", line 2820: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2858: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2852: Error: The function exit must have a prototype.
> "configure", line 2854: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2892: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2886: Error: The function exit must have a prototype.
> "configure", line 2888: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2930: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2924: Error: The function exit must have a prototype.
> "configure", line 2926: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> configure:2968: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> "configure", line 2962: Error: The function exit must have a prototype.
> "configure", line 2964: Error: The function exit must have a prototype.
> 2 Error(s) detected.
> WIHG#
> ***********************************************************************
> However, if the config.cache file is not removed, config.log file looks like
> this:
> WIHG# cat config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1017: cc -c -O -DNDEBUG conftest.c 1>&5
> configure:1150: CC -c -DNDEBUG conftest.C 1>&5
> configure:2322: cc -o conftest -O -DNDEBUG conftest.c 1>&5
> WIHG#
> ********************
> and std. output of configure run is:
> WIHG# sh configure
> loading cache ./config.cache
> checking for m4... (cached) m4
> checking for xlc... (cached) cc
> checking C compiler... works
> checking how to make dependencies... cc -xM
> checking for CC... (cached) CC
> checking C++ compiler "CC"... works
> checking how to run the C preprocessor... (cached) cc -E
> checking for f77... no
> configure: warning: Could not find working FORTRAN compiler
> checking for FORTRAN .F compiler...
> checking for FORTRAN preprocessor... cc -E
> checking for math library
> checking for -lc... (cached) no
> checking for -lm... (cached) no
> checking for ar... (cached) ar
> checking for ranlib... (cached) ranlib
> checking for stdlib.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for strerror... (cached) no
> checking for ftruncate... (cached) no
> checking for st_blksize in struct stat... (cached) yes
> checking whether cross-compiling... (cached) no
> checking for IEEE floating point format... yes
> checking for ANSI C header files... (cached) no
> checking for size_t... (cached) yes
> checking for off_t... (cached) yes
> checking for ssize_t... (cached) yes
> checking for ptrdiff_t... (cached) no
> checking for uchar... (cached) no
> checking whether char is unsigned... (cached) no
> checking whether byte ordering is bigendian... (cached) yes
> checking size of short... (cached) 0
> checking size of int... (cached) 0
> checking size of long... (cached) 0
> checking size of float... (cached) 0
> checking size of double... (cached) 0
> checking size of off_t... (cached) 0
> checking size of size_t... (cached) 0
> checking for catman... (cached) catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking binary distribution directory... /home/ftp/pub/binary/dummy_system
> creating ./config.status
> creating macros.make
> udcreating fortran/nfconfig.inc
> fortran/nfconfig.inc is unchanged
> creating libsrc/ncconfig.h
> libsrc/ncconfig.h is unchanged
> WIHG#
> ****************************************************
> after that, following your suggestion- ---
> WIHG# cd libsrc
> WIHG# make attr.i
> cc -E -I. -DNDEBUG attr.c >attr.i
> WIHG#
> *************************************************
> and here is attr.i file:
The file wasn't in your message.
--------
Steve Emmerson <http://www.unidata.ucar.edu>