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.
Vijay, > Please help me out with this . > Below is the error log while installing UDUNITS version (1.12.9) on AIX 5.3. > > also i have attached the make log file while doing the installation. > > error log > > cd perl && perl Makefile.PL > Checking if your kit is complete... > Looks good > Warning: -L../lib changed to -L/erfs/anupam/udunits-1.12.9/src/perl/../lib > Writing Makefile for UDUNITS > > making `dynamic' in directory /erfs/anupam/udunits-1.12.9/src/perl > > /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => > "UDUNITS", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' > Target "dynamic" is up to date. > /usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp -typemap > /usr/opt/perl5/lib/5.8.2/ExtUtils/typemap -typemap typemap UDUNITS.xs > > UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c > Please specify prototyping behavior for UDUNITS.xs (see perlxs manual) > c89 -c -I../lib -I../port/misc -D_ALL_SOURCE -D_ANSI_C_SOURCE > -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN > -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O > -DVERSION=\"1.12.9\" -DXS_VERSION=\"1.12.9\" > "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -D_ALL_SOURCE -Dextname > UDUNITS.c > "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16: > 1506-007 (S) "struct drand48_data" is undefined. > "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16: > 1506-007 (S) "struct random_data" is undefined. > "/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16: > 1506-007 (S) "struct random_data" is undefined. > make: 1254-004 The error code from the last command is 1. It looks like your perl installation has a bug (perl's header-files are responsible for including any necessary definitions). You could try upgrading your perl installation. Otherwise, you'll have to try to determine what header-file defines "struct drand48_data" and add a "#include" of that file to UDUNITS.xs. Alternatively, if you don't need the perl(1) interface, then execute the command "make distclean", set the environment variable PERL to the empty string and try building the package. > Stop. > make: 1254-004 The error code from the last command is 1. > > > Stop. > > > thanks in advance > > best regards > > -- > tony > "Winning is not everything. It's the only thing." > > P Please consider your environmental responsibility. > Before printing this e-mail ask yourself : "Do I need a hard copy?" Regards, Steve Emmerson Ticket Details =================== Ticket ID: AOX-364328 Department: Support UDUNITS Priority: Normal Status: Closed