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

[netCDF #DEI-785062]: NETCDF-Fortran installation problems



Hi Dr. Dioguardi,

> I'm experiencing troubles when trying to install netcdf-fortran. I
> successfully installed the C version before to trying to install the
> fortran version.
> During the configuration this error is displayed:
> 
> checking size of off_t... configure: error: in
> `/home/dioguardi/netcdf-fortran-4.4.2':
> configure: error: cannot compute sizeof (off_t)
> See `config.log' for more details
> 
> I attach the log file.

It looks like you haven't specified where the netCDF-C library was installed to
the netCDF-Fortran configure script. Building the netCDF-Fortran library depends
on a previously installed netCDF-C library. You need to set at least CPPFLAGS
and LDFLAGS for the netCDF-Fortran configure script. You may also need to set
LD_LIBRARY_PATH, if you have installed he netCDF-C library somewhere that's
not searched by default. 

See instructions and examples here:

  http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html

--Russ

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



Ticket Details
===================
Ticket ID: DEI-785062
Department: Support netCDF
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.