Consider compiling NetCDF (and why not even GDAL) from source, it is easier than it seems at a first glance and gives you all dependencies you need:

NetCDF (http://www.unidata.ucar.edu/software/netcdf/) 

./configure CC=gcc FC=gfortran F90=gfortran F77=gfortran CPPFLAGS=-DpgiFortran --with-pic 

# --with-pic is mandatory in 64 bit systems (GDAL compatibility) 

make
make check 
make install 


H.



-------- Ursprungligt meddelande --------
Ämne: [gdal-dev] compiling gdal with netcdf support - broken links on wiki
Från: Margherita Di Leo
Till: gdal-dev@lists.osgeo.org
Kopia:


Hi,

I was looking for instructions to compile gdal with netcdf support and ended up here [1], but I noticed that the links to netcdf library and to quick instructions on how to compile gdal against it appear both broken. I tried to install netcdf package on fedora but it seems to be the wrong one because I can't convince gdal to grant support to it... Any pointer appreciated

Thanks in advance
Kind regards,




--
Margherita Di Leo
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to