GNOME Bugzilla – Bug 706549
3.9.12 Configure dies complaining about missing wayland-.. packages
Last modified: 2013-08-30 11:11:34 UTC
I'm trying to build gtk+-3.9.12 as part of a from scratch build of gnome 3.9.90. I get configure errors: No package 'wayland-client' found No package 'xkbcommon' found No package 'wayland-cursor' found This hasn't happened before (I build every released version of gtk+), althogh I indeed don't have those packages installed. I added a configure flag:--disable-weyland-backend but nothing changed. Have the missing packages been released?
I think I figured out what I was doing wrong. First, it's --disable-wayland-backend (not weyland), and with this I got a configure error saying that no backends were selected. Adding --enable-x11-backend fixes the problem. Shouldn't all this be auto-detected?
The problem resurfaces later in the build: CC libgtk_3_la-gtkclipboard-wayland.lo In file included from ../gdk/wayland/gdkwayland.h:32:0, from gtkclipboard-waylandprivate.h:21, from gtkclipboard-wayland.c:24: ../gdk/wayland/gdkwaylanddevice.h:27:28: fatal error: wayland-client.h: No such file or directory #include <wayland-client.h> I have --disable-wayland-backend set in configure, so why is this being build in the 1st place?
I just tried building with either the wayland or x11 backends disabled, and found it to work. Haven't tried with missing dependencies, though.
It works here too if I manually disable the #include <wayland-client.h>.
I think this was fixed by: commit ec26a909f69e12dee1d151c8795f62d794fe7b24 Author: Saleem Abdulrasool <compnerd@compnerd.org> Date: Tue Aug 20 19:30:05 2013 -0700 clipboard: fix build without wayland Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Thanks for this find, I apply this patch : https://git.gnome.org/browse/gtk+/patch/?id=ec26a909f69e12dee1d151c8795f62d794fe7b24 And then get: Making all in uite /bin/sh: line 20: cd: uite: No such file or directory T_T
Ah sorry it was broken by my own sctipt.