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

Re: 19981231: Udunits: building on Linux 5.1



Robert,

>Date: Mon, 04 Jan 1999 09:16:32 -0500
>From: Robert Boucher <address@hidden>
>Organization: Litton-TASC
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19981231: Udunits: building on Linux 5.1
>Keywords: 199812312105.OAA14114

In the above message, you wrote:

> I have attached the output from the configure script as well as from the make
> command.  Any other info needed just let me know.  Thanks
...
> Output form configure script:
> 
> creating cache ./config.cache
> checking type of operating system... linux
> checking for manual-page index command...
> checking for c89... no
> checking for cc... cc
> checking for dependency generation mechanism... cc -M
> checking how to run the C preprocessor... cc -E
> checking the C preprocessor... works
> checking for C const... yes
> checking for C volatile... yes
> checking for C signed... yes
> checking for C function prototypes... yes
> checking for standard C variadic functions... yes
> checking for standard C string generation... yes
> checking for standard C token pasting... yes
> checking C void pointer... yes
> checking for ar... ar
> checking for tar flags... -chof
> checking for ranlib... ranlib
> checking binary distribution directory... /home/ftp/pub/binary/dummy_system
> checking the installation prefix... /data1/udunits-1.11.7
> checking the installation exec-prefix... /data1/udunits-1.11.7
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... (cached) ar
> 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... Standard
> 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()... undeclared
> 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

The above look OK.

> Output from make command:
> 
> making `all' in directory /data1/udunits-1.11.7/src/port
> 
> make[1]: Entering directory `/data1/udunits-1.11.7/src/port'
> 
> making `all' in directory /data1/udunits-1.11.7/src/port/misc
> 
> make[2]: Entering directory `/data1/udunits-1.11.7/src/port/misc'
> cc -c -O -I.  -D_REENTRANT  uddummy.c
> ar rcuv libudport.a uddummy.o
> a - uddummy.o
> case "" in \
> '') ;; \
> *)  ar rucv libudport.a ;; \
> esac
> ranlib libudport.a
> make[2]: Leaving directory `/data1/udunits-1.11.7/src/port/misc'
> 
> returning to directory /data1/udunits-1.11.7/src/port
> 
> 
> making `all' in directory /data1/udunits-1.11.7/src/port/cfortran
> 
> make[2]: Entering directory `/data1/udunits-1.11.7/src/port/cfortran'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/data1/udunits-1.11.7/src/port/cfortran'
> 
> returning to directory /data1/udunits-1.11.7/src/port
> 
> make[1]: Leaving directory `/data1/udunits-1.11.7/src/port'
> 
> returning to directory /data1/udunits-1.11.7/src
> 
> 
> making `all' in directory /data1/udunits-1.11.7/src/lib
> 
> make[1]: Entering directory `/data1/udunits-1.11.7/src/lib'
> cc -c -O -I../port/misc -I../port/cfortran
> -DUT_DEFAULT_PATH='"/data1/udunits-1.11.7/etc/udunits.dat"'  utlib.c
> make[1]: Leaving directory `/data1/udunits-1.11.7/src/lib'

I see nothing wrong with the above, either, except that it stops after
compiling "utlib.c".  It should have gone on to compile other files in
that subdirectory and then created a library.

There are no error messages in the output of your "make", however.  This
makes it impossible to diagnose the problem.  Did you redirect *both*
standard output *and* standard error to the above file?  If not, then
would you please do the following:

    1.  Go to the top-level source directory (src/).

    2.  Execute the command "make".  Redirect standard output *and*
        standard error to the file "make.log" and send me the file.

If, however, you did redirect both standard output and standard error
to the aboe file, then we need to determine why the first compilation
failed.  Please try the following:

    1.  Go into the src/lib/ subdirectory.

    2.  Execute the following command:
    
            cc -c -O -I../port/misc -I../port/cfortran \
            -DUT_DEFAULT_PATH='"/data1/udunits-1.11.7/etc/udunits.dat"' \
            utlib.c
        
        Redirect standard output *and* standard error to the file
        "utlib.log" and send me the file.

--------
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.