Skip to contentSkip to conversation

compiling error of alfred (master) on deb7 host

B.A.T.M.A.N. Christian Breutkreutz 2 participants 2 messages Nov 12, 2015 – Nov 13, 2015

lore
Share & tools
lore
#0 lore raw

Hello there!

I acctually have a problem in compiling the current alfred master on debian 7.x based systems. If I try to compile it, alfred doesn't accept the installed libcap-dev version. When I do the same on deb8 / ubuntu 15.10 bases systems, the make process runs normally.

This problem is reproducible on any fresh installed deb7 systems. Has anyone an idea?

Thx an advance.

If possible I would prefer an German answer, but anyone who can help ist wellcome.

Christian

#1 lore raw
Quoted 2 lines · On Thursday 12 November 2015 20:07:30 Christian Breutkreutz wrote:

This problem is reproducible on any fresh installed deb7 systems. Has anyone an idea?

libcap 1:2.22-1.2 from Debian oldstable is missing the pkg-config file. This was only fixed in the current Debian stable release (1:2.24-8). So you have different options

* build without capability support using a make override

make CONFIG_ALFRED_CAPABILITIES=n

* provide the info about the libs and flags for libcap as make override

make LIBCAP_CFLAGS='' LIBCAP_LDLIBS='-lcap'

* install a newer version of libcap which includes libcap.pc

Kind regards,
Sven