searching missing dependencies
Duncan Gibson
duncan.gibson at xs4all.nl
Fri Feb 4 10:34:52 CET 2011
Christian Krause aka wookietreiber wrote:
>
> as you may have noticed, I recently submitted a lot of modules with a
> subject like 'foo: added missing dependency'
>
> You can see the algorithm I use to detect those attached as a bash script.
> Whats not in there is that I usually check the configure script of $MOD on
> a missing dependency to figure out whether its optional or not.
Two points to note:
1. IIRC 'lvu links' works by using ldd to find any linked-in or linked-to
libraries, and therefore will only work with C/C++ like compiled code.
I've seen that for Python or Perl modules for example, it doesn't work
properly and gives a list of *all* modules that have installed libraries.
2. Some modules depend on features that could be supplied by one of several
other modules, so what shows up on your system might not be the complete
story. For example, for your recent 'jasper' submission, you added an
optional_depends on %GLUT (i.e. either freeglut or glut) but freeglut
conflicts with the mesa-lib that I have on my system with NVIDIA cards.
Which begs the question of whether the %GLUT specification is complete.
Therefore adding any missing dependencies is not always straightforward.
Cheers
D.
More information about the Lunar-dev
mailing list