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

[UDUNITS #ZYY-472715]: problem building udunits on opensuse 10.3

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.


  • Subject: [UDUNITS #ZYY-472715]: problem building udunits on opensuse 10.3
  • Date: Mon, 07 Apr 2008 15:06:08 -0600

Sean,

> Looks better.  Thanks for the patience and persistence.  I get
> further.  Here is what I am seeing now:
> 
> making `all' in directory /tmp/udunits-1.12.7/src/udunits
> 
> make[1]: Entering directory `/tmp/udunits-1.12.7/src/udunits'
> make[2]: Entering directory `/tmp/udunits-1.12.7/src/udunits'
> c89 -o udunits -O -DpgiFortran udunits.o -L/tmp/udunits-1.12.7/src/lib
> -ludunits -L/tmp/udunits-1.12.7/src/port/misc -ludport -lm
> make[2]: Leaving directory `/tmp/udunits-1.12.7/src/udunits'
> make[1]: Leaving directory `/tmp/udunits-1.12.7/src/udunits'
> 
> returning to directory /tmp/udunits-1.12.7/src
> 
> 
> making `dynamic' in directory /tmp/udunits-1.12.7/src/perl
> 
> make[1]: Entering directory `/tmp/udunits-1.12.7/src/perl'
> c89 -c  -I../lib -I../port/misc -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe
> -DVERSION=\"1.12.7\" -DXS_VERSION=\"1.12.7\" -fPIC
> "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   UDUNITS.c
> c89: invalid option -- f
> usage: c89 [-c] [-D name[=value]] [...] [-E] [-g] [-I directory ...]
> [-L directory ...] [-o outfile] [-O] [-s] [-U name ...] operand ...
> 
> where operand is one or more of file.c, file.o, file.a
> or -llibrary
> make[1]: *** [UDUNITS.o] Error 1
> make[1]: Leaving directory `/tmp/udunits-1.12.7/src/perl'
> make: *** [perl/dynamic] Error 1

This could be due to an incompatibility between your perl
installation and the UDUNITS build environment.  If you
don't need the perl interface, then execute the command 
"make distclean", set the environment variable PERL to the
empty string, and start-over with the "configure" script.

If, however, you do need the "perl" interface, then send me
the output from the command "perl -V".

> Sean

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: ZYY-472715
Department: Support UDUNITS
Priority: Normal
Status: Closed