[gradsusr] Grads 2.0.1 Compilation Problem
Spencer Ogden
spencer at spencerogden.com
Fri Feb 24 12:51:14 EST 2012
I'm trying to get into grads for the analysis of ocean wind patterns.
I've worked through a few compilation problems, but have hit a road
block and I wasn't able to turn up any similar problems on Google.
I'm running on Gentoo and I have manually installed libpng 1.2.34 and
g2clib 1.2.3. This has allowed configure to enable grib2 and netcdf. I'm
running in to a problem with the compile though. When compiling gaio.c,
NC_CHUNKED throws an error as an undeclared symbol. Seems like this
could be a case of having the wrong version of a header, but I haven't
been able to track down where I should start looking.
Thanks for any advice,
Spencer
Here's the last bit of ./configure:
+=========================================================================+
GrADS 2.0.1 : Built Fri Feb 24 11:52:02 EST 2012 for i686-pc-linux-gnu
+=========================================================================+
+-------------------------------+
| |
| GrADS will be built with: |
| |
| - GUI disabled |
| + readline enabled |
| + geotiff enabled |
| - shapefile disabled |
| + printim enabled |
| + grib2 enabled |
| - hdf4 disabled |
| + hdf5 enabled |
| + netcdf-4 enabled |
| - OPeNDAP disabled |
| |
+-------------------------------+
`make` ouput:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/hdf -g -O2 -rdynamic -c gaio.c
gaio.c: In function 'garead':
gaio.c:753:3: warning: format '%ld' expects type 'long int', but
argument 4 has type 'size_t'
gaio.c:753:3: warning: format '%ld' expects type 'long int', but
argument 4 has type 'size_t'
gaio.c: In function 'gancsetup':
gaio.c:2446:17: error: 'NC_CHUNKED' undeclared (first use in this function)
gaio.c:2446:17: note: each undeclared identifier is reported only once
for each function it appears in
gaio.c:2462:3: warning: format '%ld' expects type 'long int', but
argument 4 has type 'size_t'
gaio.c:2462:3: warning: format '%ld' expects type 'long int', but
argument 4 has type 'size_t'
make[2]: *** [gaio.o] Error 1
make[2]: Leaving directory `/home/spencer/grads-2.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/spencer/grads-2.0.1/src'
make: *** [all-recursive] Error 1
More information about the gradsusr
mailing list