Weston wayland-scanner detection problem
Stefan Schmidt
s.schmidt at samsung.com
Fri Aug 23 06:51:55 PDT 2013
Hello.
I just rebased my changes to latest wayland and weston and I'm running
into some trouble with wayland-scanner for weston.
A clean weston master does now longer detect wayland-scanner for me.
Still configure happily keeps going and make finally errors out with
code or server-headers command not found (because the scanner variable
is empty and it tries the argument as command).
Its an Ubutunu 12.04 LTS system here with autoconf 2.68 and automake 1.11.3
Do we require newer version now and haven't updated configure.ac
accordingly?
Full log below:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I
/home/SERILOCAL/s.schmidt/wayland/share/aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
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 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make supports nested variables... yes
checking for gcc... (cached) gccchecking 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 for a sed that does not truncate output... /bin/sed
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... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/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/bin/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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether SFD_CLOEXEC is declared... yes
checking whether TFD_CLOEXEC is declared... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for mkostemp... yes
checking for strchrnul... yes
checking for initgroups... yes
checking for COMPOSITOR... yes
checking for XWAYLAND... yes
checking for XWAYLAND_TEST... yes
checking for XCB... yes
checking for xcb_poll_for_queued_event... yes
checking for X11_COMPOSITOR_XKB... no
checking for X11_COMPOSITOR... yes
checking for DRM_COMPOSITOR... yes
checking for WAYLAND_COMPOSITOR... yes
checking for RPI_COMPOSITOR... yes
checking for RPI_BCM_HOST... no
configure: WARNING: Raspberry Pi BCM host libraries not found, will use
stubs instead.
checking for FBDEV_COMPOSITOR... yes
checking for PIXMAN... yes
checking for PNG... yes
checking for WEBP... no
checking for jpeg_CreateDecompress in -ljpeg... yes
checking for CAIRO... yes
checking for SIMPLE_CLIENT... yes
checking for SIMPLE_EGL_CLIENT... yes
checking for CLIENT... yes
checking for SERVER... yes
checking for WESTON_INFO... yes
checking for POPPLER... no
checking for PANGO... yes
checking for WESTON_LAUNCH... yes
checking for SYSTEMD_LOGIN... no
checking for pam_open_session in -lpam... yes
checking for GLU... yes
checking for WCAP... yes
checking for rsvg-convert... rsvg-convert
checking for SETBACKLIGHT... yes
checking for LIBUNWIND... yes
configure: Weston's native backend: drm-backend.so
checking for LCMS... yes
checking for wayland-scanner... ./configure: line 16430: is: command not
found
no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared/Makefile
config.status: creating src/Makefile
config.status: creating src/xwayland/Makefile
config.status: creating src/version.h
config.status: creating src/weston.pc
config.status: creating clients/Makefile
config.status: creating wcap/Makefile
config.status: creating data/Makefile
config.status: creating protocol/Makefile
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Native Backend drm-backend.so
setuid Install yes
Cairo Renderer image
EGL yes
libxkbcommon yes
XWayland yes
Build wcap utility yes
Build Tablet Shell yes
weston-launch utility yes
weston-launch systemd support no
DRM Compositor yes
X11 Compositor yes
Wayland Compositor yes
Headless Compositor yes
RPI Compositor yes
FBDEV Compositor yes
RDP Compositor no
Raspberry Pi BCM headers no
Build Clients yes
Build EGL Clients no
Build Simple Clients yes
Build Simple EGL Clients yes
Install Demo Clients no
Colord Support
GLU Support yes
LCMS2 Support yes
libwebp Support no
libunwind Support yes
make all-recursive
make[1]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston'
Making all in shared
make[2]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/shared'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/shared'
Making all in src
make[2]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src'
GEN git-version.h
make all-recursive
make[3]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src'
Making all in xwayland
make[4]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src/xwayland'
make all-am
make[5]: Entering directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src/xwayland'
CC xwayland_la-window-manager.lo
CC xwayland_la-selection.lo
CC xwayland_la-launcher.lo
CC xwayland_la-xserver-protocol.lo
CC xwayland_la-hash.lo
launcher.c: In function 'bind_xserver':
launcher.c:168:31: error: 'xserver_interface' undeclared (first use in
this function)
launcher.c:168:31: note: each undeclared identifier is reported only
once for each function it appears in
launcher.c:178:2: warning: implicit declaration of function
'xserver_send_listen_socket' [-Wimplicit-function-declaration]
launcher.c: In function 'module_init':
launcher.c:383:29: error: 'xserver_interface' undeclared (first use in
this function)
make[5]: *** [xwayland_la-launcher.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
window-manager.c: In function 'weston_wm_create':
window-manager.c:1711:2: warning: implicit declaration of function
'xserver_send_client' [-Wimplicit-function-declaration]
window-manager.c: At top level:
window-manager.c:1962:14: error: variable 'xserver_implementation' has
initializer but incomplete type
window-manager.c:1964:1: warning: excess elements in struct initializer
[enabled by default]
window-manager.c:1964:1: warning: (near initialization for
'xserver_implementation') [enabled by default]
make[5]: *** [xwayland_la-window-manager.lo] Error 1
make[5]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src/xwayland'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src/xwayland'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/SERILOCAL/s.schmidt/Projects/wayland-efl/weston'
make: *** [all] Error 2
regards
Stefan Schmidt
More information about the wayland-devel
mailing list