Re: Pb install ncl v5.0.0 from source code

From: Alexander Petkov <greenkov_at_nyahnyahspammersnyahnyah>
Date: Fri, 18 Jan 2008 08:21:28 -0700

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.

Alex

_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Jan 18 2008 - 08:21:28 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 31 2008 - 22:51:52 MST