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

[netCDF #FDV-951529]: pb with installing netcdf library



Delphine,

> Hi Russ,
> Thanks. I installed the 32-bits version and it's working now. However, I 
> would like to install nco now but there was a problem saying that udunits.dat 
> can't be find. So, I tryed to install udunits. I have a problem again. I've 
> copied what I got after make.
> Any idea of what's going on?
> Thanks, Delphine

I'm the UDUNITS developer.

It looks like you have a problem with building the PERL interface to
the UDUNITS library.  Do you need that interface?  If not, they you
can skip it by setting the environment variable PERL to the empty
string before executing the "configure" script (execute the command
"make distclean" first).

> making `all' in directory /Users/delphine/Desktop/udunits-1.12-1.4/src/port
> 
> 
> making `all' in directory 
> /Users/delphine/Desktop/udunits-1.12-1.4/src/port/misc
> 
> c89 -c -g -O2 -I.  -D_REENTRANT -Df2cFortran uddummy.c
> ar rcuv libudport.a uddummy.o
> a - uddummy.o
> case "" in \
> '') ;; \
> *)  ar rucv libudport.a ;; \
> esac
> ranlib libudport.a
> 
> returning to directory /Users/delphine/Desktop/udunits-1.12-1.4/src/port
> 
> 
> making `all' in directory 
> /Users/delphine/Desktop/udunits-1.12-1.4/src/port/cfortran
> 
> make[2]: Nothing to be done for `all'.
> 
> returning to directory /Users/delphine/Desktop/udunits-1.12-1.4/src/port
> 
> 
> returning to directory /Users/delphine/Desktop/udunits-1.12-1.4/src
> 
> 
> making `all' in directory /Users/delphine/Desktop/udunits-1.12-1.4/src/lib
> 
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> c89 -c -g -O2 -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/Users/delphine/Desktop/udunits-1.12-1.4/etc/udunits.dat"'
>  -Df2cFortran utlib.c
> utlib.c: In function 'utInit':
> utlib.c:1127: warning: passing argument 1 of 'ReadUnits' discards qualifiers 
> from pointer target type
> c89 -c -g -O2 -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/Users/delphine/Desktop/udunits-1.12-1.4/etc/udunits.dat"'
>  -Df2cFortran utparse.c
> c89 -c -g -O2 -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/Users/delphine/Desktop/udunits-1.12-1.4/etc/udunits.dat"'
>  -Df2cFortran utscan.c
> c89 -c -g -O2 -I../port/misc -I../port/cfortran 
> -DUT_DEFAULT_PATH='"/Users/delphine/Desktop/udunits-1.12-1.4/etc/udunits.dat"'
>  -Df2cFortran udalloc.c
> ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o
> a - utlib.o
> a - utparse.o
> a - utscan.o
> a - udalloc.o
> case "" in \
> '') ;; \
> *)  ar rucv libudunits.a ;; \
> esac
> ranlib libudunits.a
> 
> returning to directory /Users/delphine/Desktop/udunits-1.12-1.4/src
> 
> 
> making `all' in directory /Users/delphine/Desktop/udunits-1.12-1.4/src/udunits
> 
> c89 -c -g -O2 -I../lib -I../port/misc -Df2cFortran udunits.c
> udunits.c: In function 'main':
> udunits.c:113: warning: incompatible implicit declaration of built-in 
> function 'exit'
> c89 -o udunits -g -O2 udunits.o 
> -L/Users/delphine/Desktop/udunits-1.12-1.4/src/lib -ludunits 
> -L/Users/delphine/Desktop/udunits-1.12-1.4/src/port/misc -ludport -ly
> 
> returning to directory /Users/delphine/Desktop/udunits-1.12-1.4/src
> 
> cd perl && perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning: -L../lib changed to 
> -L/Users/delphine/Desktop/udunits-1.12-1.4/src/perl/../lib
> Writing Makefile for UDUNITS
> 
> making `dynamic' in directory 
> /Users/delphine/Desktop/udunits-1.12-1.4/src/perl
> 
> /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap 
> /System/Library/Perl/5.8.6/ExtUtils/typemap -typemap typemap  UDUNITS.xs > 
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> c89 -c  -I../lib -I../port/misc -g -pipe -fno-common -DPERL_DARWIN 
> -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3   
> -DVERSION=\"1.12.4\" -DXS_VERSION=\"1.12.4\"  
> "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"  -Df2cFortran 
> UDUNITS.c
> c89: illegal option -- p
> usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
> [-o outfile] [-O optlevel] [-U name]... operand ...
> make[1]: *** [UDUNITS.o] Error 1
> make: *** [perl/dynamic] Error 1

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: FDV-951529
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.