This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Haskell terminfo package configure 0.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ configure --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share/ --with-gcc=/usr/bin/gcc ## --------- ## ## Platform. ## ## --------- ## hostname = RD-OC uname -m = x86_64 uname -r = 3.7.4-gentoo uname -s = Linux uname -v = #1 SMP PREEMPT Mon Feb 4 11:49:44 EET 2013 /usr/bin/uname -p = Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz /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: /usr/lib64/portage/bin/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2 PATH: /opt/nvidia-cg-toolkit/bin PATH: /opt/cuda/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2117: checking for gcc configure:2133: found /usr/bin/gcc configure:2144: result: gcc configure:2373: checking for C compiler version configure:2382: gcc --version >&5 gcc (Gentoo 4.7.2 p1.3, pie-0.5.5) 4.7.2 Copyright (C) 2012 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:2393: $? = 0 configure:2382: gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.2/python --enable-checking=release --enable-java-awt=gtk --enable-libstdcxx-time --enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.2 p1.3, pie-0.5.5' Thread model: posix gcc version 4.7.2 (Gentoo 4.7.2 p1.3, pie-0.5.5) configure:2393: $? = 0 configure:2382: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2393: $? = 1 configure:2382: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2393: $? = 1 configure:2413: checking whether the C compiler works configure:2435: gcc -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2439: $? = 0 configure:2487: result: yes configure:2490: checking for C compiler default output file name configure:2492: result: a.out configure:2498: checking for suffix of executables configure:2505: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2509: $? = 0 configure:2531: result: configure:2553: checking whether we are cross compiling configure:2561: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2565: $? = 0 configure:2572: ./conftest configure:2576: $? = 0 configure:2591: result: no configure:2596: checking for suffix of object files configure:2618: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:2622: $? = 0 configure:2643: result: o configure:2647: checking whether we are using the GNU C compiler configure:2666: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:2666: $? = 0 configure:2675: result: yes configure:2684: checking whether gcc accepts -g configure:2704: gcc -c -g conftest.c >&5 configure:2704: $? = 0 configure:2745: result: yes configure:2762: checking for gcc option to accept ISO C89 configure:2825: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:2825: $? = 0 configure:2838: result: none needed configure:2865: checking how to run the C preprocessor configure:2896: gcc -E conftest.c configure:2896: $? = 0 configure:2910: gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:2910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Haskell terminfo package" | #define PACKAGE_TARNAME "terminfo" | #define PACKAGE_VERSION "0.2" | #define PACKAGE_STRING "Haskell terminfo package 0.2" | #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:2935: result: gcc -E configure:2955: gcc -E conftest.c configure:2955: $? = 0 configure:2969: gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:2969: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Haskell terminfo package" | #define PACKAGE_TARNAME "terminfo" | #define PACKAGE_VERSION "0.2" | #define PACKAGE_STRING "Haskell terminfo package 0.2" | #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:2998: checking for grep that handles long lines and -e configure:3056: result: /bin/grep configure:3061: checking for egrep configure:3123: result: /bin/grep -E configure:3128: checking for ANSI C header files configure:3148: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3148: $? = 0 configure:3221: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3221: $? = 0 configure:3221: ./conftest configure:3221: $? = 0 configure:3232: result: yes configure:3245: checking for sys/types.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for sys/stat.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for stdlib.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for string.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for memory.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for strings.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for inttypes.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for stdint.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3245: checking for unistd.h configure:3245: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3245: $? = 0 configure:3245: result: yes configure:3257: checking ncurses.h usability configure:3257: gcc -c -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads conftest.c >&5 configure:3257: $? = 0 configure:3257: result: yes configure:3257: checking ncurses.h presence configure:3257: gcc -E conftest.c configure:3257: $? = 0 configure:3257: result: yes configure:3257: checking for ncurses.h configure:3257: result: yes configure:3283: checking for setupterm in -lncursesw configure:3308: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c -lncursesw >&5 /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/temp/cchgOke3.o: In function `main': /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/work/terminfo-0.3.2.5/conftest.c:30: undefined reference to `setupterm' collect2: error: ld returned 1 exit status configure:3308: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Haskell terminfo package" | #define PACKAGE_TARNAME "terminfo" | #define PACKAGE_VERSION "0.2" | #define PACKAGE_STRING "Haskell terminfo package 0.2" | #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char setupterm (); | int | main () | { | return setupterm (); | ; | return 0; | } configure:3317: result: no configure:3322: checking for setupterm in -lncurses configure:3347: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c -lncurses >&5 /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/temp/cc3UQLba.o: In function `main': /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/work/terminfo-0.3.2.5/conftest.c:30: undefined reference to `setupterm' collect2: error: ld returned 1 exit status configure:3347: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Haskell terminfo package" | #define PACKAGE_TARNAME "terminfo" | #define PACKAGE_VERSION "0.2" | #define PACKAGE_STRING "Haskell terminfo package 0.2" | #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char setupterm (); | int | main () | { | return setupterm (); | ; | return 0; | } configure:3356: result: no configure:3361: checking for setupterm in -lcurses configure:3386: gcc -o conftest -march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Wl,-O1 -Wl,--as-needed conftest.c -lcurses >&5 /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/temp/ccMV7Hbh.o: In function `main': /var/tmp/portage/dev-haskell/terminfo-0.3.2.5/work/terminfo-0.3.2.5/conftest.c:30: undefined reference to `setupterm' collect2: error: ld returned 1 exit status configure:3386: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Haskell terminfo package" | #define PACKAGE_TARNAME "terminfo" | #define PACKAGE_VERSION "0.2" | #define PACKAGE_STRING "Haskell terminfo package 0.2" | #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char setupterm (); | int | main () | { | return setupterm (); | ; | return 0; | } configure:3395: result: no configure:3409: error: in `/var/tmp/portage/dev-haskell/terminfo-0.3.2.5/work/terminfo-0.3.2.5': configure:3411: error: curses library not found, so this package cannot be built See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' 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_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_ncurses_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lib_curses_setupterm=no ac_cv_lib_ncurses_setupterm=no ac_cv_lib_ncursesw_setupterm=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='gcc' CFLAGS='-march=native -mtune=native -O3 -pipe -ggdb -Wl,--hash-size=31 -Wl,--reduce-memory-overheads' CPP='gcc -E' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS='' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='judah dot jacobson at gmail dot com' PACKAGE_NAME='Haskell terminfo package' PACKAGE_STRING='Haskell terminfo package 0.2' PACKAGE_TARNAME='terminfo' PACKAGE_URL='' PACKAGE_VERSION='0.2' PATH_SEPARATOR=':' SHELL='/bin/sh' TERMINFO_INCLUDES='ncurses.h term.h' TERMINFO_INCLUDE_DIRS='' TERMINFO_LIB='' TERMINFO_LIB_DIRS='' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build_alias='' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' 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 "Haskell terminfo package" #define PACKAGE_TARNAME "terminfo" #define PACKAGE_VERSION "0.2" #define PACKAGE_STRING "Haskell terminfo package 0.2" #define PACKAGE_BUGREPORT "judah dot jacobson at gmail dot com" #define PACKAGE_URL "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 configure: exit 1