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

Re: 970530: (Solution) Problem compiling netCDF 3.3 on HP-UX 10.20



>To: address@hidden
>From: Greg Long <address@hidden>
>Subject: (Solution) Problem compiling netCDF 3.3 on HP-UX 10.20
>Organization: .
>Keywords: 199705301705.LAA13374

Hi Greg,

> I recently attempted to install netCDF 3.3 on a machine running HP-UX
> 10.20 and it failed with messages similar to those from
> address@hidden (Mary Haley) in the e-mail support archive.
> I managed to get it to compile by removing the code from configure
> that put the line:
> #define _INCLUDE_POSIX_SOURCE 1
> into confdefs.h.  This line is inserted at 2 different places in
> configure.  I then used the command:
> CC=cc CFLAGS=-Ae ./configure
> to build the makefiles.  After this the make, make test and make
> install all went smoothly

Thanks for reporting this.  We've incorporated a way to get configure
not to include this line into the next minor release of netCDF (3.3.1).

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu