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

Re: NETCDF on Linux 8.0 (fwd)



>To: address@hidden
>From: "Maudood Khan" <address@hidden>
>Subject: Re: 20030501: NETCDF on Linux 8.0
>Organization: 
>Keywords: 200305011127.h41BRn7U003617

------- Forwarded Message

Date:    Thu, 01 May 2003 12:10:15 -0500
From:    "Maudood Khan" <address@hidden>
To:      <address@hidden>
Subject: Re: NETCDF on Linux 8.0

The netcdf-3.5.1-beta10 release worked. Thanks for your  help.

maudood

>To: address@hidden
>From: "Maudood Khan" <address@hidden>
>Subject: Re: 20030501: NETCDF on Linux 8.0
>Organization: 
>Keywords: 200305011127.h41BRn7U003617

Hi Maudood,

> Following is the screen output on executing configure for netcdf-3.5.1-beta5. 
> I have also tried netcdf-3.5.0.
> 
> Does this mean that the compiler is not properly installed?
> 
> thanks.
> maudood
> 
> ====================================================
> 
> [maudoodk@ram src]$ ./configure
> loading cache ./config.cache
> checking for top-level source-directory
> /airarch/maudood/netcdf/netcdf-3.5.1-beta5/src
> checking for m4 preprocessor
> checking for m4... m4
> checking m4 flags... -B10000
> checking C compiler "/usr/bin/gcc"... failed to compile test program
> checking how to make dependencies... false
> checking for /usr/bin/g++... /usr/bin/g++
> checking C++ compiler "/usr/bin/g++"... configure: warning: /usr/bin/g++ 
> failed on test program
> configure: warning: Could not find working C++ compiler
> configure: warning: Setting CXX to the empty string
> configure: warning: The C++ interface will not be built
> checking how to run the C preprocessor... /lib/cpp
> checking user-defined Fortran-77 compiler "/usr/pgi/linux86/bin/pgf90"... 
> works
> checking for Fortran .F compiler...
> checking if Fortran-77 compiler handles *.F files... yes
> checking "/usr/pgi/linux86/bin/pgf90" as Fortran-90 compiler... works
> checking for nm utility
> checking for nm... nm
> checking nm flags...
> checking for C-equivalent to Fortran routine "SUB"... sub_
> checking for Fortran "byte"... yes
> checkingfor Fortran "integer*2"... yes
> checking if Fortran "byte" is C "signed char"... configure: error: Could not 
> compile conftest.c
> [maudoodk@ram src]$ which c++
> /usr/bin/c++
> [maudoodk@ram src]$ which gcc
> /usr/bin/gcc

Yes, it's possible that the gcc installation is not correctly
installed.

Please try the netcdf-3.5.1-beta10 release from

  ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.Z

When running the "configure" script, If you still get 

  checking C compiler "/usr/bin/gcc"... failed to compile test program

then please follow the instructions on Reporting Problems at the end of the
INSTALL instructions:

  http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html#ReportingProblems

In particular, check the associated error message in the "config.log"
file that logs output of all the tests run by configure to see why gcc
failed, or just send the "config.log" file to
"address@hidden" and we will determine why the configure
script thinks gcc doesn't work.

--Russ

_____________________________________________________________________

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


------- End of Forwarded Message