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

20030418: problem building "netCDF"



Zhaofang Wen,

> To: address@hidden
> cc: address@hidden,
> cc: address@hidden
> From: "Zhaofang Wen" <address@hidden>
> Subject: problem building "netCDF"
> Organization: UCAR/Unidata
> Keywords: 200304180030.h3I0UV7U016335

The above message contained the following:

> I ran into problem building "netCDF".   Could you please help?
> 
> Thank you very much.
> 
> --
> Zhaofang Wen
> Sandia National Labs
> Tel: (505)284-0206
> 
> ------------------------------Items (A) - (F) are listed 
> below----------------------------------------------------------------
> 
>     *  > uname -a
>       TFLOPS O/S janus 1.0.4 4.3.5 i386
>        >
>       (NOTE: The compilation environment is Solaris-like Unix)
>     *  > cat VERSION
>       3.5.0
>        >
>     *  > echo $CC
>       pgcc
>        > echo $CXX
>       pgCC
>        > echo $FC
>       pgf90
>        > which pgcc
>       /bin/pgcc
>        > which pgCC
>       /bin/pgCC
>        > which pgf90
>       /bin/pgf90
>     * ---------------------------------- configure.log
>       ------------------------------------------------------------------------
>                               creating cache ./config.cache
>       checking for top-level source-directory
>       /Net/usr/home/zwen/download/netcdf-3.5.0/src
>       checking for m4 preprocessor
>       checking for m4... m4
>       checking m4 flags... -B10000
>       checking C compiler "pgcc"... works
>       checking how to make dependencies... false
>       checking for pgCC... pgCC
>       checking C++ compiler "pgCC"... works
>       checking how to run the C preprocessor... pgcc -E
>       checking user-defined Fortran-77 compiler "pgf90"... works
>       checking for Fortran .F compiler...
>       checking if Fortran-77 compiler handles *.F files... Linking:
>       yes
>       checking "pgf90" as Fortran-90 compiler... Linking:
>       works
>       checking for nm utility
>       checking for nm... 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"... Linking:
>       yes
>       checking if Fortran "byte" is C "short"... Linking:
>       no
>       checking if Fortran "byte" is C "int"... Linking:
>       no
>       checking if Fortran "byte" is C "long"... Linking:
>       no
>       checking if Fortran "integer*2" is C "short"... Linking:
>       yes
>       checking if Fortran "integer*2" is C "int"... Linking:
>       no
>       checking if Fortran "integer*2" is C "long"... Linking:
>       no
>       checking if Fortran "integer" is C "int"... Linking:
>       yes
>       checking if Fortran "real" is C "float"... Linking:
>       yes
>       checking if Fortran "doubleprecision" is C "double"... Linking:
>       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... yes
>       checking for ar utility
>       checking for ar... ar
>       checking ar flags... cru
>       checking for nm utility
>       checking for nm... (cached) nm
>       checking nm flags...
>       checking for ranlib... ranlib
>       checking for stdlib.h... yes
>       checking for sys/types.h... yes
>       checking for strerror... yes
>       checking for working ftruncate()... yes
>       checking for working alloca.h... yes
>       checking for alloca... yes
>       checking for st_blksize in struct stat... yes
>       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... yes
>       checking whether char is unsigned... no
>       checking whether byte ordering is bigendian... no
>       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 catman... no
>       checking for makewhatis... no
>       checking for /usr/lib/makewhatis... no
>       checking for manual-page index command...
>       checking binary distribution directory...
>       /home/ftp/pub/binary/system: not found
>       dummy_system
>       updating cache ./config.cache
>       creating ./config.status
>       creating macros.make
>       sed: command garbled: s%@FTPBINDIR@%/home/ftp/pub/binary/system:
>       not found
>       udcreating fortran/nfconfig.inc
>       creating libsrc/ncconfig.h
...

>     * -----------------------------------make.log
>       
> ------------------------------------------------------------------------------
>                                                       
> 
> Multiple rules lines for `/netcdf-.tar.Z'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/netcdf-.tar.Z'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> 
> Making `all' in directory /Net/usr/home/zwen/download/netcdf-3.5.0/src/libsrc
> 
> Multiple rules lines for `/'
> Multiple rules lines for `/'
> Multiple rules lines for `/'
>  attr.c
> ./attr.c: /:: cannot execute
> ./attr.c: /:: cannot execute
> include: not found
> INCLUDES: not found
> LIBRARY: not found
> ld_netcdf: not found
> HEADER: not found
> MANUAL: not found
> LIB_CSRCS: not found
> Makefile: syntax error at line 32: `(' unexpected
> include: not found
> INCLUDES: not found
> LIBRARY: not found
> ld_netcdf: not found
> HEADER: not found
> MANUAL: not found
> LIB_CSRCS: not found
> Makefile: syntax error at line 32: `(' unexpected
> ./attr.c: */: not found
> ./attr.c: /:: cannot execute
> ./attr.c: /:: cannot execute
> include: not found
> INCLUDES: not found
> LIBRARY: not found
> ld_netcdf: not found
> HEADER: not found
> MANUAL: not found
> LIB_CSRCS: not found
> Makefile: syntax error at line 32: `(' unexpected
> include: not found
> INCLUDES: not found
> LIBRARY: not found
> ld_netcdf: not found
> HEADER: not found
> MANUAL: not found
> LIB_CSRCS: not found
> Makefile: syntax error at line 32: `(' unexpected
> void: not found
> ./attr.c: syntax error at line 23: `free_NC_attr' unexpected
> *** Exit 2
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.

It looks like a problem with your make(1) utility or your makefiles.

What make(1) utility did you use?  What is its absolute pathname and
what version is it?

Please send me the file "libsrc/Makefile".

Regards,
Steve Emmerson