[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #TIT-779025]: compile problem
- Subject: [UDUNITS #TIT-779025]: compile problem
- Date: Wed, 20 Sep 2006 11:09:40 -0600
Seok-Woo Son,
> I am trying to compile udunits package in the NCAR supercom.
> When I follow the usual compiling step, I got the following
> erros in making.
>
> "utparse.y", line 386.21: 1506-1300 (W) The subscript -1 is less
> than zero. The subscript of an array should be greater than or
> equal to zero.
> "utparse.y", line 387.21: 1506-1300 (W) The subscript -1 is less
> than zero. The subscript of an array should be greater than or
> equal to zero.
The subscript warnings may be safely ignored.
> Warning: -L../lib changed to
> -L/homebv/seokwoo/local/udunits-1.12.4/src/perl/../lib
> Please specify prototyping behavior for UDUNITS.xs (see perlxs
> manual)
> "/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.
The undefined warnings are more serious. It appears that the compilation
of the UDUNITS package was stopped because of the header-files of the
perl(1) installation.
First, do you need the perl(1) interface to the UDUNITS package? If not,
the you can avoid this problem by telling the configure(1) script not to
build the perl(1) interface. This is done by setting the environment
variable PERL to the empty string ("") before executing the script. For
example:
$ make distclean
...
$ PERL="" ./configure >configure.log 2>&1
$ make >make.log 2>&1
Otherwise, if you need the perl(1) interface to the UDUNITS package,
the please send me the command that was
used to compile the file UDUNITS.c. Also, please send me the output
from the command "perl -V". This should allow me to see if the
compilation environment that was used to compile the perl(1) package
is incompatible with the compilation environment of the UDUNITS
package.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: TIT-779025
Department: Support UDUNITS
Priority: Normal
Status: Closed