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

960823: installation problem: compilation on HP 9000/715 HP-UX A.09.07



Dear Manuel Lopez Mariscal,

> To: address@hidden
> From: Manuel Lopez <address@hidden>
> Subject: Help with netCDF installation
> Organization: CICESE/Depto. Oceanografia Fisica, Mexico
> Keywords: 199608230317.AA15422

In the above message you wrote:

> I would greatly appreciate it if you could help me with some problems I am
> having with the instalation of your netCDF package. After my signature I am
> including the output of the things you request. Each output is indicated and
> is separated from the following one by a line of ****... It appears that there
> is an error in the cc compilation. Thank you very much for your help.
> Sincerely,
>                   Manuel Lopez
> - --
> 
> 
> - -----------------------------------------------------------------------
> Manuel Lopez Mariscal                address@hidden
> CICESE/Depto. Oceanografia Fisica    Tel: +617-45050 Ext. 24046 (Mexico)
>                                      Fax: +617-44848
> - -----------------------------------------------------------------------
> 
> ********** output of uname **********************
> 
> HP-UX bermejo A.09.07 A 9000/715 2008643450 two-user license
> 
> 
> **********output of env command, being root**************
> 
> HOME=/
> PATH=/bin:/usr/bin:/usr/contrib/bin:/usr/local/bin:/utilerias/bin:/utilerias/matlab/bin:/usr/bin/X11://bin://scrum/bin:.
> LOGNAME=root
> TERM=hpterm
> SHELL=/bin/csh
> MAIL=/usr/mail/root
> COLUMNS=80
> LINES=40
> MANPATH=/usr/man:/usr/contrib/man:/usr/local/man
> TZ=PST8PDT
> 
> 
> *********** CUSTOMIZE file **************
> 
> # This file is for customizing the configuation process performed by
> # `./configure'.  This file consists of sh(1) variable-definition lines.
> # The value given to those variables by this file will override their default
> # values.
> #
> # You can also customize the configuration process via the environment
> # variables seen by ./configure.  For example:
> #
> #     In csh(1):
> #       % setenv CC acc
> #       & setenv CFLAGS -g
> #       % ./configure
> #
> #     In sh(1) or ksh(1):
> #       $ CC=acc CFLAGS=-g ./configure
> #
> # Variables in this file override the environmental ones.
> #
> #############################################################################
> #
> # C compiler (default is `cc'):
> # CC=gcc
> CC=cc
> #
> # C compiler flags (default is `-O'):
> # CFLAGS=-g
> #
> # C preprocessor flags (default is empty):
> # CPPFLAGS=-DDEBUG
> FC=f77
> #
> # C++ compiler (default is system-dependent).  Define as the empty 
> # string to avoid building the C++ interface.
> # CXX=CC
> CXX=
> #
> # Installation prefix (default is `..'):
> # prefix=/usr/local/unidata
> 
> 
> ************* config.log file ***************************
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:1156: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1197: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1684: cc -c -O +z  conftest.c 1>&5
> configure:1712: cc -o conftest -O   conftest.c  1>&5
> configure:1745: cc -o conftest -O   conftest.c  1>&5
> configure:1781: cc -o conftest -O   conftest.c  1>&5
> configure:1845: cc -o conftest -O   conftest.c  1>&5
> configure:1875: cc -o conftest -O   conftest.c  1>&5
> configure:1960: cc -o conftest -O   conftest.c  1>&5
> configure:2169: cc -o conftest -O   conftest.c  1>&5
> configure:2218: cc -c -O  conftest.c 1>&5
> cc: "configure", line 2213: error 1588: "x_getint" undefined.
> cc: "configure", line 2213: error 1531: Invalid member of struct or union.
> cc: "configure", line 2213: error 1549: Modifiable lvalue required for 
> assignment operator.
> configure:2259: cc -c -O  conftest.c 1>&5
> cc: "configure", line 2255: error 1705: Function prototypes are an ANSI 
> feature.
> configure:2292: cc -c -O  -DNO_HAVE_PROTOTYPES conftest.c 1>&5
> cc: "configure", line 2287: warning 5: "const" will become a keyword.
> cc: "configure", line 2287: error 1000: Unexpected symbol: "charset".
> cc: "configure", line 2287: error 1588: "const" undefined.
> configure:2332: cc -c -O  -DNO_HAVE_PROTOTYPES -Dconst= conftest.c 1>&5
> cc: "configure", line 2323: error 1705: Function prototypes are an ANSI 
> feature.
> configure:2378: cc -o conftest -O  -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG  
> conftest.c  1>&5
> configure:2450: cc -E  -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG conftest.c 
> >/dev/null 2>conftest.out
> configure:2484: cc -E  -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG conftest.c 
> >/dev/null 2>conftest.out
> configure:2510: cc -c -O  -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG 
> conftest.c 1>&5
> cc: "configure", line 2502: error 1584: Inconsistent type declaration: 
> "malloc".
> 
> 
> ********************* log file after executing make all ****************
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/port
> 
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/xdr
> 
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/libsrc
> 
>       ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o iarray.o error.o  
> globdef.o putget.o putgetg.o sharray.o string.o var.o  xdrposix.o
>       case "" in \
>       '') ;; \
>       *)  ar rucv libnetcdf.a ;; \
>       esac
>       ranlib libnetcdf.a
> ranlib: ar already did it for you, see ar(1).
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/fortran
> 
>       ar rcuv ../libsrc/libnetcdf.a jackets.o
>       ranlib ../libsrc/libnetcdf.a
> ranlib: ar already did it for you, see ar(1).
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/ncdump
> 
> cc -o ncdump -O ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/ncgen
> 
>       yacc -d ncgen.y
>       mv y.tab.c ncgentab.c
>       mv y.tab.h ncgentab.h
>       cc -c -O -I../libsrc  -DNO_HAVE_PROTOTYPES -Dconst= -DNO_STDARG 
> ncgentab.c
> cc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o close.o 
> genlib.o ../libsrc/libnetcdf.a
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/nctest
> 
> cc -o nctest -O varget.o vargetg.o varput.o varputg.o vardef.o vartests.o 
> vputget.o vputgetg.o driver.o cdftests.o dimtests.o rec.o atttests.o 
> misctest.o add.o error.o emalloc.o val.o slabs.o ../libsrc/libnetcdf.a
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src
> 
> 
> making `all' in directory /users/malope/paquetes/netcdf-2.4.3/src/doc
> 
> 
> returning to directory /users/malope/paquetes/netcdf-2.4.3/src

I'm sorry.  I don't see anything wrong with the above: the `make'
appears to have succeeded.  The next steps would be a `make test'
followed by a `make install' followed by a `make clean'.

Could you be confused by the output in the file `config.log'?  This file
contains error messages from the configure script as it tests various
fetures on your system.  Error messages are expected in this file.

Please don't hesitate to contact me if you believe I've missed
something.

--------
Steve Emmerson   <address@hidden>