为了gdal更新的方便,写了一个简单的shell脚本:

cd /root/gdal/
cvs update
./configure --with-hdf4 --with-netcdf --with-pg=/usr/local/pgsql/bin/pg_config --with-geos --with-libtiff=internal --with-static-proj4 --with-grass=/usr/local/grass-5.7.cvs
make clean
make
make install