NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
LDM, > To: address@hidden > From: address@hidden > Subject: udunits-1.11.7 installation log - failed > Organization: UCAR > Keywords: 199903021904.MAA19002 In the above message, you wrote: > Below is the failed installation log. Please help. ... > making `all' in directory /export/home/ldm/udunits-1.11.7/src/port > > > making `all' in directory /export/home/ldm/udunits-1.11.7/src/port/misc > > ar rcuv libudport.a uddummy.o > case "" in \ > '') ;; \ > *) ar rucv libudport.a ;; \ > esac > ranlib libudport.a > `all' is updated. > > returning to directory /export/home/ldm/udunits-1.11.7/src/port > > > making `all' in directory /export/home/ldm/udunits-1.11.7/src/port/cfortran > > > returning to directory /export/home/ldm/udunits-1.11.7/src/port > > `all' is updated. > > returning to directory /export/home/ldm/udunits-1.11.7/src > > > making `all' in directory /export/home/ldm/udunits-1.11.7/src/lib > > ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o > case "" in \ > '') ;; \ > *) ar rucv libudunits.a ;; \ > esac > ranlib libudunits.a > `all' is updated. > > returning to directory /export/home/ldm/udunits-1.11.7/src > > > making `all' in directory /export/home/ldm/udunits-1.11.7/src/udunits > > `udunits' is updated. > `all' is updated. > > returning to directory /export/home/ldm/udunits-1.11.7/src > > cd perl && perl Makefile.PL > Warning: -L../lib changed to -L/export/home/ldm/udunits-1.11.7/src/perl/../lib > Writing Makefile for UDUNITS > > making `dynamic' in directory /export/home/ldm/udunits-1.11.7/src/perl > > cc -c -I../lib -I../port/misc -I/usr/local/include -O > -DVERSION=\"1.11.7\" -DXS_VERSION=\"1.11.7\" -fpic > -I/opt/perl-5.003/lib/sun4-solaris/5.003/CORE UDUNITS.c > cc: Warning: illegal option -fpic > "/opt/perl-5.003/lib/sun4-solaris/5.003/CORE/proto.h", line 45: syntax error > before or at: __attribute__ > "/opt/perl-5.003/lib/sun4-solaris/5.003/CORE/proto.h", line 45: cannot > recover from previous errors > cc: acomp failed for UDUNITS.c > *** Error code 2 > make: Fatal error: Command failed for target `UDUNITS.o' > Current working directory /export/home/ldm/udunits-1.11.7/src/perl > *** Error code 1 > make: Fatal error: Command failed for target `perl/dynamic' Offhand, I'd say you're not using the same C compiler that was used to build the perl package. Compare the output of "perl -V" with, for example, "which cc". Are they identical? -------- Steve Emmerson <http://www.unidata.ucar.edu>