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

[netCDF #NJU-530353]: Error configuring netcdf-fortran



Hi Tim,

> I am currently trying to install the newest netcdf-fortran library
> (directly from your github repository) with the ifort 14.0.2 - compiler.
> 
> The C-version of netcdf is already compiled and installed with the same
> compiler and works, but the fortran API is not even being configured. I
> also tried different versions of the netcdf-fortran lib and different
> intel compilers.
> 
> The error thrown at configuration time is always the following:
> 
> checking size of off_t... configure: error: in
> `/home/wetz_ti/tar/netcdf-fortran':
> configure: error: cannot compute sizeof (off_t)
> 
> What can I do about that?
> 
> Attached you will find my config.log.
> 
> The CC and FC - flags have been set to the corresponding paths for icc
> and ifort and the CPPFLAGS and LDFLAGS have been set accordingly to find
> the netcdf-C-library in my user-defined path.

Please try setting the LD_LIBRARY_PATH environment variable while the 
configure script is run, for example:

  $ LD_LIBRARY_PATH=/home/wetz_ti/libraries/lib  ./configure ...

--Russ


> Please let me know if you need any more information.
> --
> ================================================================================
> Tim Wetzel, M.Sc.
> Fluid Systems
> 
> German Aerospace Center (DLR)
> Member of the Helmholtz-Association
> Institute of Aerodynamics and Flow Technology
> 
> DLR e.V. - AS-FLY
> Bunsenstr. 10
> 37073 Goettingen
> Germany
> 
> eMail   : address@hidden
> Phone   : +49 / 551 / 709-2727
> Fax     : +49 / 551 / 709-2241
> Website : www.dlr.de/as/en
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: NJU-530353
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.