[SOLVED] Cannot install libdesktop-agnostic

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 11th, '11, 12:03

I use the Gnome version of Mageia, been trying to install AWN and other packages which required the desktop-agnostic libs, they've all complained about it missing. When trying to install it (either from source or by rpm packages from around the net) I keep getting a "missing dependency" warning regarding pygtk2-devel, but I seem to have the pygtk2.0-devel installed.

Does anyone know what on earth am I missing here? I've been trying to install AWN and GnomeGlobalMenu (among others) ever since the stable Mageia release, but with no success. Am I doing anything wrong?
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby maat » Jun 11th, '11, 15:45

could you describe precisely what you did and what were the results please ?
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 11th, '11, 18:20

Yes, I've attached a screenshot taken while I was trying to install libdesktop-agnostic from source. It says that gconf2 is missing, when trying to install it urpmi doesn't recognize the name... tried "urpmi gconf2" and it suggested GConf2, tried to install that one but it seems to already be installed (as you can see in the attached screenshot). Also the second screenshot is from when I tried another option for the config-backend (keyfile instead of gconf), the same issue (the install says gobject-introspection is missing but urpmi says it is already installed...).

[EDIT]: Now I realise that the first post may be a little confusing, so the pygtk2 unmet dependency is from when I try to install AWN from an RPM package (open it with the package installer), the output from the attached screenshots are on the subject of this post (libdesktop-agnostic). I'm sorry for any confusion..
Attachments
Screenshot-1.png
A second attempt to install with different config-backend (keyfile instead of gconf)
Screenshot-1.png (104.62 KiB) Viewed 3732 times
Screenshot.png
Output from the attempt to install libdesktop-agnostic from source
Screenshot.png (103.43 KiB) Viewed 3732 times
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby maat » Jun 11th, '11, 18:41

I think (without being sure of what i'm saying) that your software is waiting for gobject-introspection 1.0 and we have 0.10.7 packaged
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 11th, '11, 19:03

Yes, I've been searching for gobject-introspection and found the download list on gnome.org, indeed the latest version is 0.10.8 so the problem must be from what libdesktop-agnostic is expecting. But how could it be that it (desktop-agnostic) works on other systems (I assume, since it's, well... maintained and available)... I miss AWN and GnomeGlobalMenu so much ...
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby djennings » Jun 11th, '11, 19:16

Code: Select all
# urpmf gobject-introspection-1.0.pc
lib64girepository-devel:/usr/lib64/pkgconfig/gobject-introspection-1.0.pc
libgirepository-devel:/usr/lib/pkgconfig/gobject-introspection-1.0.pc


urpmf is your friend to find out which packages files can be found in.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 11th, '11, 21:12

@djennings: thanks for the tip, tried the command, but I'm not sure what to do next. As others, I come from the world of *buntu, been using mandriva for a few months and since the release of 1 I switched to Mageia. Also I'm not quite a *nix enviroment savvy, although I run gnu/linux for some years now (shame on the lazy me I guess :)

Any further info on how I could set/link the pkg-config search path to correctly point to the expected gobject-introspection-1.0 ?
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby djennings » Jun 11th, '11, 21:25

Your Configure failed because it could not find the file gobject-introspection-1.0.pc

urpmf tells you the file you need is in the package libgirepository-devel (32 bit system) or lib64girepository-devel (64 bit system) Install the package and run Configure again.
Code: Select all
urpmi libgirepository-devel


see
Code: Select all
man urpmi
man urpmf
man  urpmq


As a general rule when compiling your own code look at the error messages and try to work out the name of the file it is missing and use urpmf to search for it. The missing package is almost always going to be a '-devel' package.

BTW: In a previous post you said
When trying to install it (either from source or by rpm packages from around the net) I keep getting a "missing dependency"

Installing packages from other distros will probably break your system. You could probably get away with installing a Mandiva package at the moment, but you should certainly not try to use Suse or Fedora packages.

As for your Gconf dependency
Code: Select all
# So what packages have gconf in their name?
# urpmq -a gconf
gconf-editor
gconfmm2.6-doc
gnome-python-gconf
lib64gconfmm2.6-devel
lib64gconfmm2.6_1
libgconfmm2.6-devel
libgconfmm2.6_1
mcs-gconf
pkgconfig
pulseaudio-module-gconf

# OK so lib64gconfmm2.6-devel looks promising let us see what is in it

# urpmq -i lib64gconfmm2.6-devel
Name        : lib64gconfmm2.6-devel
Version     : 2.28.2
Release     : 1.mga1
Group       : Development/GNOME and GTK+
Size        : 1977838                      Architecture: x86_64
Source RPM  : gconfmm2.6-2.28.2-1.mga1.src.rpm
URL         : http://gtkmm.sourceforge.net/
Summary     : Headers and development files of GConf 2 C++ wrapper
Description :
This package contains the headers and various development files needed,
when compiling or developing programs which want GConf 2 C++ wrapper.
# Yep That looks like the package you need.
#urpmi lib64gconfmm2.6-devel
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Cannot install libdesktop-agnostic

Postby djennings » Jun 12th, '11, 01:25

There is a Mandriva RPM for libdesktop-agnostic. It does not compile under Mageia but looking at the spec file of the RPM I can see you will need to install these packages in order ro compile it.
    BuildRequires: libvala-devel >= 0.7.7
    BuildRequires: libgladeui-devel
    BuildRequires: python-devel
    BuildRequires: libGConf2-devel
    BuildRequires: gobject-introspection-devel >= 0.6.3
    BuildRequires: python-gobject-devel
    BuildRequires: pygtk2.0-devel

You will find it will not compile unless you give the Configure option --disable-gi due to an incompatibility with some library in Mageia.

While I was about it I built a Mageia package which you can find at http://dl.dropbox.com/u/285824/libdesktop-agnostic-0.3.92-1dj1.x86_64.rpm
You may find this more convenient than compiling yourself.
Sorry it is 64 bit only. If you install it you may see a warning about the signature not matching. That is because your computer will be expecting only packages signed by Mageia. It is OK to proceed. I have no idea if this package works and I cannot test it.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 12th, '11, 01:38

Hi, tried the package you suggested, fails to install (see the attached screenshot). Will check the list of dependencies you pointed in the morning, although from what I know I've been through these already (installed).
Attachments
Screenshot-2.png
Screenshot-2.png (35.83 KiB) Viewed 3708 times
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby marcuskoze » Jun 12th, '11, 08:50

Actually, it just hit me, I think the error in the previous screenshot appears because I was trying to install an rpm meant for 64 bit on my 32 bit arch laptop.
marcuskoze
 
Posts: 31
Joined: Jun 4th, '11, 16:24

Re: Cannot install libdesktop-agnostic

Postby Akien » Jun 12th, '11, 10:03

So, you may want to continue with the compiling. The next file you need seems to be libgconfmm2.6-devel according to the second screenshot, or libgirepository-devel according to the first one.

You may have other messages complaining about missing stuff, but if you proceed as djennings told you, it should be okay (using urpmf and urpmq).
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron