This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Sebastien, > Once again, I've tried to install UDUNITS version 1.12.4 on my Linux box > (running CentOS 4.3), but the install failed. I am not sure that I'll learn > how > to do an clean install... > :) > > Attached are the logs file generated during the install. I didn't see anything wrong with the log files: it looked like the build and install went OK. Why do you say it failed? > Thanks for your help, > Sebastien > > -- > Sebastien Biraud > Lawrence Berkeley National Laboratory > One Cyclotron Road MS 90R-1116 > Berkeley, CA 94720 > USA > > tel:(510) 486 6084 > fax:(510) 486 5686 > e-mail: address@hidden > > > > making `test' in directory /home/tmp/udunits-1.12.4/src/udunits > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > make[2]: `udunits' is up to date. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > ./udunits ../lib/udunits.dat <test.in | sed 's/\.00* UTC/.00 UTC/' \ > >test.out > Success! > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `dynamic' in directory /home/tmp/udunits-1.12.4/src/perl > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/perl' > rm -f blib/arch/auto/UDUNITS/UDUNITS.so > gcc -shared UDUNITS.o -o blib/arch/auto/UDUNITS/UDUNITS.so > -L/home/tmp/udunits-1.12.4/src/perl/../lib -ludunits -lm > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/perl' > > checking for manual-page index command... > checking for C compiler... /opt/intel/cc/9.1.042/bin/icc > checking type of operating system... linux > checking for dependency generation mechanism... /opt/intel/cc/9.1.042/bin/icc > -M > checking for gcc... /opt/intel/cc/9.1.042/bin/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 /opt/intel/cc/9.1.042/bin/icc accepts -g... yes > checking for /opt/intel/cc/9.1.042/bin/icc option to accept ANSI C... none > needed > checking how to run the C preprocessor... /opt/intel/cc/9.1.042/bin/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... /home/tmp/udunits-1.12.4 > checking the installation exec-prefix... /home/tmp/udunits-1.12.4 > checking for neqn... neqn > checking for tbl... tbl > checking for ar... (cached) ar > checking for C math library... > checking for return sin(0.0) != 0 in default library(s)... yes > checking style for cfortran.h... Standard > checking for Fortran integer type equivalent to C pointer... integer*4 > checking for egrep... 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 > > > making `install' in directory /home/tmp/udunits-1.12.4/src/port > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/port' > > making `install' in directory /home/tmp/udunits-1.12.4/src/port/misc > > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/port/misc' > make -w /home/tmp/udunits-1.12.4/lib LIBDIR=/home/tmp/udunits-1.12.4/lib > make[3]: Entering directory `/home/tmp/udunits-1.12.4/src/port/misc' > make[3]: `/home/tmp/udunits-1.12.4/lib' is up to date. > make[3]: Leaving directory `/home/tmp/udunits-1.12.4/src/port/misc' > ar rcuv /home/tmp/udunits-1.12.4/lib/libudport.a uddummy.o > r - uddummy.o > ranlib /home/tmp/udunits-1.12.4/lib/libudport.a > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/port/misc' > > returning to directory /home/tmp/udunits-1.12.4/src/port > > > making `install' in directory /home/tmp/udunits-1.12.4/src/port/cfortran > > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/port/cfortran' > make[2]: Nothing to be done for `install'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/port/cfortran' > > returning to directory /home/tmp/udunits-1.12.4/src/port > > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/port' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `install' in directory /home/tmp/udunits-1.12.4/src/lib > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o > case "" in \ > '') ;; \ > *) ar rucv libudunits.a ;; \ > esac > ranlib libudunits.a > cp libudunits.a /home/tmp/udunits-1.12.4/lib/libudunits.a > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Nothing to be done for `installed_header'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > cp udunits.inc /home/tmp/udunits-1.12.4/include/udunits.inc > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Nothing to be done for `installed_etcfile'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Nothing to be done for `installed_manual'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > make[2]: Nothing to be done for `installed_manual'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `install' in directory /home/tmp/udunits-1.12.4/src/udunits > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > /opt/intel/cc/9.1.042/bin/icc -o udunits -g -O2 udunits.o > -L/home/tmp/udunits-1.12.4/src/lib -ludunits > -L/home/tmp/udunits-1.12.4/src/port/misc -ludport > cp udunits /home/tmp/udunits-1.12.4/bin/udunits > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > mkdir -p /home/tmp/udunits-1.12.4/man/man1 > chmod u+rwx,g+rws,o=rx /home/tmp/udunits-1.12.4/man/man1 > case `uname -s` in \ > OSF1*|IRIX*|HP-UX) \ > sed \ > -e '/^\.TH/s/$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$/\1-\2-\3/'\ > udunits.1 > /home/tmp/udunits-1.12.4/man/man1/udunits.1;; \ > *) \ > sed \ > -e '/^\.TH/s/$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$/\1-\2-\3/'\ > udunits.1 | tbl | neqn > /home/tmp/udunits-1.12.4/man/man1/udunits.1;; \ > esac > extension=`echo udunits.1 | sed 's/[^.]*\.//'`; \ > subchapter=`echo $extension | sed 's/.//'`; \ > case "$subchapter" in \ > '') ;; \ > *) chapter=`echo $extension | sed 's/\(.\).*/\1/'`; \ > if test -d /home/tmp/udunits-1.12.4/man/man1$subchapter; then \ > : true; \ > else \ > mkdir /home/tmp/udunits-1.12.4/man/man1$subchapter; \ > fi; \ > rm -f /home/tmp/udunits-1.12.4/man/man1$subchapter/udunits.1; \ > ln -s ../`basename /home/tmp/udunits-1.12.4/man/man1`/udunits.1 \ > /home/tmp/udunits-1.12.4/man/man1$subchapter/udunits.1; \ > ;; \ > esac > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `install' in directory /home/tmp/udunits-1.12.4/src/perl > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/perl' > cp UDUNITS.pm blib/lib/UDUNITS.pm > AutoSplitting blib/lib/UDUNITS.pm (blib/lib/auto/UDUNITS) > rm -f blib/arch/auto/UDUNITS/UDUNITS.so > gcc -shared UDUNITS.o -o blib/arch/auto/UDUNITS/UDUNITS.so > -L/home/tmp/udunits-1.12.4/src/perl/../lib -ludunits -lm > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/perl' > > > making `all' in directory /home/tmp/udunits-1.12.4/src/port > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/port' > > making `all' in directory /home/tmp/udunits-1.12.4/src/port/misc > > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/port/misc' > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I. -D_REENTRANT -DpgiFortran > 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/tmp/udunits-1.12.4/src/port/misc' > > returning to directory /home/tmp/udunits-1.12.4/src/port > > > making `all' in directory /home/tmp/udunits-1.12.4/src/port/cfortran > > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/port/cfortran' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/port/cfortran' > > returning to directory /home/tmp/udunits-1.12.4/src/port > > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/port' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `all' in directory /home/tmp/udunits-1.12.4/src/lib > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/lib' > ln -s ../port/misc/udalloc.c . > ln -s ../port/misc/udalloc.h . > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I../port/misc -I../port/cfortran > -DUT_DEFAULT_PATH='"/home/tmp/udunits-1.12.4/etc/udunits.dat"' -DpgiFortran > utlib.c > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I../port/misc -I../port/cfortran > -DUT_DEFAULT_PATH='"/home/tmp/udunits-1.12.4/etc/udunits.dat"' -DpgiFortran > utparse.c > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I../port/misc -I../port/cfortran > -DUT_DEFAULT_PATH='"/home/tmp/udunits-1.12.4/etc/udunits.dat"' -DpgiFortran > utscan.c > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I../port/misc -I../port/cfortran > -DUT_DEFAULT_PATH='"/home/tmp/udunits-1.12.4/etc/udunits.dat"' -DpgiFortran > udalloc.c > ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o > a - utlib.o > a - utparse.o > a - utscan.o > a - udalloc.o > case "" in \ > '') ;; \ > *) ar rucv libudunits.a ;; \ > esac > ranlib libudunits.a > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/lib' > > returning to directory /home/tmp/udunits-1.12.4/src > > > making `all' in directory /home/tmp/udunits-1.12.4/src/udunits > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > make[2]: Entering directory `/home/tmp/udunits-1.12.4/src/udunits' > /opt/intel/cc/9.1.042/bin/icc -c -g -O2 -I../lib -I../port/misc -DpgiFortran > udunits.c > /opt/intel/cc/9.1.042/bin/icc -o udunits -g -O2 udunits.o > -L/home/tmp/udunits-1.12.4/src/lib -ludunits > -L/home/tmp/udunits-1.12.4/src/port/misc -ludport > make[2]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/udunits' > > returning to directory /home/tmp/udunits-1.12.4/src > > cd perl && perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for UDUNITS > > making `dynamic' in directory /home/tmp/udunits-1.12.4/src/perl > > make[1]: Entering directory `/home/tmp/udunits-1.12.4/src/perl' > /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap UDUNITS.xs > > UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c > /opt/intel/cc/9.1.042/bin/icc -c -I../lib -I../port/misc -D_REENTRANT > -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe > -m64 -DVERSION=\"1.12.4\" -DXS_VERSION=\"1.12.4\" -fPIC > "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" -DpgiFortran > UDUNITS.c > Running Mkbootstrap for UDUNITS () > chmod 644 UDUNITS.bs > rm -f blib/arch/auto/UDUNITS/UDUNITS.so > gcc -shared UDUNITS.o -o blib/arch/auto/UDUNITS/UDUNITS.so > -L/home/tmp/udunits-1.12.4/src/perl/../lib -ludunits -lm > make[1]: Leaving directory `/home/tmp/udunits-1.12.4/src/perl' Regards, Steve Emmerson Ticket Details =================== Ticket ID: UEO-800135 Department: Support UDUNITS Priority: Normal Status: Closed