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

[UDUNITS #JFS-859278]: UDUNITS 1.10 or 1.12 issues



Ajay,

> Hi
> 
> I am trying to install CDFconvert open source and it required udunits and not 
> udunit2
> 
> When trying to install udunit 1.10 I am getting the below inputs and asking 
> me to enter the inputs . I have no clue what to do . Please guide me
> 
> ./configure: ERROR: The following variables need values:
> 
> VARIABLE     DESCRIPTION                EXAMPLE
> --------     -------                    -------
> LD_YACC      yacc library               -ly
> LD_MATH      C math library             -L/opt/SUNWspro/SC3.0/lib -lm
> 
> For each variable above, this script will now request that you input a
> value appropriate for your system.  Alternatively, you can interrupt
> this script, set the above variables in the environment or in the file
> CUSTOMIZE, and then re-execute this script.  (Variables referring to
> executable programs needn't be set if the relevant directory is added to
> PATH.  See file INSTALL for details.)
> 
> Enter a value for the yacc library (e.g. "-ly"):

The build procedure needs to be told where to find the yacc(1) and math 
libraries. Try this:

1. Execute the command "make distclean" to start from scratch. Don't worry if 
it fails.
2. Re-execute the configure script with the arguments "LD_YACC=-ly" and 
"LD_MATH=-lm", e.g., "./configure ... LD_YACC=-ly LD_MATH=-lm >configure.log 
2>&1"; where the "..." denotes any other options.
3. Re-execute the "make" command.

> When trying to install udunits 1.12 at the end of compile it give me error as 
> below . Please guide me
> 
> make[1]: Entering directory `/local/tools/downloads/udunits-1.12.11/src/perl'
> c89 -c  -I../lib -I../port/misc -fno-strict-aliasing -pipe -fstack-protector 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
> -DVERSION=\"1.12.11\" -DXS_VERSION=\"1.12.11\" -fPIC 
> "-I/local/tools/perl-5.18/lib/5.18.1/x86_64-linux/CORE"   UDUNITS.c
> In file included from 
> /local/tools/perl-5.18/lib/5.18.1/x86_64-linux/CORE/perl.h:3481,
> from UDUNITS.xs:4:
> /local/tools/perl-5.18/lib/5.18.1/x86_64-linux/CORE/cop.h:34: error: expected 
> specifier-qualifier-list before âsigjmp_bufâ
> In file included from 
> /local/tools/perl-5.18/lib/5.18.1/x86_64-linux/CORE/perl.h:5530,
> from UDUNITS.xs:4:
> /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must 
> be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
> make[1]: *** [UDUNITS.o] Error 1
> make[1]: Leaving directory `/local/tools/downloads/udunits-1.12.11/src/perl'
> make: *** [perl/dynamic] Error 1

This is bad. It indicates an incompatibility between your perl(1) installation 
and your c89(1) compiler and is outside the scope of the UDUNITS package. You 
might try re-installing the perl(1) package and/or the compiler.

> Thank you
> Ajay

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JFS-859278
Department: Support UDUNITS
Priority: Normal
Status: Closed