libxfce4ui-2 missing

Asked by Ronald Senser on 2021-04-07

I tried to install the xfce-weather-plugin version .10.

As suggested I run the command "./configure && make && make install". At the end the libxfce4ui-2 is mentioned as missing. I tried to install the missing library: sudo apt-get update -y and afterwards sudo apt-get install -y libxfce4ui-2-0.

Then I run the same procedure as described with the same result.

What can I do to put the library at the right place so that the install programm can find it?
Thanks
Ronald

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xfce4-weather-plugin Edit question
Assignee:
No assignee Edit question
Last query:
2021-04-08
Last reply:
2021-04-08
Manfred Hampl (m-hampl) said : #1

What exactly are you doing?

Who suggested running ./configure and make?

For installing the xfce4-weather-plugin in an Ubuntu system you do not need rthese command, but you just install the package with the command

sudo apt install xfce4-weather-plugin

Which Ubuntu release are you running?
What is the output of the commands

uname -a
lsb_release -crid
apt-cache policy xfce4-weather-plugin

Ronald Senser (ronald-senser) said : #2

Hello Manfred,

I have an Xubuntu 20.04 which is updated.

Reading your answer I just now tried this: "sudo apt install
xfce-weather-plugin". The answer is: xfce4-weather-plugin ist schon die
neueste Version (0.10.2-0ubuntu0.20.04.1) - no success.

My attempt was to install it like described in the "INSTALL" instruction
in the package "xfce4-weather-plugin-0.10.2/" which I downloaded
(https://launchpad.net/ubuntu/+source/xfce4-weather-plugin) and unpacked
in a directory. In this directory I opened the terminal and tried to use
the suggested "./configure && make && make install". You can find this
suggestion in the file INSTALL under "Basic Installation"

Thanks a lot

Ronald

Am 07.04.21 um 17:05 schrieb Manfred Hampl:
> Your question #696434 on xfce4-weather-plugin in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xfce4-weather-plugin/+question/696434
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What exactly are you doing?
>
> Who suggested running ./configure and make?
>
> For installing the xfce4-weather-plugin in an Ubuntu system you do not
> need rthese command, but you just install the package with the command
>
> sudo apt install xfce4-weather-plugin
>
> Which Ubuntu release are you running?
> What is the output of the commands
>
> uname -a
> lsb_release -crid
> apt-cache policy xfce4-weather-plugin
>

Manfred Hampl (m-hampl) said : #3

You cannot expect to get anything better than the Ubuntu package when you try compiling from the same source.

"xfce4-weather-plugin ist schon die neueste Version" tells that the package is already installed.
What else do you need? Do you have a problem with using the program?

By the way, the missing libxfce4ui-2 library for compiling can be added by installing the package libxfce4ui-2-dev

Ronald Senser (ronald-senser) said : #4

Hello,

I am sorry that I just found  the solution without using the Ubuntu
software center while searching the internet. But now the widget is
working fine. As I am not a Linux native I just cannot say what the
missing libxfce4ui means, what consequence or affect it has. As
described in the Install description this file should be installed ...

Thank you very much for your patience

Ronald

Am 07.04.21 um 20:41 schrieb Manfred Hampl:
> Your question #696434 on xfce4-weather-plugin in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xfce4-weather-plugin/+question/696434
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You cannot expect to get anything better than the Ubuntu package when
> you try compiling from the same source.
>
> "xfce4-weather-plugin ist schon die neueste Version" tells that the package is already installed.
> What else do you need? Do you have a problem with using the program?
>
> By the way, the missing libxfce4ui-2 library for compiling can be added
> by installing the package libxfce4ui-2-dev
>

Manfred Hampl (m-hampl) said : #5

"... what the missing libxfce4ui means, what consequence or affect it has"

Damit nicht jedes Programm das Rad neu erfinden muss, gibt es die Möglichkeit, Programmteile wiederzuverwenden. Derartige Routinen werden in Bibliotheken (libraries) zusammengepackt.
Beispielsweise für xfce-Programme wie das Wetter-Applet: Damit sich das Wetter-Applet nicht um die Details der Ein- und Ausgabe am Bildschirm kümmern muss, verwendet es die Bibliothek libxfce4ui-2 (ui steht für User Interface = Benutzerschnittstelle).

Das fertige Programm benötigt dabei nur die Laufzeitbibliothek (im Paket libxfce4ui-2).

Um ein lauffähiges Programm zu erstellen (z.B. mit "make"), wird beim Kompilieren und Linken mehr benötigt als nur die Laufzeitbibliothek. Diese Entwicklerdateien sind üblicherweise in einem zusätzlichen *-dev Paket gesammelt, in diesem Fall libxfce4ui-2-dev.

Zusammenfassung:
Wenn xfce4-weather-plugin von den Ubuntu-Quellen installiert wird, sorgt das Package-Management-System dafür, dass alle benötigten zusätzlichen Pakete (hier libxfce4ui-2) auch installieret werden.
Für das Selbsterstellen des Programms müssen die benötigten Zusatzpakete selbst installiert werden.

Aber:
Auf Ubuntu ist es immer besser, die fertigen Pakete aus den Ubuntu-Quellen zu installieren und nur wenn es die gewünschten Programme (oder Programm-Versionen) nicht in den Ubuntu-Quellen gibt, auf manuelles Kompilieren auszuweichen.

Ist das Problem damit behoben?
Wenn ja, bitte dieses Dokument as "solved" markieren, wenn noch Fragen offen sind, dann bitte um Details.

Ronald Senser (ronald-senser) said : #6

I found the page "https://wiki.ubuntuusers.de/Xfce_Panel_Plugins/"

The solution is there: chapter Sensors, but I did not understand to
replace the entry "sensors" by "weather" ... I am not using a real
sensor but using an internet service.

Is it possible to give a hint there?

Thank you for changing the question in answered.

Kind regards

Ronald

Am 07.04.21 um 20:41 schrieb Manfred Hampl:
> Your question #696434 on xfce4-weather-plugin in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xfce4-weather-plugin/+question/696434
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You cannot expect to get anything better than the Ubuntu package when
> you try compiling from the same source.
>
> "xfce4-weather-plugin ist schon die neueste Version" tells that the package is already installed.
> What else do you need? Do you have a problem with using the program?
>
> By the way, the missing libxfce4ui-2 library for compiling can be added
> by installing the package libxfce4ui-2-dev
>

Manfred Hampl (m-hampl) said : #7

https://wiki.ubuntuusers.de/ ist unabhängig von https://answers.launchpad.net/ubuntu/
Änderungswünsche bitte direkt dort melden oder auf https://forum.ubuntuusers.de/forum/wiki/

Can you help with this problem?

Provide an answer of your own, or ask Ronald Senser for more information if necessary.

To post a message you must log in.