I am using a code which employs the modern netCDF c++ interface (netcdf namespace, include file is called just netcdf without .h or similar, ncFile class, etc) and have just switched to 12.04.1.
I installed netCDF and libnetcdf6 with apt-get, but I still get the "old" headers in /usr/local/include (netcdf.h, netcdfcpp.h, etc).
In Ubuntu, the library version for netCDF is 4.1.1, while at my own computer with Mac Os X (where I have the right netCDF include file) the version is 4.2.1.1.
I cannot modify the source code I am using. I would like to know if there is a way to upgrade the netCDF library on Ubuntu to support the modern c++ interface, or, if I have to manually compile it, if you think that using src2pkg is a good idea. This is my first experience with Ubuntu.