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.


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

Re: 20051114: netcdf-perl-1.2.3



Mark,

>Date: Tue, 15 Nov 2005 14:20:02 -0700
>From: Mark Seefeldt <address@hidden>
>Organization: University of Colorado
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20051114: netcdf-perl-1.2.3

The above message contained the following:

> I am doing the installation using sudo, which seems to not behave as 
> well with multiple commands on a single line.

Must be a non-standard user-shell.

> Therefore I set the 
> environment variables in the file CUSTOMIZE.  I then followed your 
> steps, and noticed an error in the make step.  I have attached the 
> configure.log, make.log, and CUSTOMIZE files.
[snip]

> making `all' in directory /usr/local/udunits-1.12.4/src/udunits
> 
> make[1]: Entering directory `/usr/local/udunits-1.12.4/src/udunits'
> make[2]: Entering directory `/usr/local/udunits-1.12.4/src/udunits'
> c89 -c -O2 -I../lib -I../port/misc -DpgiFortran udunits.c
> udunits.c: In function `main':
> udunits.c:95: error: `_POSIX_MAX_INPUT' undeclared (first use in this 
> function)
> udunits.c:95: error: (Each undeclared identifier is reported only once
> udunits.c:95: error: for each function it appears in.)
> make[2]: *** [udunits.o] Error 1
> make[2]: Leaving directory `/usr/local/udunits-1.12.4/src/udunits'
> make[1]: *** [program] Error 2
> make[1]: Leaving directory `/usr/local/udunits-1.12.4/src/udunits'
> make: *** [udunits/all] Error 1

Looks like your compiler needs help.

Instead of c89(1), try gcc(1): modify CC in CUSTOMIZE, do a "make
distclean", and reattempt the build.

Regards,
Steve Emmerson