Skip to content

Instantly share code, notes, and snippets.

@hartzell
Created March 28, 2017 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hartzell/35c9ddacaf6e1944799ab9f984c35ed4 to your computer and use it in GitHub Desktop.
Save hartzell/35c9ddacaf6e1944799ab9f984c35ed4 to your computer and use it in GitHub Desktop.
fragment of config.log from spack configure htop
configure:12733: checking for addnwstr in -lncursesw
configure:12758: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -o conftest -g -O2 -lncursesw -ltinfo conftest.c -lncursesw -lm >&5
configure:12758: $? = 0
configure:12767: result: yes
configure:12998: checking ncursesw/curses.h usability
configure:12998: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:82:0:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:60:38: error: conflicting types for 'unctrl'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
In file included from /usr/include/curses.h:1989:0,
from conftest.c:82:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:57:38: note: previous declaration of 'unctrl' was here
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
^
configure:12998: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "htop"
| #define PACKAGE_TARNAME "htop"
| #define PACKAGE_VERSION "2.0.2"
| #define PACKAGE_STRING "htop 2.0.2"
| #define PACKAGE_BUGREPORT "hisham@gobolinux.org"
| #define PACKAGE_URL ""
| #define PACKAGE "htop"
| #define VERSION "2.0.2"
| #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
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRSTR 1
| #define HAVE_STRDUP 1
| #define PROCDIR "/proc"
| #define HAVE_TASKSTATS 1
| #define HAVE_LIBNCURSESW 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncursesw/curses.h>
configure:12998: result: no
configure:12998: checking ncursesw/curses.h presence
configure:12998: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -E conftest.c
configure:12998: $? = 0
configure:12998: result: yes
configure:12998: WARNING: ncursesw/curses.h: present but cannot be compiled
configure:12998: WARNING: ncursesw/curses.h: check for missing prerequisite headers?
configure:12998: WARNING: ncursesw/curses.h: see the Autoconf documentation
configure:12998: WARNING: ncursesw/curses.h: section "Present But Cannot Be Compiled"
configure:12998: WARNING: ncursesw/curses.h: proceeding with the compiler's result
configure:12998: checking for ncursesw/curses.h
configure:12998: result: no
configure:13007: checking ncurses/ncurses.h usability
configure:13007: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:82:0:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:60:38: error: conflicting types for 'unctrl'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
In file included from /usr/include/curses.h:1989:0,
from conftest.c:82:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:57:38: note: previous declaration of 'unctrl' was here
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
^
configure:13007: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "htop"
| #define PACKAGE_TARNAME "htop"
| #define PACKAGE_VERSION "2.0.2"
| #define PACKAGE_STRING "htop 2.0.2"
| #define PACKAGE_BUGREPORT "hisham@gobolinux.org"
| #define PACKAGE_URL ""
| #define PACKAGE "htop"
| #define VERSION "2.0.2"
| #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
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRSTR 1
| #define HAVE_STRDUP 1
| #define PROCDIR "/proc"
| #define HAVE_TASKSTATS 1
| #define HAVE_LIBNCURSESW 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/ncurses.h>
configure:13007: result: no
configure:13007: checking ncurses/ncurses.h presence
configure:13007: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -E conftest.c
configure:13007: $? = 0
configure:13007: result: yes
configure:13007: WARNING: ncurses/ncurses.h: present but cannot be compiled
configure:13007: WARNING: ncurses/ncurses.h: check for missing prerequisite headers?
configure:13007: WARNING: ncurses/ncurses.h: see the Autoconf documentation
configure:13007: WARNING: ncurses/ncurses.h: section "Present But Cannot Be Compiled"
configure:13007: WARNING: ncurses/ncurses.h: proceeding with the compiler's result
configure:13007: checking for ncurses/ncurses.h
configure:13007: result: no
configure:13016: checking ncurses/curses.h usability
configure:13016: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:82:0:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:60:38: error: conflicting types for 'unctrl'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
In file included from /usr/include/curses.h:1989:0,
from conftest.c:82:
/home/hartzelg/tmp/spack/opt/spack/linux-centos7-x86_64/gcc-5.4.0/ncurses-6.0-43qxlcy2renpowsmlfbhqfek2bckj36m/include/unctrl.h:57:38: note: previous declaration of 'unctrl' was here
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
^
configure:13016: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "htop"
| #define PACKAGE_TARNAME "htop"
| #define PACKAGE_VERSION "2.0.2"
| #define PACKAGE_STRING "htop 2.0.2"
| #define PACKAGE_BUGREPORT "hisham@gobolinux.org"
| #define PACKAGE_URL ""
| #define PACKAGE "htop"
| #define VERSION "2.0.2"
| #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
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRSTR 1
| #define HAVE_STRDUP 1
| #define PROCDIR "/proc"
| #define HAVE_TASKSTATS 1
| #define HAVE_LIBNCURSESW 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ncurses/curses.h>
configure:13016: result: no
configure:13016: checking ncurses/curses.h presence
configure:13016: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -E conftest.c
configure:13016: $? = 0
configure:13016: result: yes
configure:13016: WARNING: ncurses/curses.h: present but cannot be compiled
configure:13016: WARNING: ncurses/curses.h: check for missing prerequisite headers?
configure:13016: WARNING: ncurses/curses.h: see the Autoconf documentation
configure:13016: WARNING: ncurses/curses.h: section "Present But Cannot Be Compiled"
configure:13016: WARNING: ncurses/curses.h: proceeding with the compiler's result
configure:13016: checking for ncurses/curses.h
configure:13016: result: no
configure:13025: checking ncurses.h usability
configure:13025: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -c -g -O2 conftest.c >&5
configure:13025: $? = 0
configure:13025: result: yes
configure:13025: checking ncurses.h presence
configure:13025: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -E conftest.c
configure:13025: $? = 0
configure:13025: result: yes
configure:13025: checking for ncurses.h
configure:13025: result: yes
configure:13436: checking for usable sched_setaffinity
configure:13464: /home/hartzelg/tmp/spack/lib/spack/env/gcc/gcc -o conftest -g -O2 conftest.c -lncursesw -ltinfo -lm >&5
configure:13464: $? = 0
configure:13464: ./conftest
configure:13464: $? = 0
configure:13465: result: yes
configure:13724: checking that generated files are newer than configure
configure:13730: result: done
configure:13773: creating ./config.status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment