GNOME Bugzilla – Bug 772064
The type name `Gtk.Popover' could not be found
Last modified: 2016-09-28 14:22:21 UTC
When I try to `make` the vte package I get this error: ``` app.vala:23.23-23.33: error: The type name `Gtk.Popover' could not be found class SearchPopover : Gtk.Popover ^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s) make[3]: *** [vte_2_91_vala.stamp] Error 1 make[3]: Leaving directory `/home/marcel/vte-ng/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/marcel/vte-ng/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marcel/vte-ng' make: *** [all] Error 2 ``` I am on bash on ubuntu on windows or whatever it's called.
*** Bug 772065 has been marked as a duplicate of this bug. ***
What's your gtk+ version? Needs to be >= 3.12 for the vala test app. Also it appears (from the directory name) that you're in fact compiling vte-ng not vte. vte-ng is a fork of vte which is not supported by gnome.
My gtk version is 3.12.2: $ dpkg -l libgtk2.0-0 libgtk-3-0 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-========================-=================-=================-===================================================== ii libgtk-3-0:amd64 3.12.2-0ubuntu15. amd64 GTK+ graphical user interface library ii libgtk2.0-0:amd64 2.24.23-0ubuntu1. amd64 GTK+ graphical user interface library Yes, I am trying to install vte-ng, but they told me the problem was related to vte and sent me here. See: https://github.com/thestinger/vte-ng/issues/10
Probably your vala is too old; you need >= 0.24 I think.
I have just installed vala 0.30 with `apt install vala-0.30` from the vala-team ppa. I am still getting the same error.
Hmm ok. Maybe you need an even newer version, or something isn't set up correctly; "ubuntu on windows" certainly isn't a supported configuration. You'll need to configure using --disable-test-application (or perhaps even --disable-vala), then.
Thank you very much for your help. I was able to `make` after running `./autogen.sh --disable-test-application`.