[ncl-install] Build question on ncl_ncarg-6.1.2 on SUSE Linux 11/SP2 - resolved

Bill.Glessner at cwu.EDU Bill.Glessner at cwu.EDU
Mon Mar 3 14:16:24 MST 2014


Hi Dave,

Putting -I/GroomLake/netCDF/netCDF-4/include closer to the beginning of the
IncSearch list resolved the problem. There was an netcdh.h in one of the 
HDF directory-trees that was causing the error to occur.

Thanks for your help,
Bill

>Return-path: <ncl-install-bounces at ucar.edu>
>Date: Wed, 26 Feb 2014 16:10:18 -0700
>From: David Brown <dbrown at ucar.edu>
>Subject: Re: [ncl-install] Build question on ncl_ncarg-6.1.2 on SUSE Linux
> 11/SP2 IA64
>Sender: ncl-install-bounces at ucar.edu
>To: Bill.Glessner at cwu.edu
>Cc: ncl-install at ucar.edu
>
>Hi Bill,
>
>The errors in FileSupport.c all have to do with defines that should be 
>coming from NetCDF library header file: netcdf.h.
>
>I think the most likely possibility is that you have an old version of 
>netcdf.h somewhere in your include path ahead of the one that belongs to 
>your NetCDF4 build. 
>You could try searching through the directories on your  IncSearch path:

>> #define IncSearch -I/usr/include/X11 -I/usr/include -I/usr/lib/gcc/ia64-suse-lin
>> ux/4.6/include -I/usr/include/linux -I/usr/local/include -I/DreamLand/JunqueYard
>> /ncl_ncarg-6.1.2/ni/src/ncl -I/usr/local/include/freetype2 -I/GroomLake/HDF/HDF5
>> /include -I/GroomLake/HDF/HDF4/include -I/GroomLake/netCDF/netCDF-4/include -I/G
>> roomLake/unidata/include
>
>or maybe just rearrange IncSearch put  -I/GroomLake/netCDF/netCDF-4/include 
>at the head of the pack.
>
>Another possibility is that you built NetCDF without enabling NetCDF4 support. 
>The configure line for NetCDF4 needs to include the option "--enable-netcdf-4".
>
>Of course if you don't want NetCDF4 support you need to set BuildNetCDF4 to 0 
>in the Site.local file.
>
>Hope this helps.
> -dave
>


More information about the ncl-install mailing list