[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #TYR-385053]: NETCDF installation problem



Hi Wagner,

One way to solve this would be to turn off building the netCDF C++ library, 
which nothing
else in the package depends on.  If you don't need the C++ API, just start over 
from the
configure step, setting the environment variable 

  CXX=''

before running the configure script.

If you actually need the C++ library for some reason, it looks like you'll have 
to get your
C++ development environment working first.  The error message you encountered 
is not
from netCDF.  It indicates a problem with how the C++ compiler and libraries 
you are
using were installed.

Unfortunately I can't help with getting intel c++ compilers working on Ubuntu 
or using
g++ instead.

--Russ

> I'm having problems during netcdf installation. I am using intel compilers 
> and working on Ubuntu OS.
> The problem is that, during make check command, I am getting the following 
> message (final part only):
> 
> "...lots of outputs...
> 
> make[2]: Leaving directory `/home/pacotes/netcdf-3.6.3/nf_test'
> Making all in cxx
> make[2]: Entering directory `/home/pacotes/netcdf-3.6.3/cxx'
> depbase=`echo netcdf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> ÂÂÂ /bin/bash ../libtool --tag=CXXÂÂ --mode=compile icpc -DHAVE_CONFIG_H 
> -I. -I.. -I../fortranÂÂÂÂÂ -I../libsrcÂÂ -g -O2 -MT netcdf.lo -MD -MP 
> -MF $depbase.Tpo -c -o netcdf.lo netcdf.cpp &&\
> ÂÂÂ mv -f $depbase.Tpo $depbase.Plo
> libtool: compile:Â icpc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g 
> -O2 -MT netcdf.lo -MD -MP -MF .deps/netcdf.Tpo -c netcdf.cpp -o netcdf.o
> /usr/include/c++/4.7/iostream(39): catastrophic error: cannot open source 
> file "bits/c++config.h"
> Â #include <bits/c++config.h>
> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ^
> 
> compilation aborted for netcdf.cpp (code 4)
> make[2]: *** [netcdf.lo] Error 1
> make[2]: Leaving directory `/home/pacotes/netcdf-3.6.3/cxx'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pacotes/netcdf-3.6.3'
> make: *** [all] Error 2
> "
> 
> Before this error, I was also receiving other catastrophic errors. Searching 
> on some foruns, I found that installing libc6-dev-i386 and gcc-4.7-multilib 
> g++-4.7-multilib the problem would be solved. But this new error continue.
> 
> Do you have ideia how can I solve this?
> if you need any further information, please let me know.
> 
> 
> thank you in advance.Â
> Wagner
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: TYR-385053
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.