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

Re: 20000207: udunits



Dan,

> To: address@hidden
> From: "Dan A. Dansereau" <address@hidden>
> Subject: udunits
> Organization: .
> Keywords: 200002072350.QAA05111

In the above message, you wrote:

>     I'm trying to compile udunits on a sparc ultra 64
> with version 7.5

What is "version 7.5"?

What's the output of the command "uname -a"?

> and 2 processors -BUT
> I get the following when I use the defaults - any clue??
> 
> creating cache ./config.cache
> checking type of operating system... sunos5
> checking for catman... catman
> checking for manual-page index command... catman -w -M $(MANDIR)
> checking for cc... cc
> checking for dependency generation mechanism... cc -xM
> checking how to run the C preprocessor... cc -E
> checking the C preprocessor... works
> checking for C const... no
> checking for C volatile... no
> checking for C signed... no
> checking for C function prototypes... yes
> checking for standard C variadic functions... yes
> checking for standard C string generation... no
> checking for standard C token pasting... no

Looks like you're using a non-conforming C compiler.  What's it's
absolute pathname?

> checking C void pointer... yes
> checking for ar... ar
> checking for tar flags... -chof
> checking for ranlib... ranlib
> checking binary distribution directory... ./configure: system: execute
> permission denied
> /home/ftp/pub/binary/dummy_system
> checking the installation prefix... /export/home/ldm/udunits-1.11.7
> checking the installation exec-prefix... /export/home/ldm/udunits-1.11.7
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... (cached) ar
> checking for yacc library...
> checking for yyerror() in default library(s)... no
> checking for yyerror() in -ly... yes
> checking for C math library...
> checking for (void)sin(0.0) in default library(s)... no
> checking for (void)sin(0.0) in -lm... yes
> checking style for cfortran.h... Reiser
> checking for stddef.h... yes
> checking C header file <stddef.h> for typedef size_t... declared
> checking for stddef.h... (cached) yes
> checking C header file <stddef.h> for typedef ptrdiff_t... declared
> checking for float.h... yes
> checking for stdlib.h... yes
> checking C header file <stdlib.h> for typedef size_t... declared
> checking for atexit... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function atexit()... declared
> checking for getenv... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function getenv()... declared
> checking for string.h... yes
> checking C header file <string.h> for typedef size_t... declared
> checking for strerror... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strerror()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strcpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strrchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strncpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strtok()... declared
> checking for strstr... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strstr()... declared
> checking for memmove... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function memmove()... declared
> checking for time.h... yes
> checking C header file <time.h> for typedef time_t... declared
> checking for time.h... (cached) yes
> checking C header file <time.h> for typedef size_t... declared
> checking for difftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function difftime()... declared
> checking for strftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function strftime()... declared
> checking for search.h... yes
> checking C header file <search.h> for typedef ENTRY... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef ACTION... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef VISIT... declared
> checking for tsearch... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tsearch()... declared
> checking for tfind... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tfind()... declared
> checking for tdelete... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tdelete()... declared
> checking for twalk... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function twalk()... declared
> checking for perl... perl
> checking for type of perl executable to create... dynamic
> checking for position-independent compilation flags... ''
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating lib/Makefile
> creating udunits/Makefile
> creating perl/Makefile.PL
> creating port/master.mk
> creating port/Makefile
> creating port/misc/Makefile
> creating port/cfortran/Makefile
> creating port/misc/udposix.h
> creating port/misc/stdarg.h
> creating port/misc/stddef.h
> creating port/misc/stdlib.h
> creating port/misc/string.h
> creating port/misc/time.h
> creating port/misc/limits.h
> creating port/misc/search.h
> expanding `include's in file `Makefile'
> expanding `include's in file `lib/Makefile'
> expanding `include's in file `udunits/Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> expanding `include's in file `port/misc/Makefile'
> expanding `include's in file `port/cfortran/Makefile'
> 
> making `all' in directory /export/home/ldm/udunits-1.11.7/src/port
> 
> 
> making `all' in directory /export/home/ldm/udunits-1.11.7/src/port/misc
> 
> cc -c -O -I.  -D_REENTRANT uddummy.c
> ar rcuv libudport.a uddummy.o
> ar: writing libudport.a
> a - uddummy.o
> case "" in \
> '') ;; \
> *)  ar rucv libudport.a ;; \
> esac
> ranlib libudport.a
> `all' is updated.
> 
> returning to directory /export/home/ldm/udunits-1.11.7/src/port
> 
> 
> making `all' in directory /export/home/ldm/udunits-1.11.7/src/port/cfortran
> 
> 
> returning to directory /export/home/ldm/udunits-1.11.7/src/port
> 
> `all' is updated.
> 
> returning to directory /export/home/ldm/udunits-1.11.7/src
> 
> 
> making `all' in directory /export/home/ldm/udunits-1.11.7/src/lib
> 
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> cc -c -O -I../port/misc -I../port/cfortran -DUT_DEFAULT_PATH='"/export/home/
> ldm/udunits-1.11.7/etc/udunits.dat"' utlib.c
> "../port/cfortran/cfortran.h", line 931: too many formals: AA
> "../port/cfortran/cfortran.h", line 931: too many formals: AB
...

The above errors are probably due to the use of a non-conforming C
compiler.

I suggest the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 5 near the end of the INSTALL file.

    3.  Ensure that the environment variable CC references the absolute
        pathname of a conforming C compiler (e.g. "/opt/SUNWspro/bin/cc").

    4.  Perform steps 6 through 9 near the end of the INSTALL file.

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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.