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

20040120: problems building udunits on Solaris 9 x86 gcc


> To: "'address@hidden'" <address@hidden>
> From: Robert Mullenax <address@hidden>
> Subject: problems building udunits on Solaris 9 x86 gcc
> Organization: Universal Weather and Aviation
> Keywords: 200401192213.i0JMDKp2010547 UDUNITS

The above message contained the following:

> I am trying to build udunits on Solaris 9 x86 (gcc 3.2.2) so I can
> build the decoders package.  I fixed to KPIC to fpic error, but still
> get this problem:
> make[1]: Entering directory `/usr/local/ldm/udunits/udunits-1.12.1/src/perl'
> gcc -c -I../lib -I../port/misc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -xO3 -xdepend   -DVERSION=\"1.12.1\" -DXS_VERSION=\"1.12.1\" -fpic
> -I/usr/perl5/5.6.1/lib/i86pc-solaris-64int/CORE  UDUNITS.c
> gcc: language depend not recognized
> gcc: UDUNITS.c: linker input file unused because linking not done
> Any ideas?

When building the Perl interface to the UDUNITS package, the build
procedure uses the same compiler options that were used to build the
perl utility.  It appears that your perl utility was built with options
that are incompatible with your current compiler (-xdepend).  Compiler
options can be see via the command "perl -V".

Because your goal is to use the decoders package and that package uses
the perl interface to the UDUNITS package, you can't just not build the
perl interface.

I think your best bet is to get or build a more recent version of the
perl(1) utility and then try again to build the UDUNITS package.

> Thanks,
> Robert Mullenax
> Robert Mullenax
> Weather Systems Administrator
> Universal Weather and Aviation

Steve Emmerson