Compile grads2 without netcdf

Arlindo da Silva dasilva at ALUM.MIT.EDU
Wed Feb 13 12:17:08 EST 2008


On Feb 13, 2008 5:06 PM, Oliver König <oliver at windfinder.com> wrote:

> Hello
> COLA/IGESA says at: http://sidata.org/grads/gadoc/supplibs.htm
> "Be sure to use the --disable-netcdf configure option when building for
> GrADS
> version 2.0."
>
> I tried:
> ./configure --with-netcdf=no
> ./configure --disable-netcdf
> ./configure --without-netcdf
>
> None of that worked and the configuration summary always says:
> + netcdf enabled
>
> Is it really necessary to disable netcdf for grads 2.0 and if so how do I
> do
> it?
>


These instructions pertain only to the build of the supplibs, and only if
you build them separately by hand. If you start with the opengrads
supplibs-2.0.1 sources (or binaries) this detail is already taken care of
for you. (The main point of the top GNUmakefile in the supplibs
super-package is to ensure internal consistency among all the libraries,
using pkg-config whenever possible, and furthermore tailoring the build for
grads builds. Building the supplibs package after package by hand is
possible, but it is prone to errors if you do not attend to all the annoying
details. Such is the reality of managing the growing number of grads
dependencies.)

Now, if you have already built the supplibs, there is no netcdf disabling
required (or recommended) when building grads proper. There you simply
configure and make:

cd grads-2.x.x....
./configure
make
make install prefix=/some/path

Important Note: The sources for grads-2.0.a0 released by COLA *do not*,
repeat *do not*, build out of the box with the supplibs-2.0.1, although it
contains all the necessary libraries.

  Arlindo

-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080213/0044700d/attachment.html 


More information about the gradsusr mailing list