Unable to build any GTK app, because of missing wayland-client.pc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+3.0 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
# apt-cache policy libgtk-3-dev
libgtk-3-dev:
Installed: 3.18.9-1ubuntu3.1
Candidate: 3.18.9-1ubuntu3.1
Version table:
*** 3.18.9-1ubuntu3.1 500
500 http://
100 /var/lib/
3.
500 http://
This bug (see Bug #1106188) has re-emerged on arm64:
pkg-config gtk+-3.0 --cflags
Package wayland-egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-egl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-egl', required by 'gtk+-3.0', not found
This affects both gtk and gdk. I edited gdk-3.0.pc and gtk-3.0.pc to remove any references to wayland or mir, and it seems to be working.
I am not sure how exactly these packages can provide the correct cflags, because they may not know their backend until runtime. Can we just remove the requirement for wayland, mir and x11?
Thank you for your bug report, do you have libegl1-mesa-dev installed?