This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Davide,
>Date: Wed, 5 Nov 2003 23:31:40 +0200 (IST)
>From: <address@hidden>
>Organization: Weizmann Institute of Science
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20031105: NetCDF 3.5.0 build problem
The above message contained the following:
> I had't had any problem this time..
> I think, at least I believe it.
> Anyway these are the log file.
> Best
> D
> p.s.
> Really, thanks a lot!!
The "configure.log" file looks OK.
The "make.log" file shows a problem:
make[1]: Entering directory `/usr/local/ROMS/netcdf-3.5.0/src'
Making `all' in directory /usr/local/ROMS/netcdf-3.5.0/src/libsrc
make[2]: Entering directory `/usr/local/ROMS/netcdf-3.5.0/src/libsrc'
/usr/bin/gcc -c -O -I. -DNDEBUG -Df2cFortran attr.c
In file included from /usr/include/errno.h:36,
from netcdf.h:39,
from nc.h:16,
from attr.c:8:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
The above indicates that your C compilation environment is incorrect:
the system header-file "/usr/include/bits/errno.h" couldn't include the
system header-file "linux/errno.h". This is a severe error and must be
corrected before you can build the netCDF package. Contact your system
administrator and show them this email.
Regards,
Steve Emmerson