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

[netCDF #JUD-333065]: configure error



Hi Biranchi.

> I built with exporting environment variables
> 
> CC=gcc
> FC=gfortran
> F90=f90
> CXX=g++
> CFLAGS="-o"
> CPPFLAGS="-DNDEBUG"
> FFLAGS="-o"
> F90FLAGS="-o"
> CXXFLAGS="-o"
> 
> 
> after configure command i saw an error.
> errors are displaying as:
> c compiler cannot create executables.
> please find some solution and suggest.

From


> configure:4489: checking whether the C compiler works
> configure:4511: gcc -o -DNDEBUG  conftest.c  >&5
> configure:4515: $? = 0
> configure:4553: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "netCDF"
> | #define PACKAGE_TARNAME "netcdf"
> | #define PACKAGE_VERSION "4.1.3"
> | #define PACKAGE_STRING "netCDF 4.1.3"
> | #define PACKAGE_BUGREPORT "address@hidden"
> | #define PACKAGE_URL ""
> | #define PACKAGE "netcdf"
> | #define VERSION "4.1.3"
> | #define NCIO_MINBLOCKSIZE 256
> | #define USE_FSYNC 1
> | #define DEFAULT_CHUNK_SIZE 4194304
> | #define MAX_DEFAULT_CACHE_SIZE 67108864
> | #define DEFAULT_CHUNKS_IN_CACHE 10
> | #define CHUNK_CACHE_SIZE 4194304
> | #define CHUNK_CACHE_NELEMS 1009
> | #define CHUNK_CACHE_PREEMPTION 0.75
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:4558: error: in `/home/serc/Downloads/netcdf-4.1.3':
> configure:4560: error: C compiler cannot create executables
> See `config.log' for more details

we can't tell what the problem with the C compiler or development environment
is.  Can you please send the config.log file that was generated when the
configure script was run?

Thanks.

--Russ

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



Ticket Details
===================
Ticket ID: JUD-333065
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.