gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] checking missing dependencies (script)


From: Micha
Subject: Re: [gcmd-dev] checking missing dependencies (script)
Date: Mon, 20 Nov 2006 23:54:02 +0100
User-agent: Alpenglühn 7.2

Magnus Stålnacke <address@hidden>:

> All libs do not have a folder in /usr/share/doc.

It's debian policy that every package has a doc folder there.
Is it really possible that a lib belongs to a package with just a 
different name ? I hope, glib / libc is an exception...?
And what is 'different' anyway. 
Therefor the circumstance to find sort of a 'basic' string.

> libX11.so.6 is missing.

I don't know if it's running on on slack !
It's designed on debian, but i'd wish to find out how it could 
be done more generic. For example, library names are boiled 
down to lowercase, because Debian apparently has this policy.
Maybe this is different at your installation ?

On a Debian box, it's:

FOUND: libX11.so.6       -> libx11      -> libx11-6
FOUND: libX11.so.6       -> libx11      -> libx11-data
FOUND: libX11.so.6       -> libx11      -> libx11-dev

mi: ls -1d /usr/share/doc/libx11*
/usr/share/doc/libx11-6
/usr/share/doc/libx11-data
/usr/share/doc/libx11-dev

However, you are right nonetheless, as i notice now there 
seem to be libs which are part of another package....for
example, for

libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4

the script barfs,

NO MATCH: libbonobo-activation.so.4

because it's part of libbonobo2:

mi: dpkg -S libbonobo-activation
libbonobo2-dev: /usr/lib/libbonobo-activation.a
libbonobo2-dev: /usr/lib/libbonobo-activation.la
libbonobo2-dev: /usr/lib/libbonobo-activation.so
libbonobo2-0: /usr/lib/libbonobo-activation.so.4.0.0
libbonobo2-0: /usr/lib/libbonobo-activation.so.4

Another example is 

NO MATCH: libgnomeui-2.so.0

... becasue it searched for 'libgnomeui-2' and not for 'libgnomeui'.

I've no clue how to solve it. Cutting the version number ?

Then it gets

FOUND: libgnomeui-2.so.0         -> libgnomeui  -> libgnomeui-0
FOUND: libgnomeui-2.so.0         -> libgnomeui  -> libgnomeui32
FOUND: libgnomeui-2.so.0         -> libgnomeui  -> libgnomeui-common
FOUND: libgnomeui-2.so.0         -> libgnomeui  -> libgnomeui-dev

but also stuff like

FOUND: libgnome-2.so.0   -> libgnome    -> libgnomeprint2.2-0
FOUND: libgnome-2.so.0   -> libgnome    -> libgnomeprint2.2-data
FOUND: libgnome-2.so.0   -> libgnome    -> libgnomeprintui2.2-0
FOUND: libgnome-2.so.0   -> libgnome    -> libgnomeprintui2.2-common
FOUND: libgnome-2.so.0   -> libgnome    -> libgnomesupport0

which is too broad...i don't know how to solve it.

FYI attached the 'fanatic scissors' version.

> Look at your own log, you have GCMD installed, but your
> script says libgviewer.so.0 is missing.

That lib is installed in /usr/local/lib/gnome-commander, 
by manual 'install', not by the package system. 
So there's no doc folder. 

mi: dpkg -S libgview  
dpkg: *libgview* not found.

Note that it does not say libgviewer is 'missing' it says 'no match'.
It's clear that all libraries listed by ldd are installed ;) the question
is which is the corresponding devel library. 

Apparently this script can only a helper in identifying 
missing -dev libraries, not more.
I'd be happy to know a better way to find it out...shouldn't they be 
declared somewhere in the sources ? Is gcc / g++ providing a way 
to create such  a list ?

 m°

Attachment: checdep2.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]