Dear BLFS folks,

On 12/07/17 16:14, Paul Menzel wrote:

On 12/07/17 16:04, Paul Menzel wrote:

Trying to build GTK+ 3.22.26 [1] with the Wayland backend enabled, it fails with the error below.

```
$ /dev/shm/bee-root/gtk+/gtk+-3.22.26-0/source/configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datarootdir=/usr/share --datadir=/usr/share --infodir=/usr/share/info --localedir=/usr/share/locale --mandir=/usr/share/man --docdir=/usr/share/doc/gtk+ --exec-prefix=/usr --enable-introspection --enable-wayland-backend --enable-xinerama --enable-x11-backend
[…]
configure: error: Package requirements (pango pangocairo gdk-pixbuf-2.0  >= 2.30.0 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gio-unix-2.0 >= 2.49.4 fontconfig x11 xext xinerama xi xrandr xcursor xfixes xcomposite xdamage wayland-client >= 1.9.91 wayland-protocols >= 1.9 xkbcommon >= 0.2.0 wayland-cursor >= 1.9.91 wayland-egl cairo-xlib cairo epoxy >= 1.0 ) were not met:

No package 'wayland-egl' found
[…]
```

Is the dependency on wayland-EGL missing in the book? I couldn’t find it either on the Web searching with these keywords.

The GTK+ commit [2] gives the hint, that it’s part of Mesa [3]. But I built Mesa with the Wayland backend.

```
… --enable-gles1 --enable-gles2 --enable-osmesa --enable-xa --enable-glx-tls --with-llvm-shared-libs --with--platforms=drm,x11,wayland --with-gallium-drivers=nouveau,r600,radeonsi,svga,swrast --with-vulkan-drivers=intel,radeon …
```

[…]

As you can see above there is one dash too much in `--with--platform`. Sorry for the noise.
I’ll look into this. To make something good out of it, could you please extend the note in the Mesa chapter, that Wayland is also needed for GTK+? Currently there is only Plasma and LXQt mentioned.

 > Add wayland to the --with-platforms switch below if you plan on
 > building Plasma-5.10.5 or LXQt.

This is still valid.


Kind regards,

Paul


[1] http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html
[2] https://git.gnome.org/browse/gtk+/commit/?id=86ff51b8427ff43ef681cd4a53b06a0557560064 [3] http://www.linuxfromscratch.org/blfs/view/svn/x/mesa.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to