This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by simutrans configure.sh version-0.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure.sh ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = x86_64 uname -r = 3.10.0-514.el7.x86_64 uname -s = Linux uname -v = #1 SMP Tue Nov 22 16:42:41 UTC 2016 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /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/local/sbin PATH: /usr/bin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /home/centos/.local/bin PATH: /home/centos/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure.sh:2453: checking for gcc configure.sh:2469: found /usr/bin/gcc configure.sh:2480: result: gcc configure.sh:2709: checking for C compiler version configure.sh:2718: gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) Copyright (C) 2015 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.sh:2729: $? = 0 configure.sh:2718: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) configure.sh:2729: $? = 0 configure.sh:2718: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure.sh:2729: $? = 4 configure.sh:2718: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure.sh:2729: $? = 4 configure.sh:2749: checking whether the C compiler works configure.sh:2771: gcc conftest.c >&5 configure.sh:2775: $? = 0 configure.sh:2823: result: yes configure.sh:2826: checking for C compiler default output file name configure.sh:2828: result: a.out configure.sh:2834: checking for suffix of executables configure.sh:2841: gcc -o conftest conftest.c >&5 configure.sh:2845: $? = 0 configure.sh:2867: result: configure.sh:2889: checking whether we are cross compiling configure.sh:2897: gcc -o conftest conftest.c >&5 configure.sh:2901: $? = 0 configure.sh:2908: ./conftest configure.sh:2912: $? = 0 configure.sh:2927: result: no configure.sh:2932: checking for suffix of object files configure.sh:2954: gcc -c conftest.c >&5 configure.sh:2958: $? = 0 configure.sh:2979: result: o configure.sh:2983: checking whether we are using the GNU C compiler configure.sh:3002: gcc -c conftest.c >&5 configure.sh:3002: $? = 0 configure.sh:3011: result: yes configure.sh:3020: checking whether gcc accepts -g configure.sh:3040: gcc -c -g conftest.c >&5 configure.sh:3040: $? = 0 configure.sh:3081: result: yes configure.sh:3098: checking for gcc option to accept ISO C89 configure.sh:3162: gcc -c -g -O2 conftest.c >&5 configure.sh:3162: $? = 0 configure.sh:3175: result: none needed configure.sh:3261: checking for g++ configure.sh:3291: result: no configure.sh:3261: checking for c++ configure.sh:3291: result: no configure.sh:3261: checking for gpp configure.sh:3291: result: no configure.sh:3261: checking for aCC configure.sh:3291: result: no configure.sh:3261: checking for CC configure.sh:3291: result: no configure.sh:3261: checking for cxx configure.sh:3291: result: no configure.sh:3261: checking for cc++ configure.sh:3291: result: no configure.sh:3261: checking for cl.exe configure.sh:3291: result: no configure.sh:3261: checking for FCC configure.sh:3291: result: no configure.sh:3261: checking for KCC configure.sh:3291: result: no configure.sh:3261: checking for RCC configure.sh:3291: result: no configure.sh:3261: checking for xlC_r configure.sh:3291: result: no configure.sh:3261: checking for xlC configure.sh:3291: result: no configure.sh:3315: checking for C++ compiler version configure.sh:3324: g++ --version >&5 ./configure.sh: line 3326: g++: command not found configure.sh:3335: $? = 127 configure.sh:3324: g++ -v >&5 ./configure.sh: line 3326: g++: command not found configure.sh:3335: $? = 127 configure.sh:3324: g++ -V >&5 ./configure.sh: line 3326: g++: command not found configure.sh:3335: $? = 127 configure.sh:3324: g++ -qversion >&5 ./configure.sh: line 3326: g++: command not found configure.sh:3335: $? = 127 configure.sh:3339: checking whether we are using the GNU C++ compiler configure.sh:3358: g++ -c conftest.cpp >&5 ./configure.sh: line 1446: g++: command not found configure.sh:3358: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure.sh:3367: result: no configure.sh:3376: checking whether g++ accepts -g configure.sh:3396: g++ -c -g conftest.cpp >&5 ./configure.sh: line 1446: g++: command not found configure.sh:3396: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure.sh:3411: g++ -c conftest.cpp >&5 ./configure.sh: line 1446: g++: command not found configure.sh:3411: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure.sh:3427: g++ -c -g conftest.cpp >&5 ./configure.sh: line 1446: g++: command not found configure.sh:3427: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure.sh:3437: result: no configure.sh:3466: checking how to run the C++ preprocessor configure.sh:3493: g++ -E conftest.cpp ./configure.sh: line 1525: g++: command not found configure.sh:3493: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3493: g++ -E conftest.cpp ./configure.sh: line 1525: g++: command not found configure.sh:3493: $? = 127 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3493: /lib/cpp conftest.cpp cpp: error trying to exec 'cc1plus': execvp: No such file or directory configure.sh:3493: $? = 1 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3493: /lib/cpp conftest.cpp cpp: error trying to exec 'cc1plus': execvp: No such file or directory configure.sh:3493: $? = 1 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3532: result: /lib/cpp configure.sh:3552: /lib/cpp conftest.cpp cpp: error trying to exec 'cc1plus': execvp: No such file or directory configure.sh:3552: $? = 1 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3552: /lib/cpp conftest.cpp cpp: error trying to exec 'cc1plus': execvp: No such file or directory configure.sh:3552: $? = 1 configure.sh: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "simutrans" | #define PACKAGE_TARNAME "simutrans" | #define PACKAGE_VERSION "version-0.1" | #define PACKAGE_STRING "simutrans version-0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure.sh:3582: error: in `/home/centos/Desktop/simutrans-src-120-1-3': configure.sh:3584: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= 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_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_OBJCXXCPP_set= ac_cv_env_OBJCXXCPP_value= ac_cv_env_OBJCXXFLAGS_set= ac_cv_env_OBJCXXFLAGS_value= ac_cv_env_OBJCXX_set= ac_cv_env_OBJCXX_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_objext=o ac_cv_prog_CXXCPP=/lib/cpp ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=no ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='gcc' CFLAGS='-g -O2' CPPFLAGS='' CXX='g++' CXXCPP='/lib/cpp' CXXFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GREP='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJCXX='' OBJCXXCPP='' OBJCXXFLAGS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='simutrans' PACKAGE_STRING='simutrans version-0.1' PACKAGE_TARNAME='simutrans' PACKAGE_URL='' PACKAGE_VERSION='version-0.1' PATH_SEPARATOR=':' SHELL='/bin/sh' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_OBJCXX='' backend='' bindir='${exec_prefix}/bin' build_alias='' color='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' endian='' exec_prefix='NONE' flags='' freetype2='' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' multithread='' oldincludedir='/usr/include' os_type='' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' svn='' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "simutrans" #define PACKAGE_TARNAME "simutrans" #define PACKAGE_VERSION "version-0.1" #define PACKAGE_STRING "simutrans version-0.1" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure.sh: exit 1