[MINC-users] netcdf 3.5.0 and fedora core 3

Robert VINCENT minc-users@bic.mni.mcgill.ca
Thu Jun 9 10:40:04 2005


Hi Søren,

Regarding the first issue, I have not experienced any problems using MINC
with netCDF 3.6.0-p1, the most recent release.

As for the second issue, the "configure" script for netcdf-3.5.0 tests for
the presence of iostream.h, which is considered deprecated in recent
versions of GNU C++.  If you set the CXX environment variable to an empty
string, the script will skip the tests of the C++ compiler and the C++
interface will not be built. Since MINC does not need the C++ interface to
netCDF, this should not pose a problem.

Hope this helps,

	-bert

On Wed, 8 Jun 2005, Søren Christensen wrote:

> Hi,
> I was thinking that this issue might be of interest to other newbies.
>  I have tried to compile NetCDF 3.5.0 on Fedora 3 core, but the c++ compiler is unable to compile the test program during config.
> I tried with NetCDF 3.6.0 from Unidatas site and there were no problems.
>
> The config log says:
> ....
> configure:1225: checking C++ compiler "c++"
> configure:1243: c++ -o conftest  -DNDEBUG  conftest.C  1>&5
> In file included from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c ++/3.4.3/backward/iostream.h:31,
>                  from configure:1235:
> /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/backward/back ward_warning.h:32:2: warning: #warning This file includes at least one deprecate d or antiquated header. Please consider using one of the 32 headers found in sec tion 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated h eader <iostream.h>. To disable this warning use -Wno-deprecated.
> In file included from /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c ++/3.4.3/cstdlib:52,
> ....
>
>
> 1) Should i expect problems from using a never netCDF version (than the one listed at http://www.bic.mni.mcgill.ca/software/distribution/)
>
> 2) What is the cause of the problem? Is it a deprecated header in NetCDF 3.5.0 relative to the default c++ compiler in Fedora?
>
> Thanks!
> Soren
>
>
>
>
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>