[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030516: netCDF 3.5.0 build problems under RH 9.0
- Subject: 20030516: netCDF 3.5.0 build problems under RH 9.0
- Date: Fri, 16 May 2003 11:10:38 -0600
>From: Phil Moses <address@hidden>
>Organization: UCSD
>Keywords: 200305161647.h4GGl9Ld008398 netCDF 3.5.0 g++ RedHat 9.0
Phil,
>I have been trying to compile netCDF on RH 9.0 for a couple of days
>here, but have been getting hung on the g++ compiler. I have toggle
>environment variables until my face turns blue but cannot seem to get
>things right.
I see that you are attempting to build netCDF 3.5.0. This release
has known problems building with the latest gcc/g++ compilers.
Please grab:
netcdf-3.5.1-beta10.tar.Z
from the pub/netcdf directory of anonymous FTP on our FTP server
ftp.unidata.ucar.edu and try using it instead of 3.5.0.
Thanks...
>I am wondering if by chance you have seen any issues like this with RH
>9.0. This is a stock install, using gcc, f77 and g++ (Intel fortran
>compiler does not work on RH 9.0 I have been trying to use f77 to cover
>but this may be the problem). Below are further details...
>
>Linux pear 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
>GNU/Linux
>
>Configure errors.... (I know these are not part of netcdf, but I am
>trying to get a handle of what may be contributing)
>/usr/include/stdlib.h:612: declaration of `void exit(int) throw ()'
>throws
> different exceptions
>configure:1232: than previous declaration `void exit(int)'
>configure: failed program was:
>#line 1230 "configure"
>#include "confdefs.h"
>#ifdef __cplusplus
>extern "C" void exit(int);
>#endif
>
>Make failure...
>
>make[2]: Entering directory `/root/netcdf-3.5.0/src/f90'
>../rules.make:136: warning: overriding commands for target
>`/root/netcdf-3.5.0/include'
>../rules.make:118: warning: ignoring old commands for target
>`/root/netcdf-3.5.0/include'
>make[2]: *** No rule to make target `typeSizes.f90', needed by
>`typeSizes.o'. Stop.
>make[2]: Leaving directory `/root/netcdf-3.5.0/src/f90'
>make[1]: *** [subdir_target] Error 1
>make[1]: Leaving directory `/root/netcdf-3.5.0/src'
>make: *** [f90/all] Error 2
>
>If you can advise in any way possible, it would be greatly appreciated.
>
>Thanks,
>Phil
>--
>Phil Moses
>address@hidden
>858-822-1541
Tom Yoksas