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

[netCDF #WGU-681298]: Help with installation



> Hello
> 
> I am trying to install the NetCDF program on HP-UX systems.  I am
> getting the following errors after doing make check:
> 
> Making check in cxx
> source='netcdf.cpp' object='netcdf.lo' libtool=yes \
> DEPDIR=.deps depmode=hp /bin/sh ../depcomp \
> /bin/sh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H
> -I. -I. -I.. -I../fortran  -DDEBUG   -I../libsrc    -g -c -o netcdf.lo
> netcdf.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG
> -I../libsrc -g -c netcdf.cpp -Wp,-M.deps/netcdf.TPlo -o netcdf.o
> cpp: "netcdf.cpp", line 13: error 4036: Can't open include file
> 'iostream'.
> cpp: "ncvalues.h", line 13: error 4036: Can't open include file
> 'iostream'.
> cpp: "ncvalues.h", line 14: error 4036: Can't open include file
> 'sstream'.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> 
> I would appreciate any help you can provide
> 
> Thank you
> 
> Ronen
> 
> ****************************************************************
> RONEN ELKOBY
> Acoustics Technology
> Flight Sciences & Advanced Design -- Phantom Works
> 
> The Boeing Company
> 5301 Bolsa Ave Huntington Beach, CA 92647-2099
> Phone: (714) 372-1775   FAX: (714) 896-1559
> MC: H013-B308
> address@hidden
> ***************************************************************
> 
> 
> 

Howdy Ronen!

You are having a problem building the C++ API.

Firstly, are you using the latest version of netCDF?

Version 3.6.2 was just released and is available on the netCDF web site:

www.unidata.ucar.edu/software/netcdf

Secondly, do you want the C++ API? If all you want is fortran or C, then 
configure option --disable-cxx will turn off the C++ API.

Finally, sometimes the C++ API breaks because the C++ include libraries can't 
handle really large files. In that case, you should make sure you are using the 
latest available C++ compiler for your system. Try configure option 
--disable-largefile and see if that works. But then you must be wary of 
creating files of 2 GB or greater size.

Please let me know if this helps. If it does not, do a "make distclean" and 
then send me the complete output of configure and make, as an ASCII attachment 
or pasted into the body of your email.



Thanks!

Ed 

Ticket Details
===================
Ticket ID: WGU-681298
Department: Support netCDF
Priority: Normal
Status: Open