Dear developers,
I've been compiling NCL on an IBM Power6 system with linux and
I seem to have found an inconsistency: I've disabled the GDAL support
in the configure script, so I expected not to need this library for
compiling
NCL. However, I get the following error:
make[3]: Entering directory `/gpfs/h05/ncl610/ncl_ncarg-6.1.0/ni/src/ncl'
xlc_r -q64 -qfullpath -qmaxmem=-1 -g -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -O -I../../.././include -I/usr/include/X11
-I/sara/sw/netcdf/4.1.3/include -I/sara/sw/ncl/5.1.1-sles11/HDF4/include
-I/usr/include/freetype2 -DLinux -DMAJOR=2
-DUSE_NETCDF4 -DUSE_NETCDF4_FEATURES
-DBuildHDF5 -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DNGLONG2XINT -Dppc64
-DNeedFuncProto -c -o NclNewOGR.o NclNewOGR.c
"NclNewOGR.c", line 65.10: 1506-296 (S) #include file <ogr_api.h> not found.
"NclNewOGR.c", line 66.10: 1506-296 (S) #include file <ogr_srs_api.h>
not found.
...
and ogr_api.h seems part of GDAL. Maybe there are some precompiler directives missing
that would skip this code if GDAL support is not needed?
With regards,
John
-- John Donners Consultant OSD SARA Computing Center _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Sat Dec 22 06:26:51 2012
This archive was generated by hypermail 2.1.8 : Fri Jan 04 2013 - 15:32:29 MST