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

Re: 20001205: UDUNITS Linux Port



Paul,

> To: Unidata Support <address@hidden>
> From: Paul Hamer <address@hidden>
> Subject: Re: 20001204: UDUNITS Linux Port
> Organization: NOAA
> Keywords: 200012051831.eB5IVqo13278

The above message contained the following:

> Odd. But I get the following when building under Linux using GCC and I
> don't see and Linux (Redhat or otherwise) in the list of environments.
> 
> So which is it, yes you have ported it in which case why doesn't the 
> standard configure/make work; or, no you haven't ported it? The system
> details are:
> 
> uname -a gives: 
> 
> Linux hostname 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686
> unknown
> 
> gcc -v gives:
> 
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> 
> The error message from make is:
> 
> gcc -c -O -I../port/misc -I../port/cfortran
> -DUT_DEFAULT_PATH='"/home/hamer/unidata/udunits-1.11.7/etc/udunits.dat"' 
> utlib.c
> In file included from utlib.c:29:
> ../port/cfortran/cfortran.h:153: #error "cfortran.h:  Can't find your
> environment among:\
>     - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...)    
...

Please see the following URL for the solution to this problem:

    http://www.unidata.ucar.edu/glimpse/udunits/403

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>