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

[UDUNITS #NRZ-860096]: udunit help


> I am trying to install udunits on AIX5L pseries machine. While running
> make command it is giving following error:
> L_VARS" => []);'
> Target "dynamic" is up to date.
> xlc -c  -I../lib -I../port/misc  -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
> -DVERSION=\"1.12.4\"  -DXS_VERSION=\"1.12.4\"
> "-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 the problem lies with your perl(1) installation rather than
with the UDUNITS package.  It could be that the perl(1) installation is
out-of-date with respect to your operating-system and system header-files.

Do you need the perl(1) interface to the UDUNITS library?  If not, then
you can build and install the UDUNITS package without it and eliminate
this problem.  To do this, set the environment variable PERL to the empty
string before executing the "configure" script.  For example:

    $ make distclean
    $ PERL='' ./configure >configure.log 2>&1

If you need the perl(1) interface to the UDUNITS package, then I suggest
that you update your perl(1) installation and try again.

Steve Emmerson

Ticket Details
Ticket ID: NRZ-860096
Department: Support UDUNITS
Priority: Normal
Status: Closed