Issues compiling upower 0.99.4 in mint 17.1 / ubuntu 14.04
Martin Pitt
martin.pitt at ubuntu.com
Mon Jun 29 22:38:21 PDT 2015
Hello Andreas,
Andreas Donath [2015-06-16 15:31 +0200]:
> The installed (by default) version of upower is:
> 0.9.23-2ubuntu1
>
> So I thought I would compile a newer version, hoping that
> the device will be correctly recognized.
>
> I checked out version 0.99.4 from github but autogen.sh fails.
You cant' do this. 0.99 has a different D-Bus API than 0.9. All other
software in Ubuntu 14.04 expects the upower 0.9 API, not the 1.0 one.
> ./configure: line 3138: syntax error near unexpected token `0.9.9'
> ./configure: line 3138: `GOBJECT_INTROSPECTION_CHECK(0.9.9)'
You probably don't have the build dependencies installed, in
particular libgirepository1.0-dev and gobject-introspection. You need
"apt-get build-dep upower". But again, don't do that.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the devkit-devel
mailing list