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

[UDUNITS #QPT-494789]: Ask for help about installing the udunits-1.12.11



Shi Y.H,

Apparently, your computer has neither the yacc(1) nor bison(1) utlity 
installed. Install one of them and try again.

> Dear Sir/Madam?
> 
> I am a user of udunits, now I have a problem installing the udunits-1.12.11 
> package. I am looking forward to your help.
> My install information is as follow:
> 1.  The standard output of the command "uname -a".
> [syh@hydro3 ~]$ uname -a
> Linux hydro3 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 
> x86_64 x86_64 x86_64 GNU/Linux
> 2.  The standard and error output of the configure script.
> [syh@hydro3 src]$ CC=icc CFLAGS='-Df2cFortran -fPIC' ./configure 
> --prefix=/opt/udunits
> checking for manual-page index command...
> checking for C compiler... icc
> checking type of operating system... linux
> checking for dependency generation mechanism... icc -M
> checking for gcc... icc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether icc accepts -g... yes
> checking for icc option to accept ISO C89... none needed
> checking how to run the C preprocessor... icc -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... /opt/udunits
> checking the installation exec-prefix... /opt/udunits
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... (cached) ar
> checking for floor... yes
> checking style for cfortran.h... Standard
> checking for Fortran integer type equivalent to C pointer... integer*8
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> 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 float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking for stdlib.h... (cached) 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()... undeclared
> checking for getenv... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function getenv()... undeclared
> checking for string.h... (cached) 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()... undeclared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strchr()... undeclared
> 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()... undeclared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strncpy()... undeclared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strtok()... undeclared
> checking for strstr... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strstr()... undeclared
> checking for memmove... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function memmove()... undeclared
> checking time.h usability... yes
> checking time.h presence... yes
> 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()... undeclared
> checking for strftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function strftime()... undeclared
> checking search.h usability... yes
> checking search.h presence... yes
> 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()... undeclared
> checking for tfind... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tfind()... undeclared
> checking for tdelete... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tdelete()... undeclared
> checking for twalk... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function twalk()... undeclared
> checking for perl... perl
> checking for type of perl executable to create... dynamic
> checking for position-independent compilation flags... ''
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/udunits.inc
> config.status: creating udunits/Makefile
> config.status: creating perl/Makefile.PL
> config.status: creating port/master.mk
> config.status: creating port/Makefile
> config.status: creating port/misc/Makefile
> config.status: creating port/cfortran/Makefile
> config.status: creating port/misc/udposix.h
> config.status: executing default commands
> expanding `include's in file `Makefile'
> expanding `include's in file `lib/Makefile'
> expanding `include's in file `lib/udunits.inc'
> 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'
> 3.  The file "config.log".
> "config.log"is enclosed.
> 
> 4.  The standard and error output of the "make" command.
> [syh@hydro3 src]$ make
> 
> making `all' in directory /home/syh/pack/udunits-1.12.11/src/port
> 
> make[1]: Entering directory `/home/syh/pack/udunits-1.12.11/src/port'
> 
> making `all' in directory /home/syh/pack/udunits-1.12.11/src/port/misc
> 
> make[2]: Entering directory `/home/syh/pack/udunits-1.12.11/src/port/misc'
> icc -c -Df2cFortran -fPIC -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 `/home/syh/pack/udunits-1.12.11/src/port/misc'
> 
> returning to directory /home/syh/pack/udunits-1.12.11/src/port
> 
> 
> making `all' in directory /home/syh/pack/udunits-1.12.11/src/port/cfortran
> 
> make[2]: Entering directory `/home/syh/pack/udunits-1.12.11/src/port/cfortran'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/syh/pack/udunits-1.12.11/src/port/cfortran'
> 
> returning to directory /home/syh/pack/udunits-1.12.11/src/port
> 
> make[1]: Leaving directory `/home/syh/pack/udunits-1.12.11/src/port'
> 
> returning to directory /home/syh/pack/udunits-1.12.11/src
> 
> 
> making `all' in directory /home/syh/pack/udunits-1.12.11/src/lib
> 
> make[1]: Entering directory `/home/syh/pack/udunits-1.12.11/src/lib'
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> icc -c -Df2cFortran -fPIC -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/opt/udunits/etc/udunits.dat"'  utlib.c
> utlib.c(435): warning #180: argument is incompatible with formal parameter
> decomp(value, uncer, sizeof(basis.vec)/sizeof(basis.vec[0]),
> ^
> 
> utlib.c(1378): warning #180: argument is incompatible with formal parameter
> FCALLSCFUN2(INT,utPrint_help,UTENC,utenc,
> ^
> 
> yacc -b utparse -d -p ut utparse.y
> make[1]: yacc: Command not found
> make[1]: *** [utparse.c] Error 127
> make[1]: Leaving directory `/home/syh/pack/udunits-1.12.11/src/lib'
> make: *** [lib/all] Error 1
> 
> I'm looking forward to your help.
> Thank you very much for your attention.
> 
> Sincerely yours,
> Shi Y.H.
> 
> address@hidden

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: QPT-494789
Department: Support UDUNITS
Priority: Normal
Status: Closed