Can't compile xfce4-session when polkit is enabled

Nick Schermer nickschermer at gmail.com
Tue Nov 16 08:26:53 CET 2010


On Tue, Nov 16, 2010 at 7:02 AM, Olivier Duchateau
<duchateau.olivier at gmail.com> wrote:
> 2010/11/15 Nick Schermer <nickschermer at gmail.com>:
>> On Mon, Nov 15, 2010 at 11:26 PM, Olivier Duchateau
>> <duchateau.olivier at gmail.com> wrote:
>>> I forgot it's for version 4.7.1.
>>>
>>> 2010/11/15 Olivier Duchateau <duchateau.olivier at gmail.com>:
>>>> Hi,
>>>>
>>>> On my FreeBSD box, I try to compile xfce4-session, but I'm having
>>>> trouble to compile xfce4-session when polkit is enabled (see
>>>> build-xfce4-session-with-polkit for complet log). I wonder why, while
>>>> I compile with upower, consolekit and without polkit
>>>> (build-xfce4-session-with-upower-and-consolekit), or when I disable
>>>> all three (build-xfce4-session) everything looks ok.
>>
>> Could you try again after putting
>>
>> #include <sys/sysctl.h>
>>
>> on a new line above "#include <dbus/dbus.h>" in
>> xfce4-session/xfsm-shutdown-helper.c?
>>
>
> The problem is still present (see log).

And with with the lollowing lines?

#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>

Nick



More information about the Xfce mailing list