Ref:
Beyond Linux(r) From Scratch (systemd edition) - Version 2016-12-28
Chapter 33. GNOME Libraries and Desktop
Mutter-3.22.0
Since the mutter-3.22.0 source contains forked versions of clutter and cogl, I
don't believe it needs clutter as a required dependency.
If I compile without wayland, mutter compiles without problems.
If I compile with wayland, mutter make fails with:
make
...
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DCLUTTER_ENABLE_COMPOSITOR_API
-DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCOGL_ENABLE_MUTTER_API
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS
-pthread -D_REENTRANT -pthread -I/usr/local/include/json-glib-1.0
-I/usr/local/include/libupower-glib -I/usr/local/include/gnome-desktop-3.0
-I/usr/local/include -I/usr/local/include/startup-notification-1.0
-I/usr/local/include -I/usr/local/include/gtk-3.0
-I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include
-I/usr/local/include/gtk-3.0 -I/usr/local/include/gio-unix-2.0/
-I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/harfbuzz -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
-I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include
-I/usr/local/include/libpng16 -I/usr/local/include
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16
-I/usr/local/include/libwacom-1.0 -I/usr/local/include/gudev-1.0
-I/usr/local/include/gobject-introspection-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include
-I/usr/local/include/gsettings-desktop-schemas -I. -I. -I./backends -I./core
-I./ui -I./compositor -I../cogl -I../cogl/cogl -I../cogl/cogl/winsys
-I../cogl/cogl -I../cogl -I../clutter -I../clutter/clutter -I../clutter
-I../clutter/clutter -DMUTTER_LIBEXECDIR=\"/usr/local/lib/mutter\"
-DMUTTER_LOCALEDIR=\"/usr/local/share/locale\"
-DMUTTER_PKGDATADIR=\"/usr/local/share/mutter\"
-DMUTTER_DATADIR=\"/usr/local/share\" -DG_LOG_DOMAIN=\"mutter\"
-DSN_API_NOT_YET_FROZEN=1 -DMUTTER_PKGLIBDIR=\"/usr/local/lib/mutter\"
-DMUTTER_PLUGIN_DIR=\"/usr/local/lib/mutter/plugins\"
-DGETTEXT_PACKAGE=\"mutter\" -DXWAYLAND_PATH=\"/usr/local/bin/Xwayland\" -MT
wayland/meta-wayland-tablet-seat.lo -MD -MP -MF
wayland/.deps/meta-wayland-tablet-seat.Tpo -c
wayland/meta-wayland-tablet-seat.c -fPIC -DPIC -o
wayland/.libs/meta-wayland-tablet-seat.o
wayland/meta-wayland-tablet-seat.c: In function 'lookup_grouped_devices':
wayland/meta-wayland-tablet-seat.c:485:3: error: unknown type name 'MetaBackend'
MetaBackend *backend = meta_get_backend ();
^~~~~~~~~~~
wayland/meta-wayland-tablet-seat.c:485:26: warning: implicit declaration of
function 'meta_get_backend' [-Wimplicit-function-declaration]
MetaBackend *backend = meta_get_backend ();
^~~~~~~~~~~~~~~~
wayland/meta-wayland-tablet-seat.c:485:26: warning: initialization makes
pointer from integer without a cast [-Wint-conversion]
make[4]: *** [Makefile:2006: wayland/meta-wayland-tablet-seat.lo] Error 1
make[4]: Leaving directory '/usr/src/mutter-3.22.0/src'
make[3]: *** [Makefile:2182: all-recursive] Error 1
make[3]: Leaving directory '/usr/src/mutter-3.22.0/src'
make[2]: *** [Makefile:1235: all] Error 2
make[2]: Leaving directory '/usr/src/mutter-3.22.0/src'
make[1]: *** [Makefile:481: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/mutter-3.22.0'
make: *** [Makefile:411: all] Error 2
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page