Closed rogerxx closed 11 years ago
Can you show me the output of ./configure without "--enable-kmscon"? It would also be nice to see "config.log".
Thanks! David
On Sun, Nov 04, 2012 at 03:59:00AM -0800, David Herrmann wrote: Can you show me the output of ./configure without "--enable-kmscon"? It would also be nice to see "config.log".
Thanks! David
— Reply to this email directly or [1]view it on GitHub.
[2][IMG]
References
Visible links
Your email here has "noreply" within it, so I would like an email address I can send the three log files too, or enable me to attach text log files to the github.
Attached are the three log files in an attempt to send anyways.
Roger
http://rogerx.freeshell.org/
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, build-aux'. libtoolize: copying file
build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: copying file
m4/libtool.m4'
libtoolize: copying file m4/ltoptions.m4' libtoolize: copying file
m4/ltsugar.m4'
libtoolize: copying file m4/ltversion.m4' libtoolize: copying file
m4/lt~obsolete.m4'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XKBCOMMON... no
checking for WAYLAND... no
checking for SYSTEMD... no
checking for UDEV... yes
checking for DBUS... yes
checking for DRM... yes
checking for GBM... no
checking for EGL... yes
checking for GLES2... no
checking for FREETYPE2... yes
checking for PANGO... yes
checking for FUSE... yes
checking for PCIACCESS... yes
checking whether user wants eloop... no (default)
checking whether user wants TSM... no (default)
checking whether user wants uterm... no (default)
checking whether user wants kmscon... yes (default)
checking whether user wants wlterm... yes (default)
checking whether to build with debugging on... yes (default)
checking whether to disable code optimizations... yes (default)
checking whether user wants systemd for multi-seat support... yes (default)
checking whether user wants udev for device hotplug support... yes (default)
checking whether user wants pciaccess device detection... yes (default)
checking whether user wants eloop dbus support... no (default)
checking which video backends the user wants... fbdev,dumb,drm (default)
checking which render backends the user wants... bblit,bbulk,gltex (default)
checking which font backends the user wants... 8x16,freetype2,pango (default)
checking which sessions the user wants... dummy,terminal,cdev (default)
checking whether _Static_assert() is supported... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/libeloop.pc
config.status: creating src/libtsm.pc
config.status: creating src/libuterm.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Build configuration:
Applications and Libraries: kmscon: no (no) wlterm: no (no) uterm: no (yes) tsm: no (no) eloop: no (yes)
Miscellaneous Options: debug: yes (yes) optimizations: yes (yes) multi-seat: no (no) hotplug: yes (yes) pciaccess: yes (yes) eloop-dbus: no (yes)
Video Backends: fbdev: yes (yes) dumb drm: yes (yes) drm: no (no)
Font Backends: 8x16: yes (yes) unifont: no (yes) freetype2: yes (yes) pango: yes (yes)
Renderers: bblit: yes (yes) bbulk: yes (yes) gltex: no (no)
Session Types: dummy: yes (yes) terminal: no (no) cdev: no (no) compositor: no (no)
Run "make" to start compilation process
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XKBCOMMON... no checking for WAYLAND... no checking for SYSTEMD... no checking for UDEV... yes checking for DBUS... yes checking for DRM... yes checking for GBM... no checking for EGL... yes checking for GLES2... no checking for FREETYPE2... yes checking for PANGO... yes checking for FUSE... yes checking for PCIACCESS... yes checking whether user wants eloop... no (default) checking whether user wants TSM... no (default) checking whether user wants uterm... no (default) checking whether user wants kmscon... yes (default) checking whether user wants wlterm... yes (default) checking whether to build with debugging on... yes (default) checking whether to disable code optimizations... yes (default) checking whether user wants systemd for multi-seat support... yes (default) checking whether user wants udev for device hotplug support... yes (default) checking whether user wants pciaccess device detection... yes (default) checking whether user wants eloop dbus support... no (default) checking which video backends the user wants... fbdev,dumb,drm (default) checking which render backends the user wants... bblit,bbulk,gltex (default) checking which font backends the user wants... 8x16,freetype2,pango (default) checking which sessions the user wants... dummy,terminal,cdev (default) checking whether _Static_assert() is supported... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/libeloop.pc config.status: creating src/libtsm.pc config.status: creating src/libuterm.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: Build configuration:
Applications and Libraries: kmscon: no (no) wlterm: no (no) uterm: no (yes) tsm: no (no) eloop: no (yes)
Miscellaneous Options: debug: yes (yes) optimizations: yes (yes) multi-seat: no (no) hotplug: yes (yes) pciaccess: yes (yes) eloop-dbus: no (yes)
Video Backends: fbdev: yes (yes) dumb drm: yes (yes) drm: no (no)
Font Backends: 8x16: yes (yes) unifont: no (yes) freetype2: yes (yes) pango: yes (yes)
Renderers: bblit: yes (yes) bbulk: yes (yes) gltex: no (no)
Session Types: dummy: yes (yes) terminal: no (no) cdev: no (no) compositor: no (no)
Run "make" to start compilation process
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by kmscon configure 5, which was generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
hostname = localhost4.local uname -m = x86_64 uname -r = 3.5.7-gentoo uname -s = Linux uname -v = #8 SMP Sat Nov 3 22:06:02 AKDT 2012
/usr/bin/uname -p = Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz /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: /home/roger/bin PATH: /usr/games/bin PATH: /home/roger/bin PATH: /usr/games/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4 PATH: /usr/games/bin
configure:2411: checking for a BSD-compatible install configure:2479: result: /usr/bin/install -c configure:2490: checking whether build environment is sane configure:2540: result: yes configure:2681: checking for a thread-safe mkdir -p configure:2720: result: /bin/mkdir -p configure:2733: checking for gawk configure:2749: found /usr/bin/gawk configure:2760: result: gawk configure:2771: checking whether make sets $(MAKE) configure:2793: result: yes configure:2868: checking how to create a pax tar archive configure:2881: tar --version tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason. configure:2884: $? = 0 configure:2924: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar configure:2927: $? = 0 configure:2931: tar -xf - <conftest.tar configure:2934: $? = 0 configure:2947: result: gnutar configure:2965: checking whether make supports nested variables configure:2982: result: yes configure:3014: checking for style of include used by make configure:3042: result: GNU configure:3113: checking for gcc configure:3129: found /usr/bin/gcc configure:3140: result: gcc configure:3369: checking for C compiler version configure:3378: gcc --version >&5 gcc (Gentoo 4.5.4 p1.0, pie-0.4.7) 4.5.4 Copyright (C) 2010 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:3389: $? = 0
configure:3378: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,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.5.4 p1.0, pie-0.4.7'
Thread model: posix
gcc version 4.5.4 (Gentoo 4.5.4 p1.0, pie-0.4.7)
configure:3389: $? = 0
configure:3378: gcc -V >&5
gcc: '-V' option must have argument
configure:3389: $? = 1
configure:3378: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3389: $? = 1
configure:3409: checking whether the C compiler works
configure:3431: gcc conftest.c >&5
configure:3435: $? = 0
configure:3483: result: yes
configure:3486: checking for C compiler default output file name
configure:3488: result: a.out
configure:3494: checking for suffix of executables
configure:3501: gcc -o conftest conftest.c >&5
configure:3505: $? = 0
configure:3527: result:
configure:3549: checking whether we are cross compiling
configure:3557: gcc -o conftest conftest.c >&5
configure:3561: $? = 0
configure:3568: ./conftest
configure:3572: $? = 0
configure:3587: result: no
configure:3592: checking for suffix of object files
configure:3614: gcc -c conftest.c >&5
configure:3618: $? = 0
configure:3639: result: o
configure:3643: checking whether we are using the GNU C compiler
configure:3662: gcc -c conftest.c >&5
configure:3662: $? = 0
configure:3671: result: yes
configure:3680: checking whether gcc accepts -g
configure:3700: gcc -c -g conftest.c >&5
configure:3700: $? = 0
configure:3741: result: yes
configure:3758: checking for gcc option to accept ISO C89
configure:3822: gcc -c conftest.c >&5
configure:3822: $? = 0
configure:3835: result: none needed
configure:3857: checking dependency style of gcc
configure:3968: result: gcc3
configure:3989: checking how to run the C preprocessor
configure:4020: gcc -E conftest.c
configure:4020: $? = 0
configure:4034: gcc -E conftest.c
conftest.c:11:28: fatal error: acnonexistent.h: No such file or directory
compilation terminated.
configure:4034: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "kmscon"
| #define PACKAGE_TARNAME "kmscon"
| #define PACKAGE_VERSION "5"
| #define PACKAGE_STRING "kmscon 5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGEURL ""
| #define PACKAGE "kmscon"
| #define VERSION "5"
| / end confdefs.h. _/
| #include
configure:4766: $? = 0 configure:4755: gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,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.5.4 p1.0, pie-0.4.7' Thread model: posix gcc version 4.5.4 (Gentoo 4.5.4 p1.0, pie-0.4.7) configure:4766: $? = 0 configure:4755: gcc -V >&5 gcc: '-V' option must have argument configure:4766: $? = 1 configure:4755: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4766: $? = 1 configure:4770: checking whether we are using the GNU C compiler configure:4798: result: yes configure:4807: checking whether gcc accepts -g configure:4868: result: yes configure:4885: checking for gcc option to accept ISO C89 configure:4962: result: none needed configure:4984: checking dependency style of gcc configure:5095: result: gcc3 configure:5110: checking for gcc option to accept ISO C99 configure:5259: gcc -c conftest.c >&5 conftest.c:76:29: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:130:18: error: expected '=', ',', ';', 'asm' or '__attribute' before 'newvar' conftest.c:130:18: error: 'newvar' undeclared (first use in this function) conftest.c:130:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:140:3: error: 'for' loop initial declarations are only allowed in C99 mode conftest.c:140:3: note: use option -std=c99 or -std=gnu99 to compile your code configure:5259: $? = 1 configure: failed program was: | /* confdefs.h _/ | #define PACKAGE_NAME "kmscon" | #define PACKAGE_TARNAME "kmscon" | #define PACKAGE_VERSION "5" | #define PACKAGE_STRING "kmscon 5" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "kmscon" | #define VERSION "5" | #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 | / end confdefs.h. / | #include |
#include |
#include |
#include |
#include |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Check varargs macros. These examples are taken from C99 6.10.3.5. | ||||||||||||||||||||||||||||||
#define debug(...) fprintf (stderr, VA_ARGS) | ||||||||||||||||||||||||||||||
#define showlist(...) puts (#VA_ARGS) | ||||||||||||||||||||||||||||||
#define report(test,...) ((test) ? puts (#test) : printf (VA_ARGS)) | ||||||||||||||||||||||||||||||
static void | ||||||||||||||||||||||||||||||
test_varargs_macros (void) | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
int x = 1234; | ||||||||||||||||||||||||||||||
int y = 5678; | ||||||||||||||||||||||||||||||
debug ("Flag"); | ||||||||||||||||||||||||||||||
debug ("X = %d\n", x); | ||||||||||||||||||||||||||||||
showlist (The first, second, and third items.); | ||||||||||||||||||||||||||||||
report (x>y, "x is %d but y is %d", x, y); | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
// Check long long types. | ||||||||||||||||||||||||||||||
#define BIG64 18446744073709551615ull | ||||||||||||||||||||||||||||||
#define BIG32 4294967295ul | ||||||||||||||||||||||||||||||
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | ||||||||||||||||||||||||||||||
#if !BIG_OK | ||||||||||||||||||||||||||||||
your preprocessor is broken; | ||||||||||||||||||||||||||||||
#endif | ||||||||||||||||||||||||||||||
#if BIG_OK | ||||||||||||||||||||||||||||||
#else | ||||||||||||||||||||||||||||||
your preprocessor is broken; | ||||||||||||||||||||||||||||||
#endif | ||||||||||||||||||||||||||||||
static long long int bignum = -9223372036854775807LL; | ||||||||||||||||||||||||||||||
static unsigned long long int ubignum = BIG64; | ||||||||||||||||||||||||||||||
struct incomplete_array | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
int datasize; | ||||||||||||||||||||||||||||||
double data[]; | ||||||||||||||||||||||||||||||
}; | ||||||||||||||||||||||||||||||
struct named_init { | ||||||||||||||||||||||||||||||
int number; | ||||||||||||||||||||||||||||||
const wchar_t *name; | ||||||||||||||||||||||||||||||
double average; | ||||||||||||||||||||||||||||||
}; | ||||||||||||||||||||||||||||||
typedef const char *ccp; | ||||||||||||||||||||||||||||||
static inline int | ||||||||||||||||||||||||||||||
test_restrict (ccp restrict text) | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
// See if C++-style comments work. | ||||||||||||||||||||||||||||||
// Iterate through items via the restricted pointer. | ||||||||||||||||||||||||||||||
// Also check for declarations in for loops. | ||||||||||||||||||||||||||||||
for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ||||||||||||||||||||||||||||||
continue; | ||||||||||||||||||||||||||||||
return 0; | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
// Check varargs and va_copy. | ||||||||||||||||||||||||||||||
static void | ||||||||||||||||||||||||||||||
test_varargs (const char *format, ...) | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
va_list args; | ||||||||||||||||||||||||||||||
va_start (args, format); | ||||||||||||||||||||||||||||||
va_list args_copy; | ||||||||||||||||||||||||||||||
va_copy (args_copy, args); | ||||||||||||||||||||||||||||||
const char *str; | ||||||||||||||||||||||||||||||
int number; | ||||||||||||||||||||||||||||||
float fnumber; | ||||||||||||||||||||||||||||||
while (_format) | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
switch (_format++) | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
case 's': // string | ||||||||||||||||||||||||||||||
str = va_arg (args_copy, const char *); | ||||||||||||||||||||||||||||||
break; | ||||||||||||||||||||||||||||||
case 'd': // int | ||||||||||||||||||||||||||||||
number = va_arg (args_copy, int); | ||||||||||||||||||||||||||||||
break; | ||||||||||||||||||||||||||||||
case 'f': // float | ||||||||||||||||||||||||||||||
fnumber = va_arg (args_copy, double); | ||||||||||||||||||||||||||||||
break; | ||||||||||||||||||||||||||||||
default: | ||||||||||||||||||||||||||||||
break; | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
va_end (args_copy); | ||||||||||||||||||||||||||||||
va_end (args); | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
int | ||||||||||||||||||||||||||||||
main () | ||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||
// Check bool. | ||||||||||||||||||||||||||||||
_Bool success = false; | ||||||||||||||||||||||||||||||
// Check restrict. | ||||||||||||||||||||||||||||||
if (test_restrict ("String literal") == 0) | ||||||||||||||||||||||||||||||
success = true; | ||||||||||||||||||||||||||||||
char *restrict newvar = "Another string"; | ||||||||||||||||||||||||||||||
// Check varargs. | ||||||||||||||||||||||||||||||
test_varargs ("s, d' f .", "string", 65, 34.234); | ||||||||||||||||||||||||||||||
test_varargs_macros (); | ||||||||||||||||||||||||||||||
// Check flexible array members. | ||||||||||||||||||||||||||||||
struct incomplete_array *ia = | ||||||||||||||||||||||||||||||
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ||||||||||||||||||||||||||||||
ia->datasize = 10; | ||||||||||||||||||||||||||||||
for (int i = 0; i < ia->datasize; ++i) | ||||||||||||||||||||||||||||||
ia->data[i] = i * 1.234; | ||||||||||||||||||||||||||||||
// Check named initializers. | ||||||||||||||||||||||||||||||
struct named_init ni = { | ||||||||||||||||||||||||||||||
.number = 34, | ||||||||||||||||||||||||||||||
.name = L"Test wide string", | ||||||||||||||||||||||||||||||
.average = 543.34343, | ||||||||||||||||||||||||||||||
}; | ||||||||||||||||||||||||||||||
ni.number = 58; | ||||||||||||||||||||||||||||||
int dynamic_array[ni.number]; | ||||||||||||||||||||||||||||||
dynamic_array[ni.number - 1] = 543; | ||||||||||||||||||||||||||||||
// work around unused variable warnings | ||||||||||||||||||||||||||||||
return (!success | bignum == 0LL | ubignum == 0uLL | newvar[0] == 'x' | |||||||||||||||||||||||||||
dynamic_array[ni.number - 1] != 543); | ||||||||||||||||||||||||||||||
; | ||||||||||||||||||||||||||||||
return 0; | ||||||||||||||||||||||||||||||
} |
configure:5259: gcc -std=gnu99 -c conftest.c >&5
configure:5259: $? = 0
configure:5279: result: -std=gnu99
configure:5288: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:5319: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:5323: $? = 0
configure:5329: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:5333: $? = 0
configure:5344: cc -c conftest.c >&5
configure:5348: $? = 0
configure:5356: cc -c conftest.c -o conftest2.o >&5
configure:5360: $? = 0
configure:5366: cc -c conftest.c -o conftest2.o >&5
configure:5370: $? = 0
configure:5388: result: yes
configure:5462: checking for ar
configure:5478: found /usr/bin/ar
configure:5489: result: ar
configure:5515: checking the archiver (ar) interface
configure:5525: gcc -std=gnu99 -c conftest.c >&5
configure:5525: $? = 0
configure:5527: ar cru libconftest.a conftest.o >&5
configure:5530: $? = 0
configure:5553: result: ar
configure:5604: checking build system type
configure:5618: result: x86_64-unknown-linux-gnu
configure:5638: checking host system type
configure:5651: result: x86_64-unknown-linux-gnu
configure:5692: checking how to print strings
configure:5719: result: printf
configure:5740: checking for a sed that does not truncate output
configure:5804: result: /bin/sed
configure:5822: checking for fgrep
configure:5884: result: /bin/grep -F
configure:5919: checking for ld used by gcc -std=gnu99
configure:5986: result: /usr/libexec/gcc/x86_64-pc-linux-gnu/ld
configure:5993: checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld
configure:6008: result: yes
configure:6020: checking for BSD- or MS-compatible name lister (nm)
configure:6069: result: /usr/bin/nm -B
configure:6199: checking the name lister (/usr/bin/nm -B) interface
configure:6206: gcc -std=gnu99 -c conftest.c >&5
configure:6209: /usr/bin/nm -B "conftest.o"
configure:6212: output
0000000000000000 B some_variable
configure:6219: result: BSD nm
configure:6222: checking whether ln -s works
configure:6226: result: yes
configure:6234: checking the maximum length of command line arguments
configure:6359: result: 1572864
configure:6376: checking whether the shell understands some XSI constructs
configure:6386: result: yes
configure:6390: checking whether the shell understands "+="
configure:6396: result: yes
configure:6431: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:6471: result: func_convert_file_noop
configure:6478: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:6498: result: func_convert_file_noop
configure:6505: checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files
configure:6512: result: -r
configure:6586: checking for objdump
configure:6602: found /usr/bin/objdump
configure:6613: result: objdump
configure:6645: checking how to recognize dependent libraries
configure:6847: result: passall
configure:6932: checking for dlltool
configure:6962: result: no
configure:6992: checking how to associate runtime and link libraries
configure:7019: result: printf %s\n
configure:7143: checking for archiver @FILE support
configure:7160: gcc -std=gnu99 -c conftest.c >&5
configure:7160: $? = 0
configure:7163: ar cru libconftest.a @conftest.lst >&5
configure:7166: $? = 0
configure:7171: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:7174: $? = 1
configure:7186: result: @
configure:7244: checking for strip
configure:7260: found /usr/bin/strip
configure:7271: result: strip
configure:7343: checking for ranlib
configure:7359: found /usr/bin/ranlib
configure:7370: result: ranlib
configure:7472: checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object
configure:7591: gcc -std=gnu99 -c conftest.c >&5
configure:7594: $? = 0
configure:7598: /usr/bin/nm -B conftest.o | sed -n -e 's/^. [ ][ ]_([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p' | sed '/ gnu_lto/d' > conftest.nm
configure:7601: $? = 0
configure:7667: gcc -std=gnu99 -o conftest conftest.c conftstm.o >&5
configure:7670: $? = 0
configure:7708: result: ok
configure:7745: checking for sysroot
configure:7775: result: no
configure:7852: gcc -std=gnu99 -c conftest.c >&5
configure:7855: $? = 0
configure:8018: checking for mt
configure:8048: result: no
configure:8068: checking if : is a manifest tool
configure:8074: : '-?'
configure:8082: result: no
configure:8711: checking for dlfcn.h
configure:8711: gcc -std=gnu99 -c conftest.c >&5
configure:8711: $? = 0
configure:8711: result: yes
configure:8898: checking for objdir
configure:8913: result: .libs
configure:9184: checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions
configure:9202: gcc -std=gnu99 -c -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:9206: $? = 0
configure:9219: result: no
configure:9529: checking for gcc -std=gnu99 option to produce PIC
configure:9536: result: -fPIC -DPIC
configure:9544: checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works
configure:9562: gcc -std=gnu99 -c -fPIC -DPIC -DPIC conftest.c >&5
configure:9566: $? = 0
configure:9579: result: yes
configure:9608: checking if gcc -std=gnu99 static flag -static works
configure:9636: result: yes
configure:9651: checking if gcc -std=gnu99 supports -c -o file.o
configure:9672: gcc -std=gnu99 -c -o out/conftest2.o conftest.c >&5
configure:9676: $? = 0
configure:9698: result: yes
configure:9706: checking if gcc -std=gnu99 supports -c -o file.o
configure:9753: result: yes
configure:9786: checking whether the gcc -std=gnu99 linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries
configure:10944: result: yes
configure:10981: checking whether -lc should be explicitly linked in
configure:10989: gcc -std=gnu99 -c conftest.c >&5
configure:10992: $? = 0
configure:11007: gcc -std=gnu99 -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | /bin/grep -lc >/dev/null 2>&1
configure:11010: $? = 0
configure:11024: result: no
configure:11189: checking dynamic linker characteristics
configure:11716: gcc -std=gnu99 -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
configure:11716: $? = 0
configure:11938: result: GNU/Linux ld.so
configure:12045: checking how to hardcode library paths into programs
configure:12070: result: immediate
configure:12610: checking whether stripping libraries is possible
configure:12615: result: yes
configure:12650: checking if libtool supports shared libraries
configure:12652: result: yes
configure:12655: checking whether to build shared libraries
configure:12676: result: yes
configure:12679: checking whether to build static libraries
configure:12683: result: yes
configure:12784: checking for pkg-config
configure:12802: found /usr/bin/pkg-config
configure:12814: result: /usr/bin/pkg-config
configure:12839: checking pkg-config is at least version 0.9.0
configure:12842: result: yes
configure:12852: checking for XKBCOMMON
configure:12859: $PKG_CONFIG --exists --print-errors "xkbcommon"
Package xkbcommon was not found in the pkg-config search path.
Perhaps you should add the directory containing xkbcommon.pc' to the PKG_CONFIG_PATH environment variable No package 'xkbcommon' found configure:12862: $? = 1 configure:12876: $PKG_CONFIG --exists --print-errors "xkbcommon" Package xkbcommon was not found in the pkg-config search path. Perhaps you should add the directory containing
xkbcommon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xkbcommon' found
configure:12879: $? = 1
configure:12893: result: no
No package 'xkbcommon' found
configure:12926: checking for WAYLAND
configure:12933: $PKG_CONFIG --exists --print-errors "wayland-client wayland-server wayland-cursor"
Package wayland-client was not found in the pkg-config search path.
Perhaps you should add the directory containing wayland-client.pc' to the PKG_CONFIG_PATH environment variable No package 'wayland-client' found Package wayland-server was not found in the pkg-config search path. Perhaps you should add the directory containing
wayland-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-server' found
Package wayland-cursor was not found in the pkg-config search path.
Perhaps you should add the directory containing wayland-cursor.pc' to the PKG_CONFIG_PATH environment variable No package 'wayland-cursor' found configure:12936: $? = 1 configure:12950: $PKG_CONFIG --exists --print-errors "wayland-client wayland-server wayland-cursor" Package wayland-client was not found in the pkg-config search path. Perhaps you should add the directory containing
wayland-client.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-client' found
Package wayland-server was not found in the pkg-config search path.
Perhaps you should add the directory containing wayland-server.pc' to the PKG_CONFIG_PATH environment variable No package 'wayland-server' found Package wayland-cursor was not found in the pkg-config search path. Perhaps you should add the directory containing
wayland-cursor.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-cursor' found
configure:12953: $? = 1
configure:12967: result: no
No package 'wayland-client' found
No package 'wayland-server' found
No package 'wayland-cursor' found
configure:13000: checking for SYSTEMD
configure:13007: $PKG_CONFIG --exists --print-errors "libsystemd-daemon libsystemd-login"
Package libsystemd-daemon was not found in the pkg-config search path.
Perhaps you should add the directory containing libsystemd-daemon.pc' to the PKG_CONFIG_PATH environment variable No package 'libsystemd-daemon' found Package libsystemd-login was not found in the pkg-config search path. Perhaps you should add the directory containing
libsystemd-login.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd-login' found
configure:13010: $? = 1
configure:13024: $PKG_CONFIG --exists --print-errors "libsystemd-daemon libsystemd-login"
Package libsystemd-daemon was not found in the pkg-config search path.
Perhaps you should add the directory containing libsystemd-daemon.pc' to the PKG_CONFIG_PATH environment variable No package 'libsystemd-daemon' found Package libsystemd-login was not found in the pkg-config search path. Perhaps you should add the directory containing
libsystemd-login.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd-login' found
configure:13027: $? = 1
configure:13041: result: no
No package 'libsystemd-daemon' found
No package 'libsystemd-login' found
configure:13074: checking for UDEV
configure:13081: $PKG_CONFIG --exists --print-errors "libudev"
configure:13084: $? = 0
configure:13098: $PKG_CONFIG --exists --print-errors "libudev"
configure:13101: $? = 0
configure:13139: result: yes
configure:13148: checking for DBUS
configure:13155: $PKG_CONFIG --exists --print-errors "dbus-1"
configure:13158: $? = 0
configure:13172: $PKG_CONFIG --exists --print-errors "dbus-1"
configure:13175: $? = 0
configure:13213: result: yes
configure:13222: checking for DRM
configure:13229: $PKG_CONFIG --exists --print-errors "libdrm"
configure:13232: $? = 0
configure:13246: $PKG_CONFIG --exists --print-errors "libdrm"
configure:13249: $? = 0
configure:13287: result: yes
configure:13296: checking for GBM
configure:13303: $PKG_CONFIG --exists --print-errors "gbm"
Package gbm was not found in the pkg-config search path.
Perhaps you should add the directory containing gbm.pc' to the PKG_CONFIG_PATH environment variable No package 'gbm' found configure:13306: $? = 1 configure:13320: $PKG_CONFIG --exists --print-errors "gbm" Package gbm was not found in the pkg-config search path. Perhaps you should add the directory containing
gbm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gbm' found
configure:13323: $? = 1
configure:13337: result: no
No package 'gbm' found
configure:13370: checking for EGL
configure:13377: $PKG_CONFIG --exists --print-errors "egl"
configure:13380: $? = 0
configure:13394: $PKG_CONFIG --exists --print-errors "egl"
configure:13397: $? = 0
configure:13435: result: yes
configure:13444: checking for GLES2
configure:13451: $PKG_CONFIG --exists --print-errors "glesv2"
Package glesv2 was not found in the pkg-config search path.
Perhaps you should add the directory containing glesv2.pc' to the PKG_CONFIG_PATH environment variable No package 'glesv2' found configure:13454: $? = 1 configure:13468: $PKG_CONFIG --exists --print-errors "glesv2" Package glesv2 was not found in the pkg-config search path. Perhaps you should add the directory containing
glesv2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glesv2' found
configure:13471: $? = 1
configure:13485: result: no
No package 'glesv2' found
configure:13518: checking for FREETYPE2
configure:13525: $PKG_CONFIG --exists --print-errors "freetype2 fontconfig"
configure:13528: $? = 0
configure:13542: $PKG_CONFIG --exists --print-errors "freetype2 fontconfig"
configure:13545: $? = 0
configure:13583: result: yes
configure:13592: checking for PANGO
configure:13599: $PKG_CONFIG --exists --print-errors "pango pangoft2"
configure:13602: $? = 0
configure:13616: $PKG_CONFIG --exists --print-errors "pango pangoft2"
configure:13619: $? = 0
configure:13657: result: yes
configure:13666: checking for FUSE
configure:13673: $PKG_CONFIG --exists --print-errors "fuse"
configure:13676: $? = 0
configure:13690: $PKG_CONFIG --exists --print-errors "fuse"
configure:13693: $? = 0
configure:13731: result: yes
configure:13740: checking for PCIACCESS
configure:13747: $PKG_CONFIG --exists --print-errors "pciaccess"
configure:13750: $? = 0
configure:13764: $PKG_CONFIG --exists --print-errors "pciaccess"
configure:13767: $? = 0
configure:13805: result: yes
configure:13820: checking whether user wants eloop
configure:13830: result: no (default)
configure:13834: checking whether user wants TSM
configure:13844: result: no (default)
configure:13848: checking whether user wants uterm
configure:13858: result: no (default)
configure:13862: checking whether user wants kmscon
configure:13872: result: yes (default)
configure:13876: checking whether user wants wlterm
configure:13886: result: yes (default)
configure:13890: checking whether to build with debugging on
configure:13900: result: yes (default)
configure:13904: checking whether to disable code optimizations
configure:13914: result: yes (default)
configure:13918: checking whether user wants systemd for multi-seat support
configure:13928: result: yes (default)
configure:13932: checking whether user wants udev for device hotplug support
configure:13942: result: yes (default)
configure:13946: checking whether user wants pciaccess device detection
configure:13956: result: yes (default)
configure:13960: checking whether user wants eloop dbus support
configure:13970: result: no (default)
configure:13974: checking which video backends the user wants
configure:14007: result: fbdev,dumb,drm (default)
configure:14011: checking which render backends the user wants
configure:14044: result: bblit,bbulk,gltex (default)
configure:14048: checking which font backends the user wants
configure:14085: result: 8x16,freetype2,pango (default)
configure:14089: checking which sessions the user wants
configure:14126: result: dummy,terminal,cdev (default)
configure:14981: checking whether _Static_assert() is supported
configure:14994: gcc -std=gnu99 -c conftest.c >&5
conftest.c:39:16: error: expected declaration specifiers or '...' before numeric constant
conftest.c:39:19: error: expected declaration specifiers or '...' before string constant
conftest.c:39:1: warning: data definition has no type or storage class
conftest.c:39:1: warning: type defaults to 'int' in declaration of '_Staticassert'
configure:14994: $? = 1
configure: failed program was:
| / confdefs.h */
| #define PACKAGE_NAME "kmscon"
| #define PACKAGE_TARNAME "kmscon"
| #define PACKAGE_VERSION "5"
| #define PACKAGE_STRING "kmscon 5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "kmscon"
| #define VERSION "5"
| #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 BUILD_ENABLE_DEBUG 1
| #define BUILD_ENABLE_VIDEO_FBDEV 1
| #define BUILD_ENABLE_VIDEO_DUMB 1
| #define BUILD_ENABLE_HOTPLUG 1
| #define BUILD_ENABLE_PCIACCESS 1
| #define BUILD_ENABLE_RENDERER_BBLIT 1
| #define BUILD_ENABLE_RENDERER_BBULK 1
| #define BUILD_ENABLE_FONT_8X16 1
| #define BUILD_ENABLE_FONT_FREETYPE2 1
| #define BUILD_ENABLE_FONT_PANGO 1
| #define BUILD_ENABLE_SESSION_DUMMY 1
| /* end confdefs.h. */
| _Static_assert(1, "What?");
configure:15002: result: no
configure:15302: creating ./config.status
This file was extended by kmscon config.status 5, which was generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status
on localhost4.local
config.status:1190: creating Makefile config.status:1190: creating src/libeloop.pc config.status:1190: creating src/libtsm.pc config.status:1190: creating src/libuterm.pc config.status:1190: creating config.h config.status:1371: config.h is unchanged config.status:1419: executing depfiles commands config.status:1419: executing libtool commands configure:17590: Build configuration:
Applications and Libraries: kmscon: no (no) wlterm: no (no) uterm: no (yes) tsm: no (no) eloop: no (yes)
Miscellaneous Options: debug: yes (yes) optimizations: yes (yes) multi-seat: no (no) hotplug: yes (yes) pciaccess: yes (yes) eloop-dbus: no (yes)
Video Backends: fbdev: yes (yes) dumb drm: yes (yes) drm: no (no)
Font Backends: 8x16: yes (yes) unifont: no (yes) freetype2: yes (yes) pango: yes (yes)
Renderers: bblit: yes (yes) bbulk: yes (yes) gltex: no (no)
Session Types: dummy: yes (yes) terminal: no (no) cdev: no (no) compositor: no (no)
Run "make" to start compilation process
ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes 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_DBUS_CFLAGS_set= ac_cv_env_DBUS_CFLAGS_value= ac_cv_env_DBUS_LIBS_set= ac_cv_env_DBUS_LIBS_value= ac_cv_env_DRM_CFLAGS_set= ac_cv_env_DRM_CFLAGS_value= ac_cv_env_DRM_LIBS_set= ac_cv_env_DRM_LIBS_value= ac_cv_env_EGL_CFLAGS_set= ac_cv_env_EGL_CFLAGS_value= ac_cv_env_EGL_LIBS_set= ac_cv_env_EGL_LIBS_value= ac_cv_env_FREETYPE2_CFLAGS_set= ac_cv_env_FREETYPE2_CFLAGS_value= ac_cv_env_FREETYPE2_LIBS_set= ac_cv_env_FREETYPE2_LIBS_value= ac_cv_env_FUSE_CFLAGS_set= ac_cv_env_FUSE_CFLAGS_value= ac_cv_env_FUSE_LIBS_set= ac_cv_env_FUSE_LIBS_value= ac_cv_env_GBM_CFLAGS_set= ac_cv_env_GBM_CFLAGS_value= ac_cv_env_GBM_LIBS_set= ac_cv_env_GBM_LIBS_value= ac_cv_env_GLES2_CFLAGS_set= ac_cv_env_GLES2_CFLAGS_value= ac_cv_env_GLES2_LIBS_set= ac_cv_env_GLES2_LIBS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PANGO_CFLAGS_set= ac_cv_env_PANGO_CFLAGS_value= ac_cv_env_PANGO_LIBS_set= ac_cv_env_PANGO_LIBS_value= ac_cv_env_PCIACCESS_CFLAGS_set= ac_cv_env_PCIACCESS_CFLAGS_value= ac_cv_env_PCIACCESS_LIBS_set= ac_cv_env_PCIACCESS_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_SYSTEMD_CFLAGS_set= ac_cv_env_SYSTEMD_CFLAGS_value= ac_cv_env_SYSTEMD_LIBS_set= ac_cv_env_SYSTEMD_LIBS_value= ac_cv_env_UDEV_CFLAGS_set= ac_cv_env_UDEV_CFLAGS_value= ac_cv_env_UDEV_LIBS_set= ac_cv_env_UDEV_LIBS_value= ac_cv_env_WAYLAND_CFLAGS_set= ac_cv_env_WAYLAND_CFLAGS_value= ac_cv_env_WAYLAND_LIBS_set= ac_cv_env_WAYLAND_LIBS_value= ac_cv_env_XKBCOMMON_CFLAGS_set= ac_cv_env_XKBCOMMON_CFLAGS_value= ac_cv_env_XKBCOMMON_LIBS_set= ac_cv_env_XKBCOMMON_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_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no 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_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define_extensions__=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_tar_pax=gnutar lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/libexec/gcc/x86_64-pc-linux-gnu/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbolpipe='sed -n -e '\''s/^. [ ][ ]_([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p'\'' | sed '\''/ gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_nameaddress='sed -n -e '\''s/^: ([^ ])[ ]$/ {\"\1\", (void ) 0},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {"\2", (void ) &\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_libprefix='sed -n -e '\''s/^: ([^ ])[ ]$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) (lib[^ ])$/ {"\2", (void ) &\2},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {"lib\2", (void _) &\2},/p'\''' lt_cv_sys_global_symbol_tocdecl='sed -n -e '\''s/^T . (.)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW] .* (.*)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop pkg_cv_DBUS_CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ' pkg_cv_DBUS_LIBS='-ldbus-1 ' pkg_cv_DRM_CFLAGS='-I/usr/include/libdrm ' pkg_cv_DRM_LIBS='-ldrm ' pkg_cv_EGL_CFLAGS='-I/usr/include/libdrm ' pkg_cv_EGL_LIBS='-lEGL ' pkg_cv_FREETYPE2_CFLAGS='-I/usr/include/freetype2 ' pkg_cv_FREETYPE2_LIBS='-lfreetype -lfontconfig ' pkg_cv_FUSE_CFLAGS='-D_FILE_OFFSET_BITS=64 -I/usr/include/fuse ' pkg_cv_FUSE_LIBS='-pthread -lfuse ' pkg_cv_PANGO_CFLAGS='-pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 ' pkg_cv_PANGO_LIBS='-lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 ' pkg_cv_PCIACCESS_CFLAGS=' ' pkg_cv_PCIACCESS_LIBS='-lpciaccess ' pkg_cv_UDEV_CFLAGS=' ' pkg_cv_UDEV_LIBS='-ludev -lrt '
ACLOCAL='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/missing --run automake-1.11' AWK='gawk' BUILD_ENABLE_DEBUG_FALSE='#' BUILD_ENABLE_DEBUG_TRUE='' BUILD_ENABLE_ELOOP_DBUS_FALSE='' BUILD_ENABLE_ELOOP_DBUS_TRUE='#' BUILD_ENABLE_ELOOP_FALSE='' BUILD_ENABLE_ELOOP_TRUE='#' BUILD_ENABLE_FONT_8X16_FALSE='#' BUILD_ENABLE_FONT_8X16_TRUE='' BUILD_ENABLE_FONT_FREETYPE2_FALSE='#' BUILD_ENABLE_FONT_FREETYPE2_TRUE='' BUILD_ENABLE_FONT_PANGO_FALSE='#' BUILD_ENABLE_FONT_PANGO_TRUE='' BUILD_ENABLE_FONT_UNIFONT_FALSE='' BUILD_ENABLE_FONT_UNIFONT_TRUE='#' BUILD_ENABLE_HOTPLUG_FALSE='#' BUILD_ENABLE_HOTPLUG_TRUE='' BUILD_ENABLE_KMSCON_FALSE='' BUILD_ENABLE_KMSCON_TRUE='#' BUILD_ENABLE_MULTI_SEAT_FALSE='' BUILD_ENABLE_MULTI_SEAT_TRUE='#' BUILD_ENABLE_OPTIMIZATIONS_FALSE='#' BUILD_ENABLE_OPTIMIZATIONS_TRUE='' BUILD_ENABLE_PCIACCESS_FALSE='#' BUILD_ENABLE_PCIACCESS_TRUE='' BUILD_ENABLE_RENDERER_BBLIT_FALSE='#' BUILD_ENABLE_RENDERER_BBLIT_TRUE='' BUILD_ENABLE_RENDERER_BBULK_FALSE='#' BUILD_ENABLE_RENDERER_BBULK_TRUE='' BUILD_ENABLE_RENDERER_GLTEX_FALSE='' BUILD_ENABLE_RENDERER_GLTEX_TRUE='#' BUILD_ENABLE_SESSION_CDEV_FALSE='' BUILD_ENABLE_SESSION_CDEV_TRUE='#' BUILD_ENABLE_SESSION_COMPOSITOR_FALSE='' BUILD_ENABLE_SESSION_COMPOSITOR_TRUE='#' BUILD_ENABLE_SESSION_DUMMY_FALSE='#' BUILD_ENABLE_SESSION_DUMMY_TRUE='' BUILD_ENABLE_SESSION_TERMINAL_FALSE='' BUILD_ENABLE_SESSION_TERMINAL_TRUE='#' BUILD_ENABLE_TSM_FALSE='' BUILD_ENABLE_TSM_TRUE='#' BUILD_ENABLE_UTERM_FALSE='' BUILD_ENABLE_UTERM_TRUE='#' BUILD_ENABLE_VIDEO_DRM_FALSE='' BUILD_ENABLE_VIDEO_DRM_TRUE='#' BUILD_ENABLE_VIDEO_DUMB_FALSE='#' BUILD_ENABLE_VIDEO_DUMB_TRUE='' BUILD_ENABLE_VIDEO_FBDEV_FALSE='#' BUILD_ENABLE_VIDEO_FBDEV_TRUE='' BUILD_ENABLE_WLTERM_FALSE='' BUILD_ENABLE_WLTERM_TRUE='#' CC='gcc -std=gnu99' CCDEPMODE='depmode=gcc3' CFLAGS='' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DBUS_CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ' DBUS_LIBS='-ldbus-1 ' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DRM_CFLAGS='-I/usr/include/libdrm ' DRM_LIBS='-ldrm ' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGL_CFLAGS='-I/usr/include/libdrm ' EGL_LIBS='-lEGL ' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' FREETYPE2_CFLAGS='-I/usr/include/freetype2 ' FREETYPE2_LIBS='-lfreetype -lfontconfig ' FUSE_CFLAGS='-D_FILE_OFFSET_BITS=64 -I/usr/include/fuse ' FUSE_LIBS='-pthread -lfuse ' GBM_CFLAGS='' GBM_LIBS='' GLES2_CFLAGS='' GLES2_LIBS='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='kmscon' PACKAGE_BUGREPORT='' PACKAGE_NAME='kmscon' PACKAGE_STRING='kmscon 5' PACKAGE_TARNAME='kmscon' PACKAGE_URL='https://github.com/dvdhrm/kmscon' PACKAGE_VERSION='5' PANGO_CFLAGS='-pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 ' PANGO_LIBS='-lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 ' PATH_SEPARATOR=':' PCIACCESS_CFLAGS=' ' PCIACCESS_LIBS='-lpciaccess ' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' SYSTEMD_CFLAGS='' SYSTEMD_LIBS='' UDEV_CFLAGS=' ' UDEV_LIBS='-ludev -lrt ' VERSION='5' WAYLAND_CFLAGS='' WAYLAND_LIBS='' XKBCOMMON_CFLAGS='' XKBCOMMON_LIBS='' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='#' amfastdepCC_FALSE='#' amfastdepCC_TRUE='' aminclude='include' amisrc='' am__leading_dot='.' amnodep='_no' amquote='' amtar='tar --format=posix -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/roger/src/kmscon/kmscon-mine/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''
/* confdefs.h */
Just for reference: My email is available in ./COPYING (dh.herrmann@googlemail.com)
./README contains all required dependencies: libudev und libxkbcommon and you seem to miss the latter one. No distribution includes it by default, but you can get it here: http://xkbcommon.org/
Sorry for the missing error-reports during ./configure. I am currently working on improving the documentation. Please try with most recent kmscon-HEAD again. ./configure --enable-kmscon should now produce proper error messages.
Thanks for the report! David
I think the configure script should properly state this. Unknown if the following is still denoting this missing dep as I haven't found a xkbcommon package within Gentoo here yet.
$ ./configure --enable-kmscon && make
checking which video backends the user wants... fbdev,dumb,drm (default) checking which render backends the user wants... bblit,bbulk,gltex (default) checking which font backends the user wants... 8x16,freetype2,pango (default) checking which sessions the user wants... dummy,terminal,cdev (default) configure: error: eloop, TSM or uterm cannot be built for kmscon
A little more probing for this xkbcommon dep, and I found the zugaina Gentoo overlay no longer hosts this ebuild/package. Grepping the local Portage/Package tree, and I find this:
x11-apps/xkbcomp-1.2.3 compile XKB keyboard description
No. You need xkbcommon. As I said, it is not available in any mainstream distribution and you need to compile/install it yourself. There are many xkb tools, but xkbcommon is a rewrite of the XKB libraries without any X11 dependencies. Most wayland apps also depend on it so it will hopefully be picked up by most distributions soon.
With default configure options, there is not kmscon binary created that I can see.
The only binaries I see created are genshader* & genunifont*.
Finding and trying to use the ./configure --enable-kmscon option results in:
checking which render backends the user wants... bblit,bbulk,gltex (default) checking which font backends the user wants... 8x16,freetype2,pango (default) checking which sessions the user wants... dummy,terminal,cdev (default) ./configure: line 14329: xno: command not found configure: error: eloop, TSM or uterm cannot be built for kmscon