Binary package hint: mutter
there is no such file mutter-plugin.h in mutter-2.91
so can` compile gnome-shell.
# source='shell-enum-types.c' object='libgnome_shell_la-shell-enum-types.lo' libtool=yes
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -DWITH_CLUTTER -DMUTTER_MAJOR_VERSION=2 -DMUTTER_MINOR_VERSION=91 -DMUTTER_MICRO_VERSION=3 -DMUTTER_PLUGIN_API_VERSION=3 -DMUTTER_PLUGIN_DIR=\"/usr/lib/mutter/plugins\" -DXP_UNIX -DJS_THREADSAFE -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/clutter-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/mutter/mutter-private -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/xulrunner-2.0b7 -I/usr/include/nspr -I/usr/include/gnome-menus -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I./tray -DLOCALEDIR=\"/usr/share/locale\" -DGNOME_SHELL_DATADIR=\"/usr/share/gnome-shell\" -DGNOME_SHELL_PKGLIBDIR=\"/usr/lib/gnome-shell\" -DJSDIR=\"/usr/share/gnome-shell/js\" -g -O2 -g -Wall -O2 -Wmissing-prototypes -c -o libgnome_shell_la-shell-enum-types.lo `test -f 'shell-enum-types.c' || echo './'`shell-enum-types.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -DWITH_CLUTTER -DMUTTER_MAJOR_VERSION=2 -DMUTTER_MINOR_VERSION=91 -DMUTTER_MICRO_VERSION=3 -DMUTTER_PLUGIN_API_VERSION=3 -DMUTTER_PLUGIN_DIR=\"/usr/lib/mutter/plugins\" -DXP_UNIX -DJS_THREADSAFE -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/clutter-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/mutter/mutter-private -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/xulrunner-2.0b7 -I/usr/include/nspr -I/usr/include/gnome-menus -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I./tray -DLOCALEDIR=\"/usr/share/locale\" -DGNOME_SHELL_DATADIR=\"/usr/share/gnome-shell\" -DGNOME_SHELL_PKGLIBDIR=\"/usr/lib/gnome-shell\" -DJSDIR=\"/usr/share/gnome-shell/js\" -g -O2 -g -Wall -O2 -Wmissing-prototypes -c shell-enum-types.c -fPIC -DPIC -o .libs/libgnome_shell_la-shell-enum-types.o
In file included from shell-enum-types.c:41:
shell-global.h:5:27: error: mutter-plugin.h: no such file or directory
make[4]: *** [libgnome_shell_la-shell-enum-types.lo] error 1
make[4]: Leaving directory `/media/sdc2/gnome-shell-2.31.5/src'
make[3]: *** [all] error 2
make[3]: Leaving directory `/media/sdc2/gnome-shell-2.31.5/src'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/media/sdc2/gnome-shell-2.31.5'
make[1]: *** [all] error 2
make[1]: Leaving directory `/media/sdc2/gnome-shell-2.31.5'
make: *** [debian/stamp-makefile-build] error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1329:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Thank you for reporting this bug to Ubuntu. 10.04 reached End of Life in 2015. See this document for currently supported Ubuntu releases: https:/ /wiki.ubuntu. com/Releases
I've tried recreating this bug with your release and was unable to, given the information you've provided. Please upgrade to Ubuntu 16.04 LTS and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.
Do feel free to report any other bugs you may find.