Issues compiling upower 0.99.4 in mint 17.1 / ubuntu 14.04
Andreas Donath
zuando at gmx.net
Tue Jun 16 06:31:35 PDT 2015
Hello,
My initial problem:
I use a Logitech K760 Bluetooth keyboard
on Mint 17.1.
The power indicator of the cinnamon desktop
always complains, that it would be completely
discharged at 0%.
The applet seems to use org.freedesktop.UPower,
and a
"upower --dump" reveals:
Device:
/org/freedesktop/UPower/devices/keyboard_hid_00o1fo20o3eo1eoc4_battery
native-path: hid-00:1f:20:3e:1e:c4-battery
model: Logitech K760
power supply: no
updated: Tue 16 Jun 2015 02:59:44 PM CEST (14 seconds ago)
has history: yes
has statistics: yes
keyboard
present: yes
rechargeable: yes
state: discharging
percentage: 0%
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.
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:237: warning: The 'AM_PROG_MKDIR_P' macro is deprecated,
and its use is discouraged.
configure.ac:237: You should use the Autoconf-provided 'AC_PROG_MKDIR_P'
macro instead,
configure.ac:237: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
Makefile.am files.
libupower-glib/Makefile.am:102: error: HAVE_INTROSPECTION does not
appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1002' is supported by ustar format... yes
checking whether GID '1002' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
./configure: line 3138: syntax error near unexpected token `0.9.9'
./configure: line 3138: `GOBJECT_INTROSPECTION_CHECK(0.9.9)'
Do I miss something, or is this the complete wrong appraoch?
What can I do here?
Any help would be highly appreciated.
Cheers
Andreas
P.S. I'm not a developer.
More information about the devkit-devel
mailing list