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.
Yukiko, > To: Unidata Support <address@hidden> > From: =?iso-2022-jp?B?GyRCSiFFRCEhTSc1KjtSGyhK?= <address@hidden> > Subject: RE: 20020723:20020722: problems with UDUNITS installation > Organization: CTI CO., LTD. > Keywords: 200207230132.g6N1WI921045 UDUNITS The above message contained the following: > Hello, > Thank you for your advice. > > I tried to do as you said. > -------------------------------------- > A.. output say > ' OSF1 vaga.cti.co.jp V5.1 1885 alpha ' > B. file VERSION > udunits-1.11.7 > C. configuer.log > > loading cache ./config.cache > checking type of operating system... osf1 > checking for catman... no > checking for makewhatis... no > checking for /usr/lib/makewhatis... no > checking for manual-page index command... > checking for cc... (cached) cc > checking for dependency generation mechanism... cc -M > checking how to run the C preprocessor... (cached) 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... (cached) ar > checking for tar flags... -chof > checking for ranlib... (cached) ranlib > checking binary distribution directory... /home/ftp/pub/binary/dummy_system > checking the installation prefix... /usr2/home/fukuda/udunits-1.11.7 > checking the installation exec-prefix... /usr2/home/fukuda/udunits-1.11.7 > checking for neqn... (cached) neqn > checking for tbl... (cached) 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... Standard > checking for stddef.h... (cached) 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... (cached) yes > checking for stdlib.h... (cached) yes > checking C header file <stdlib.h> for typedef size_t... declared > checking for atexit... (cached) yes > checking for stdlib.h... (cached) yes > checking C header file <stdlib.h> for function atexit()... declared > checking for getenv... (cached) yes > checking for stdlib.h... (cached) yes > checking C header file <stdlib.h> for function getenv()... declared > checking for string.h... (cached) yes > checking C header file <string.h> for typedef size_t... declared > checking for strerror... (cached) 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... (cached) yes > checking for string.h... (cached) yes > checking C header file <string.h> for function strstr()... declared > checking for memmove... (cached) yes > checking for string.h... (cached) yes > checking C header file <string.h> for function memmove()... declared > checking for time.h... (cached) 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... (cached) yes > checking for time.h... (cached) yes > checking C header file <time.h> for function difftime()... declared > checking for strftime... (cached) yes > checking for time.h... (cached) yes > checking C header file <time.h> for function strftime()... declared > checking for search.h... (cached) 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... (cached) yes > checking for search.h... (cached) yes > checking C header file <search.h> for function tsearch()... declared > checking for tfind... (cached) yes > checking for search.h... (cached) yes > checking C header file <search.h> for function tfind()... declared > checking for tdelete... (cached) yes > checking for search.h... (cached) yes > checking C header file <search.h> for function tdelete()... declared > checking for twalk... (cached) yes > checking for search.h... (cached) yes > checking C header file <search.h> for function twalk()... declared > checking for perl... (cached) perl > checking for type of perl executable to create... dynamic > checking for position-independent compilation flags... '' > 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 > port/misc/udposix.h is unchanged > creating port/misc/stdarg.h > port/misc/stdarg.h is unchanged > creating port/misc/stddef.h > port/misc/stddef.h is unchanged > creating port/misc/stdlib.h > port/misc/stdlib.h is unchanged > creating port/misc/string.h > port/misc/string.h is unchanged > creating port/misc/time.h > port/misc/time.h is unchanged > creating port/misc/limits.h > port/misc/limits.h is unchanged > creating port/misc/search.h > port/misc/search.h is unchanged ... > making `dynamic' in directory /usr2/home/fukuda/udunits-1.11.7/src/perl > > /usr/local/bin/perl5 -I/usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf > -I/usr/lib/perl-5.6.0/lib/5.6.0 > /usr/lib/perl-5.6.0/lib/5.6.0/ExtUtils/xsubpp -typemap > /usr/lib/perl-5.6.0/lib/5.6.0/ExtUtils/typemap -typemap typemap UDUNITS.xs > > UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c > *** Exit 2*** Exit 1 Do you need the Perl extension module (i.e. do you want to access the UDUNITS library from Perl scripts)? I need to know why the last command above failed. Please do the following: 1. Go into the perl/ subdirectory of the UDUNITS package. 2. Execute the following command: /usr/lib/perl-5.6.0/lib/5.6.0/ExtUtils/typemap -typemap typemap \ UDUNITS.xs > UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c Redirect BOTH standard output AND standard error to the file "typemap.log". 3. Send me the file "typemap.log". > I'm sorry I've taken up so much of your time. > I would like you to handle this matter at your own discretion. It is our privilege to help. Please continue. > --------------------- > Yukiko Fukuda > CTI CO., LTD. > e-mail : address@hidden ... Regards, Steve Emmerson <http://www.unidata.ucar.edu>