Compile xfce4-timer-plugin
Dani
dani at damufo.com
Tue Apr 4 11:27:28 CEST 2017
Dani
On 03/04/17 16:14, Simon Marchi wrote:
> On 2017-04-03 05:00, Dani wrote:
>>>> I'm trying to compile the xfce4-timer-plugin to do tests, learn...
>>>> and of
>>>> course suggest some improvement.
>>>>
>>>> My system is Xubuntu 16.04
>>>>
>>>> I downloaded the code here:
>>>> https://github.com/xfce-mirror/xfce4-timer-plugin
>>>>
>>>> Now I try to compile
>>>> # ./configure
>>>>
>>>> Seems to work fine
>>>>
>>>> when
>>>> # make
>>>>
>>>> it but I have stuck here:
>>>> xfcetimer.c: 41: 35: fatal error: libxfce4ui / libxfce4ui.h: No
>>>> such file or
>>>> directory
>>>>
>>>> I installed libxfce4ui-1-dev (but not worked)
>>>> I sent a message to the plugin developer. I have not had an answer.
>>>>
>>>> Can anyone help me?
>>>>
>>>> Very thank you.
>>>>
>>>>
>>>>
>>>> --
>>>> Dani
>>>>
>>> You have to install build dependencies, in *ubuntu you can simply do
>>>
>>> sudo apt-get build-dep xfce4-timer-plugin
>>>
>>> HTH,
>> No, I just installed it (install autopoint dh-autoreconf) and the
>> error persists.
>
> Hi Dani,
>
> Did you use "apt-get build-dep xfce4-timer-plugin" as Baurzhan
> suggested? I've tried the following commands in an Ubuntu 16.04
> Docker container, and it built the plugin successfully:
>
> # apt-get update
> # apt-get install git
> # apt-get build-dep xfce4-timer-plugin
> # git clone https://github.com/xfce-mirror/xfce4-timer-plugin.git
> # cd xfce4-timer-plugin
> # ./autogen.sh
> # make
>
> On Debian / Ubuntu, using "apt-get build-dep" is the best way to get
> everything needed to build a package. But in the general case, if you
> are missing for a particular header (.h) file, you can can do a
> package search by filename on packages.ubuntu.com. It will tell you
> which package you need to install to get it.
>
> Simon
>
Hello:
I did what Simon has indicated and worked well.
My error was in not running make as root.
Thank you very much.
More information about the Xfce4-dev
mailing list