[ncl-install] Pb install ncl v5.0.0 from source code

Jan Ploski Jan.Ploski at offis.de
Fri Jan 18 09:15:42 MST 2008


ncl-install-bounces at ucar.edu schrieb am 01/18/2008 04:21:28 PM:

> On Jan 18, 2008 7:53 AM, Celine Mari <celine.mari at aero.obs-mip.fr> 
wrote:
> >
> > Dear all,
> >
> > I am trying to install ncl v5.0.0 from source code on my PC (i686).
> >
> > I have installed HDF-4 following the install instruction i.e.
> > by specifying the "--disable-netcdf" option.
> >
> > I end up with an error message saying that NclHDF cannot find the
> > hdf/netcdf.h file (which is not created because of the disable option) 
??
> >
> > gcc -c -DLINUX -ansi -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-O
> > -I../../.././include -I/usr/X11R6/include -I/usr/local/include
> > -I/usr/bin/udunits-1.12.4/include -I/usr/local/include/hdf
> > -I/usr/local/include/vis5d+  -DLinux -DMAJOR=2       -DSYSV
> > -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto NclHDF.c
> > NclHDF.c:27:24: hdf/netcdf.h: Aucun fichier ou répertoire de ce type
> > make[4]: *** [NclHDF.o] Erreur 1
> >
> > Any idea?
> >
> > Thank you in advance for your help.
> >
> > Celine.
> >
> > --
> > Laboratoire d´Aerologie
> > UMR5560 CNRS/UPS
> > Universite de Toulouse, Toulouse
> > France
> > Phone: +33(0)561332754
> > Fax: +33(0)561332790
> 
> I had to make a symbolic link from my netcdf installation's netcdf.h
> to hdf/netcdf.h in order to compile.

However, the official fix is to remove the #include<hdf/netcdf.h> from 
NclHDF.c.

Regards,
Jan Ploski


More information about the ncl-install mailing list