C compiler cannot create execultables ,when I installing netcdf program.
fuocubellu@cerzza:~/andrea/prgWRF/netcdf-3.6.2-beta3$ ./configure
configure: netCDF 3.6.2-beta3 checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes configure: checking user options checking whether CXX is set to ''... no checking whether FC is set to ''... no checking whether F90 is set to ''... no checking whether documentation is to be built... no checking whether netCDF is to be built in 64-bit mode... no checking whether F90/95 compiler should be tested during configure checking whether configure should try to set compiler flags... yes checking whether configure should try to set CPPFLAGS... yes checking whether configure should try to set CFLAGS... yes checking whether configure should try to set CXXFLAGS... yes checking whether configure should try to set FFLAGS... yes checking whether configure should try to set FCFLAGS... yes checking whether configure should try to set F90FLAGS... yes checking whether we should just skip C++, F77, or F90 API if compi checking whether F77 API is desired... yes checking whether F90 API is desired... yes checking whether CXX API is desired... yes checking whether v2 netCDF API is to enabled... yes checking where to put large temp files if large file tests are run configure: finding C compiler checking for xlc... no checking for cc... cc checking for C compiler default output file name... configure: err See `config.log' for more details. fuocubellu@cerzza:~/andrea/prgWRF/netcdf-3.6.2-beta3$ make test cd . && /bin/sh /home/andrea/Documents/WRF/netcdf-3.6.2-beta3/miss /bin/sh: /home/andrea/Documents/WRF/netcdf-3.6.2-beta3/missing: No make: *** [aclocal.m4] Error 127 fuocubellu@cerzza:~/andrea/prgWRF/netcdf-3.6.2-beta3$ ./configure configure: netCDF 3.6.2-beta3 checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes configure: checking user options checking whether CXX is set to ''... no checking whether FC is set to ''... no checking whether F90 is set to ''... no checking whether documentation is to be built... no checking whether netCDF is to be built in 64-bit mode... no checking whether F90/95 compiler should be tested during configure... yes checking whether configure should try to set compiler flags... yes checking whether configure should try to set CPPFLAGS... yes checking whether configure should try to set CFLAGS... yes checking whether configure should try to set CXXFLAGS... yes checking whether configure should try to set FFLAGS... yes checking whether configure should try to set FCFLAGS... yes checking whether configure should try to set F90FLAGS... yes checking whether we should just skip C++, F77, or F90 API if compiler is missing... yes checking whether F77 API is desired... yes checking whether F90 API is desired... yes checking whether CXX API is desired... yes checking whether v2 netCDF API is to enabled... yes checking where to put large temp files if large file tests are run... . configure: finding C compiler checking for xlc... no checking for cc... cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. |
You have not given any information about your system, but if you look at the INSTALL.html file that comes with the netcdf files you will find that you need to set some environment variables.
I quote the following from the INSTALL.html from netcdf 3.5.1 Quote:
|
Thanks a lot allend.
|
All times are GMT -5. The time now is 01:25 AM. |