Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-03-22 22:12:13

Raphos
Member
Registered: 2013-03-22
Posts: 6

xfce4-weather-plugin-0.8.3 compilation on Fedora 18

Hi,

xfce4-weather-plugin isn't up to date in the Fedora repository (actually at 0.8.2-1). The problem with this version is that the location search is broken.

I'm trying to compile xfce4-weather-plugin-0.8.3.

The command `./configure' hangs on :

checking for gtk+-2.0 >= 2.14.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.14.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

However gtk is installed :

# yum list installed gtk2*
Modules complémentaires chargés : langpacks, presto, refresh-packagekit
Paquets installés
gtk2.x86_64                             2.24.16-1.fc18                 @updates 
gtk2-engines.x86_64                     2.20.2-5.fc18                  @anaconda
gtk2-immodule-xim.x86_64                2.24.16-1.fc18                 @updates

I used the command

# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
# export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
# export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'

without success.

Is there any solution please for this compilation ?

Offline

#2 2013-03-28 22:06:22

Raphos
Member
Registered: 2013-03-22
Posts: 6

Re: xfce4-weather-plugin-0.8.3 compilation on Fedora 18

Hi,

Finally, I succeeded with the compilation. I had some help from rvcsaba at Red Hat Bugzilla – Bug 926941.

I didn't strictly follow the solution given in comment 4 but here is how I did.

- Removed original package, before installed from source
- The source: http://git.xfce.org/panel-plugins/xfce4 … .3.tar.bz2
- Extract and read "README" file.
- Type command

$ ./autogen.sh --prefix=/usr

Then I get the error

checking for gtk+-2.0 >= 2.14.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.14.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

Installed gtk2-devel and the problem was fixed but get the same error with others packages even if there were installed. The solution was the installation of "devel" of every "missing package".

Then I got message errors for missing dependencies. I installed them.

- After ./autogen succeeded :

$ make

and

$ su -c 'make install'

/usr/share/xfce4/weather and /usr/share/xfce4/panel/plugins/weather.desktop were in place so I didn't symlinked them.

- Copy /usr/local/lib/xfce4/panel/plugins/libweather.la and usr/local/lib/xfce4/panel/plugins/libweather.so in /usr/lib64/xfce4/panel/plugins/ (to show plugin in panel configuration).

- Restart xfce panel

$ xfce4-panel -r

=> add and configure the plugin into the panel.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 522.6 KiB (Peak: 531.34 KiB) ]