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

[netCDF #FWP-281042]: installation trouble



> Full Name: chaim garfinkel
> Email Address: address@hidden
> Organization: johns hopkins
> Package Version:
> Operating System:
> Hardware:
> Description of problem: Hi,
> 

Good morning, Chaim


> I am trying to install the latest version of netcdf. I have installed hdf5 
> and zlib.
> ./configure --prefix=/data4/blaustein/tools
> CPPFLAGS=-I/data4/blaustein/tools/include
> LDFLAGS=-L/data4/blaustein/tools/lib
> also works.
> 
> 
> However "make check" stops at
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT
> -I/data4/blaustein/tools/include -g -O2 -MT fort-v2compat.lo -MD -MP -MF
> .deps/fort-v2compat.Tpo -c fort-v2compat.c  -fPIC -DPIC -o
> .libs/fort-v2compat.o
> fort-v2compat.c: In function 'c_ncopn':
> fort-v2compat.c:274: error: 'NC_CLASSIC_MODEL' undeclared (first use in this
> function)
> fort-v2compat.c:274: error: (Each undeclared identifier is reported only
> once
> fort-v2compat.c:274: error: for each function it appears in.)
> 
> I have no clue what is wrong. Do you?
> thanks
> 
> 

A couple of questions for you,

1) What platform are you building on? The paths suggest linux/unix, but the 
-DDLL_EXPORT is a Windows flag.
2) Which netCDF libraries are you trying to install? The C libraries or the 
Fortran libraries?  In order to use the fortran libraries you need to have the 
latest netCDF C libraries installed.

Thanks for your time, have a great morning,

-Ward
Ward Fisher



Ticket Details
===================
Ticket ID: FWP-281042
Department: Support netCDF
Priority: Normal
Status: Open


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.