Hi I am trying to install gromacs on a windows laptop with rhcygwin. I am doing it as administrator and I ran into the same problem when I tried installing fftw-3.2.2.
$ ./configure --enable-sse --enable-float checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/cygdrive/c/fftw-3.2.2': configure: error: C compiler cannot create executables See `config.log' for more details. The config.log file is attached. I read the config.log file but am unable to figure out what the problem is. It shows the right version of gcc installed and configure appears to find it. Thanks Vijaya
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by fftw configure 3.2.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./configure --enable-sse --enable-float ## --------- ## ## Platform. ## ## --------- ## hostname = himalaya uname -m = i686 uname -r = 1.8.2(0.230/5/3) uname -s = CYGWIN_NT-6.1-WOW64 uname -v = 2010-09-01 14:47 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live PATH: /cygdrive/c/Windows/system32 PATH: /cygdrive/c/Windows PATH: /cygdrive/c/Windows/System32/Wbem PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/ PATH: /cygdrive/c/Program Files/Intel/WiFi/bin/ PATH: /cygdrive/c/Program Files/Common Files/Intel/WirelessCommon/ PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/ PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64 PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared/ PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared/ PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/12.0/DLLShared/ PATH: /cygdrive/c/Program Files (x86)/Hewlett-Packard/HP SimplePass Identity Protection/x64 PATH: /cygdrive/c/Program Files (x86)/Hewlett-Packard/HP SimplePass Identity Protection/ PATH: /cygdrive/c/Program Files/MATLAB/R2010bSP1/runtime/win64 PATH: /cygdrive/c/Program Files/MATLAB/R2010bSP1/bin PATH: /usr/lib/lapack ## ----------- ## ## Core tests. ## ## ----------- ## configure:2188: checking for a BSD-compatible install configure:2256: result: /usr/bin/install -c configure:2267: checking whether build environment is sane configure:2310: result: yes configure:2335: checking for a thread-safe mkdir -p configure:2374: result: /usr/bin/mkdir -p configure:2387: checking for gawk configure:2403: found /usr/bin/gawk configure:2414: result: gawk configure:2425: checking whether make sets $(MAKE) configure:2447: result: yes configure:2634: checking whether to enable maintainer-specific portions of Makefiles configure:2643: result: no configure:2693: checking build system type configure:2711: result: i686-pc-cygwin configure:2733: checking host system type configure:2748: result: i686-pc-cygwin configure:3181: checking for gcc configure:3197: found /usr/bin/gcc configure:3208: result: gcc configure:3440: checking for C compiler version configure:3448: gcc --version >&5 gcc (GCC) 4.3.4 20090804 (release) 1 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3452: $? = 0 configure:3459: gcc -v >&5 Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC) configure:3463: $? = 0 configure:3470: gcc -V >&5 gcc: '-V' option must have argument configure:3474: $? = 1 configure:3497: checking for C compiler default output file name configure:3519: gcc conftest.c >&5 configure:3523: $? = 1 configure:3561: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "fftw" | #define PACKAGE_TARNAME "fftw" | #define PACKAGE_VERSION "3.2.2" | #define PACKAGE_STRING "fftw 3.2.2" | #define PACKAGE_BUGREPORT "f...@fftw.org" | #define PACKAGE "fftw" | #define VERSION "3.2.2" | #define FFTW_ENABLE_ALLOCA 1 | #define FFTW_SINGLE 1 | #define BENCHFFT_SINGLE 1 | #define HAVE_SSE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3567: error: in `/cygdrive/c/fftw-3.2.2': configure:3570: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-cygwin ac_cv_env_CC_set= ac_cv_env_CC_value= 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_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_MPICC_set= ac_cv_env_MPICC_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-cygwin ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run aclocal-1.10' ALLOCA='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run tar' AR='' AS='' AUTOCONF='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run autoconf' AUTOHEADER='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run autoheader' AUTOMAKE='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run automake-1.10' AWK='gawk' CC='gcc' CCDEPMODE='' CFLAGS='' CODELET_OPTIM='' COMBINED_THREADS_FALSE='' COMBINED_THREADS_TRUE='' CPP='' CPPFLAGS='' CYGPATH_W='cygpath -w' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' FGREP='' FLIBS='' GREP='' HAVE_CELL_FALSE='' HAVE_CELL_TRUE='#' HAVE_SIMD_FALSE='#' HAVE_SIMD_TRUE='' INSTALLED_OCAMLC='/usr/local/bin/ocamlc' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='' LDOUBLE_FALSE='' LDOUBLE_TRUE='#' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /cygdrive/c/fftw-3.2.2/missing --run makeinfo' MKDIR_P='/usr/bin/mkdir -p' MPICC='' MPILIBS='' MPIRUN='' MPI_FALSE='' MPI_TRUE='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OCAMLC='' OCAMLCFLAGS='' OCAMLDEFS='' OCAMLDEP='' OCAMLLDFLAGS='' OCAMLOPT='' OCAMLOPTCFLAGS='' OPENMP_CFLAGS='' OTOOL64='' OTOOL='' PACKAGE='fftw' PACKAGE_BUGREPORT='f...@fftw.org' PACKAGE_NAME='fftw' PACKAGE_STRING='fftw 3.2.2' PACKAGE_TARNAME='fftw' PACKAGE_VERSION='3.2.2' PATH_SEPARATOR=':' POW_LIB='' PRECISION='s' PREC_SUFFIX='f' PRTDIAG='' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='' SED='' SET_MAKE='' SHARED_VERSION_INFO='5:4:2' SHELL='/bin/sh' SIMD_CFLAGS='' SINGLE_FALSE='#' SINGLE_TRUE='' SMP_FALSE='' SMP_TRUE='' STRIP='' TARGET_OCAMLBIN='/usr/local/bin' TARGET_OCAMLLIB='/usr/local/lib/fftw' TARGET_OCAMLRUN='/usr/local/bin/ocamlrun' THREADLIBS='' VERSION='3.2.2' ac_ct_CC='gcc' ac_ct_DUMPBIN='' ac_ct_F77='' acx_pthread_config='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-cygwin' build_alias='' build_cpu='i686' build_os='cygwin' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i686-pc-cygwin' host_alias='' host_cpu='i686' host_os='cygwin' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /cygdrive/c/fftw-3.2.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/usr/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. ## ## ----------- ## #define PACKAGE_NAME "fftw" #define PACKAGE_TARNAME "fftw" #define PACKAGE_VERSION "3.2.2" #define PACKAGE_STRING "fftw 3.2.2" #define PACKAGE_BUGREPORT "f...@fftw.org" #define PACKAGE "fftw" #define VERSION "3.2.2" #define FFTW_ENABLE_ALLOCA 1 #define FFTW_SINGLE 1 #define BENCHFFT_SINGLE 1 #define HAVE_SSE 1 configure: exit 77
-- gmx-users mailing list gmx-users@gromacs.org http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org. Can't post? Read http://www.gromacs.org/Support/Mailing_Lists