This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Cara-Lyn, > To: address@hidden > From: Cara-Lyn Lappen <address@hidden> > Subject: netcdf compilation error on linux > Organization: CSU > Keywords: 200411021745.iA2HjqvV020011 netCDF PDI The above message contained the following: > I have a new linux machine running pgi fortran and g++/gcc for the > fortran and CC compilers. > I cannot build netcdf on it. > > I searched your archives and found something related to my problem at > the following site: > > http://my.unidata.ucar.edu/cgi-bin/getfile?file=/content/support/help/ > MailArchives/netcdf/msg02654.html > > I tired the remedy suggested and it still doesnt work. > > I get the following error when I try to configure: > > configure: warning: The Fortran-77 interface will not be built > configure: warning: The Fortran 90 interface will not be built > > -Cara-Lyn > > here is the output that you ask for from your website > > uname -a : > > Linux sinkhole.atmos.colostate.edu 2.6.5-1.358 #1 Sat May 8 09:04:50 > EDT 2004 i686 i686 i386 GNU/Linux > > VERSION: > > 3.5.1 > > files: The copy of the file "configure.log" that you sent contained the following: checking how to run the C preprocessor... (cached) c89 -E checking user-defined Fortran-77 compiler "/usr/pgi/linux86/5.2/bin/pgf90"... failed to compile test program checking for Fortran .F compiler... checking for Fortran preprocessor... c89 -E checking user-defined Fortran-90 compiler "/usr/pgi/linux86/5.2/bin/pgf90"... failed to compile test program This indicates a severe problem with the pgf90(1) compiler. Details about the problem should be in the file "config.log" in the top-level source-directory. Unfortunately, the copy of that file that you sent was corrupted. Please send me the file "config.log", which should be in your top-level source-directory. Regards, Steve Emmerson