Jerry Z - 2013-10-28

Hi, Friends!
I'm very new to this software and still struggling to compile the exe. I used MinGW. Here is the log file. In summary it says
configure:3590: error: in `/e/baiduyun/exciting/src/libXC':
configure:3592: error: C compiler cannot create executables

Any suggestions to solve the problem? I appreciate it for your time.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libxc configure 1.0, which was
generated by GNU Autoconf 2.67. Invocation command line was

$ ./configure FC=gfortran FCFLAGS=-cpp -DXS -DISO -DTETRA -DLIBXC CC=cc FCCPP= --enable-static=yes --enable-shared=no

---------

Platform.

---------

hostname = WINDOWS-SJQB017
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.2
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler
PATH: /c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler
PATH: /c/MinGW/bin
PATH: /c/windows/system32
PATH: /c/windows
PATH: /c/windows/System32/Wbem
PATH: /c/windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files (x86)/Windows Live/Shared
PATH: /c/Program Files (x86)/CMake 2.8/bin
PATH: /c/Program Files/Microsoft/Web Platform Installer/
PATH: /c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0/
PATH: /c/Program Files (x86)/Windows Kits/8.0/Windows Performance Toolkit/
PATH: /c/Program Files/Microsoft SQL Server/110/Tools/Binn/

-----------

Core tests.

-----------

configure:2549: checking for a BSD-compatible install
configure:2617: result: /bin/install -c
configure:2628: checking whether build environment is sane
configure:2678: result: yes
configure:2819: checking for a thread-safe mkdir -p
configure:2858: result: /bin/mkdir -p
configure:2871: checking for gawk
configure:2887: found /bin/gawk
configure:2898: result: gawk
configure:2909: checking whether make sets $(MAKE)
configure:2931: result: yes
configure:3048: checking build system type
configure:3062: result: i686-pc-mingw32
configure:3082: checking host system type
configure:3095: result: i686-pc-mingw32
configure:3127: checking for style of include used by make
configure:3155: result: GNU
configure:3225: checking for gcc
configure:3252: result: cc
configure:3481: checking for C compiler version
configure:3490: cc --version >&5
./configure: line 3492: cc: command not found
configure:3501: $? = 127
configure:3490: cc -v >&5
./configure: line 3492: cc: command not found
configure:3501: $? = 127
configure:3490: cc -V >&5
./configure: line 3492: cc: command not found
configure:3501: $? = 127
configure:3490: cc -qversion >&5
./configure: line 3492: cc: command not found
configure:3501: $? = 127
configure:3521: checking whether the C compiler works
configure:3543: cc conftest.c >&5
./configure: line 3545: cc: command not found
configure:3547: $? = 127
configure:3585: result: no
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "libxc"
| #define PACKAGE_TARNAME "libxc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libxc 1.0"
| #define PACKAGE_BUGREPORT "octopus-users@tddft.org"
| #define PACKAGE_URL ""
| #define PACKAGE "libxc"
| #define VERSION "1.0"
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3590: error: in /e/baiduyun/exciting/src/libXC': configure:3592: error: C compiler cannot create executables Seeconfig.log' for more details

----------------

Cache variables.

----------------

ac_cv_build=i686-pc-mingw32
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_FCCPP_set=set
ac_cv_env_FCCPP_value=
ac_cv_env_FCFLAGS_set=set
ac_cv_env_FCFLAGS_value='-cpp -DXS -DISO -DTETRA -DLIBXC'
ac_cv_env_FC_set=set
ac_cv_env_FC_value=gfortran
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_make_set=yes

-----------------

Output variables.

-----------------

ACLOCAL='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run tar'
AR=''
AUTOCONF='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run autoconf'
AUTOHEADER='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run autoheader'
AUTOMAKE='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run automake-1.11'
AWK='gawk'
CC='cc'
CCDEPMODE=''
CFLAGS=''
COMPILE_FORTRAN_FALSE=''
COMPILE_FORTRAN_TRUE=''
COMPILE_SINGLE_FALSE=''
COMPILE_SINGLE_TRUE=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_FORTRAN_FALSE=''
ENABLE_FORTRAN_TRUE=''
EXEEXT=''
F90_ACCEPTS_LINE_NUMBERS=''
F90_MOD_UPPERCASE_FALSE=''
F90_MOD_UPPERCASE_TRUE=''
FC='gfortran'
FCCPP=''
FCFLAGS='-cpp -DXS -DISO -DTETRA -DLIBXC'
FCFLAGS_f90=''
FCLIBS=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LONG_LINES=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /e/baiduyun/exciting/src/libXC/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libxc'
PACKAGE_BUGREPORT='octopus-users@tddft.org'
PACKAGE_NAME='libxc'
PACKAGE_STRING='libxc 1.0'
PACKAGE_TARNAME='libxc'
PACKAGE_URL=''
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0'
ac_ct_CC='cc'
ac_ct_DUMPBIN=''
ac_ct_FC=''
amEXEEXT_FALSE=''
am
EXEEXT_TRUE=''
amfastdepCC_FALSE=''
am
fastdepCC_TRUE=''
aminclude='include'
am
isrc=''
amleading_dot='.'
am
quote=''
amtar='${AMTAR} chof - "$$tardir"'
am
untar='${AMTAR} xf -'
ax_cv_f90_modext=''
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /e/baiduyun/exciting/src/libXC/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

/ confdefs.h /

define PACKAGE_NAME "libxc"

define PACKAGE_TARNAME "libxc"

define PACKAGE_VERSION "1.0"

define PACKAGE_STRING "libxc 1.0"

define PACKAGE_BUGREPORT "octopus-users@tddft.org"

define PACKAGE_URL ""

define PACKAGE "libxc"

define VERSION "1.0"

configure: exit 77