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

20010313: Problem with fortran on linux redhat



Ed,

> To: address@hidden
> cc: "Teizi Henmi" <address@hidden>
> From: "Edward Vidal" <address@hidden>
> Subject: Problem with fortran on linux redhat
> Organization: UCAR/Unidata
> Keywords: 200103131423.f2DENsL18476

The above message contained the following:

> I have been trying to get the netcdf package 3.4 to compile on a Red Hat
> Linux system.  The package compiles for C but not for Fortran.
> I did the following:
> ./configure --prefix=/usr/local/netcdf-3.4
> make
> This is where the error ocurrs in cfortran.h line 151.  I have changed the
> # to the trigraph ??= and a new error appears.
> 
> 
> During the configure process
> I see checking for f77 if finds g77 (Red Hat Linux has g77 and f77 is
> linked to g77 which is in /usr/bin.  I have also trying removing the link
> for f77; thinking that it was getting confused and no help.  Is there a
> separate fortran library or does it use the libnetcdf.a?
> 
> Thanks in advance the C works  but we need the Fortran also for some of our
> applications.
> Ed Vidal

I'll need more information in order to help you.  Would you please
send me the files "configure.log", "config.log", and "make.log", which
are all mentioned in the top-level file "INSTALL.html".  If you need
to (re)create these files, then don't forget to do a "make distclean"
first.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>