[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970715: netcdf config problems with HP-UX 10.2
- Subject: 970715: netcdf config problems with HP-UX 10.2
- Date: Tue, 15 Jul 97 08:54:21 -0600
Mary,
>Date: 14 Jul 1997 17:01:22 -0400
>From: Mary Cairns <address@hidden>
>Organization: NOAA/NWS
>Subject: Re[2]: netcdf config problems with HP-UX 10.2
>Keywords: 199707031902.NAA19781
In the above message, you wrote:
> I have once again taken your suggestions, and I think it worked! I
> have included the output from running the ./configure command, as well
> as the make. Can you please check to see if everything is indeed OK?
>
> Thank you in advance.
>
> **************************************************************
>
> 1. Go to the top-level netcdf-3 source directory.
> 2. Execute the command "make clean".
> 3. Remove the file "config.cache" if it exists.
> 4. Set the following environment variables to the indicated values:
> CPPFLAGS='-DNDEBUG -D_HPUX_SOURCE'
> CC=c89
> CFLAGS=-O
> FC=fort77
> FFLAGS='-O3 -w'
> *****output from: ./configure --prefix=/usr/local ****************
>
> creating cache ./config.cache
> checking for m4... m4
> checking user-defined C compiler "c89"
> checking C compiler... works
> checking how to make dependencies... false
> configure: warning: Empty CXX variable
> configure: warning: The C++ interface will not be built
> checking how to run the C preprocessor... c89 -E
> checking user-defined FORTRAN compiler "fort77"... works
> checking for FORTRAN .F compiler...
> checking if FORTRAN compiler handles *.F files... yes
> 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 "integer*2" is C "short"... yes
> checking if FORTRAN "integer*2" is C "int"... 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 -lc... no
> checking for -lm... yes
> checking for ar... ar
> checking for ranlib... touch
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... yes
> checking for ftruncate... yes
> 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... yes
> checking for size_t... yes
> checking for off_t... yes
> checking for ssize_t... yes
> checking for ptrdiff_t... yes
> checking for uchar... no
> checking whether char is unsigned... no
> checking whether byte ordering is bigendian... yes
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking size of float... 4
> checking size of double... 8
> checking size of off_t... 4
> checking size of size_t... 4
> checking for manual-page index command...
> 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
The above looks OK.
>
> ****** output from the "make" **************************************
>
> Making `all' in directory /users/gempak/temp/netcdf-3.3.1/src/libsrc
>
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE attr.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE dim.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE error.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE -DVERSION=`cat ../VERSION`
> libvers.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE nc.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE ncio.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE ncx.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE putget.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE string.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE v1hpg.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE v2i.c
> c89 -c -O -I. -DNDEBUG -D_HPUX_SOURCE 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
> touch libnetcdf.a
>
> Returning to directory /users/gempak/temp/netcdf-3.3.1/src
>
>
> Making `all' in directory /users/gempak/temp/netcdf-3.3.1/src/fortran
>
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-attio.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-control.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-dim.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-genatt.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-geninq.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-genvar.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-lib.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-misc.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-v2compat.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-vario.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-var1io.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-varaio.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-varmio.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE fort-varsio.c
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o
> fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o
>
> fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o
> fort-varaio.o fort-varmio.o fort-varsio.o
> touch ../libsrc/libnetcdf.a
>
> Returning to directory /users/gempak/temp/netcdf-3.3.1/src
>
>
> Making `all' in directory /users/gempak/temp/netcdf-3.3.1/src/ncdump
>
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE ncdump.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE vardata.c
> c89 -c -O -I../libsrc -DNDEBUG -D_HPUX_SOURCE dumplib.c
> c89 -o ncdump -O -L /usr/lib/X11R5 -L /usr/lib/Motif1.2 ncdump.o
> vardata.o dumplib.o -L../libsrc -lnetcdf
>
> Returning to directory /users/gempak/temp/netcdf-3.3.1/src
>
>
> Making `all' in directory /users/gempak/temp/netcdf-3.3.1/src/ncgen
>
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE main.c
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE load.c
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE ncgentab.c
> cpp: "values.h", line 27: warning 2001: Redefinition of macro MAXINT.
> cc: "/usr/ccs/bin/yaccpar", line 5: warning 21: Undefined pragma "IDENT"
> ignored.
The above warning are ignorable.
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE escapes.c
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE getfill.c
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE init.c
> c89 -c -O -I../libsrc -I. -DNDEBUG -D_HPUX_SOURCE genlib.c
> c89 -o ncgen -O -L /usr/lib/X11R5 -L /usr/lib/Motif1.2 main.o load.o
> ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.a
>
> Returning to directory /users/gempak/temp/netcdf-3.3.1/src
>
> Not making `cxx/all' because no C++ compiler
> ****************************************************************
The above looks OK.
--------
Steve Emmerson <http://www.unidata.ucar.edu>