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

Re: Re[2]: 980708: HPUX 10.2 install problem



Carl,

>Date: 09 Jul 1998 16:48:47 -0400
>From: Carl Dierking <address@hidden>
>Organization: WFO Juneau AK
>To: address@hidden
>Subject: Re[2]: 980708: HPUX 10.2 install problem
>Keywords: 199807082123.PAA28899

In the above message, you wrote:

> 
>      Steve,
>      
>      Here's the info you requested. Thanks for looking into it.
>      
>      Carl
>      WSFO Juneau AK
>      
>      =========================================================
>      
>      A.  HP-UX dilbert B.10.20 A 9000/715 2015382967 two-user license
>      
>      C.  /bin/c89 which is linked to: /opt/ansic/bin/c89
>          (same as /bin/cc)
>          
>          /bin/CC which is linked to /opt/CC/bin/CC
>      
>          /opt/fortran90/bin/f90
>      
>      D. --------------- configure.log --------------------------
>      
>      creating cache ./config.cache
>      checking for m4... m4
>      checking for xlc... no
>      checking for c89... c89
>      checking C compiler... works
>      checking how to make dependencies... false
>      checking for CC... CC
>      checking C++ compiler "CC"... works
>      checking how to run the C preprocessor... c89 -E
>      checking for fort77... no
>      checking for Fortran .F compiler... 
>      checking for Fortran preprocessor... c89 -E
>      checking for math library
>      checking for -lc... no
>      checking for -lm... yes
>      checking for ar... ar
>      checking for ranlib... ranlib
>      checking for stdlib.h... yes
>      checking for sys/types.h... yes
>      checking for strerror... yes
>      checking whether cross-compiling... no
>      checking for working ftruncate()... no
>      checking for working alloca.h... yes
>      checking for alloca... yes
>      checking for st_blksize in struct stat... no
>      checking for IEEE floating point format... yes
>      checking for ANSI C header files... yes
>      checking for size_t... yes
>      checking for off_t... no
>      checking for ssize_t... no
>      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
>      creating libsrc/ncconfig.h
>      
>      E. -------------- config.log ---------------------
>      
>      This file contains any messages produced by compilers while
>      running configure, to aid debugging if configure makes a mistake.
>      
>      configure:1020: c89 -c -O -DNDEBUG conftest.c 1>&5
>      configure:1153: CC -c  -DNDEBUG conftest.C 1>&5
>      configure:1220: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>      configure:2084: c89 -o conftest -O -DNDEBUG  conftest.c -lc   1>&5
>      /usr/ccs/bin/ld: Unsatisfied symbols:
>         tanh (code)
>      configure:2118: c89 -o conftest -O -DNDEBUG  conftest.c -lm   1>&5
>      configure:2213: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>      configure:2247: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>      configure:2297: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:2331: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:2398: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      cc: "configure", line 2369: error 1000: Unexpected symbol: "pos".
>      cc: "configure", line 2363: error 1588: "O_RDWR" undefined.
>      cc: "configure", line 2363: error 1588: "O_CREAT" undefined.
>      cc: "configure", line 2363: error 1588: "O_TRUNC" undefined.
>      cc: "configure", line 2369: error 1588: "off_t" undefined.
>      cc: "configure", line 2371: error 1588: "pos" undefined.
>      cc: "configure", line 2371: error 1563: Expression in if must be scalar.
>      cc: "configure", line 2375: error 1563: Expression in if must be scalar.
>      configure:2428: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:2476: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:2644: c89 -c -O -DNDEBUG conftest.c 1>&5
>      cc: "configure", line 2640: error 1574: Unknown size for "s".
>      cc: "configure", line 2640: error 1530: Undefined struct or union.
>      configure:2702: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:2731: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
>      configure:2796: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3014: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3052: c89 -c -O -DNDEBUG conftest.c 1>&5
>      cc: "configure", line 3047: error 1000: Unexpected symbol: "endian".
>      cc: "configure", line 3047: error 1588: "bogus" undefined.
>      configure:3098: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3136: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3170: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3204: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3238: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3272: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3310: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      configure:3348: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
>      
>      F. ------------------ make.log ---------------------------------
>      
>      Making `all' in directory /usr/local/netcdf-3.4/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
>      cc: "nc.c", line 857: error 1588: "EEXIST" undefined.
>      cc: "nc.c", line 857: error 1563: Expression in if must be scalar.
>      *** Error exit code 1
>      
>      Stop.
>      *** Error exit code 1
>      
>      Stop.
>      *** Error exit code 1
>      
>      Stop.
>      # 

The problem with the above is that the C compiler was not given the
option "-D_HPUX_SOURCE" (as indicated in the INSTALL file).  Try the
following:

    1.  Go to the top-level source directory.

    2.  Execute the command "make distclean".  Don't worry if it fails
        or even fails to execute.

    3.  Remove the file "config.cache" if it exists.

    4.  Set your environment variables as before according to the
        instructions in the INSTALL file.

    5.  Ensure that the environment variable CFLAGS contains the string
        "-D_HPUX_SOURCE".

    6.  Continue with the installation process starting with step 6 of
        the "REPORTING PROBLEMS" section in the INSTALL file.

Please let me know if this helps.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>