Build question on ncl_ncarg-6.1.2 on SUSE Linux 11/SP2 - resolved

From: <Bill.Glessner_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 03 2014 - 14:16:24 MST

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@ucar.edu>
>Date: Wed, 26 Feb 2014 16:10:18 -0700
>From: David Brown <dbrown@ucar.edu>
>Subject: Re: Build question on ncl_ncarg-6.1.2 on SUSE Linux
> 11/SP2 IA64
>Sender: ncl-install-bounces@ucar.edu
>To: Bill.Glessner@cwu.edu
>Cc: ncl-install@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
>
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Mon Mar 3 14:17:18 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:27:43 MST