Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Computed dependencies

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Computed dependencies
  • Date: Thu, 19 Jan 2006 02:42:17 -0500

Generally spells in basesystem are not included in the dependency list.

BTW, I wrote a similar script which tries to find missing direct and
indirect dependencies:
http://dufflebunk.homeip.net/~dufflebunk/smgl/listLibDepends.sh
It probably has a few bugs hanging around in it, but it was good enough
for my purposes.

On Thu, 2006-19-01 at 00:44 +0100, neuron wrote:
> I tried to do utility to find binary dependencies of installed spell.
> It:
> * Looks for all binary files in the install log
> * For each binary it looks for all libraries the binary needs
> * For each library it tries to find the spell to which it belongs
>
> Example:
>
> --------------------------------------------------
>
> $ ./check.sh gnupg
> Spell: gnupg
> Executable files:
> =================
> /usr/bin/gpg
> /usr/bin/gpgsplit
> /usr/bin/gpgv
> /usr/libexec/gnupg/gpgkeys_finger
> /usr/libexec/gnupg/gpgkeys_hkp
> /usr/libexec/gnupg/gpgkeys_http
>
> Libraries:
> ==========
> libncursesw.so.5:
> ncurses-5.4
> ncurses-5.5
> ncurses-5.4
> ncurses-5.5
>
> libreadline.so.5:
> readline-5.0
> readline-5.0.5
> readline-5.1
> readline-5.0
> readline-5.0.5
> readline-5.1
>
> libresolv.so.2:
>
> libz.so.1:
> zlib-1.2.3
> zlib-1.2.3
>
> Library dependencies:
> =====================
> ncurses
> readline
> zlib
>
> --------------------------------------------------
>
> If I do
>
> $ gaze dependencies gnupg 2
> gnupg ()
> gettext (optional)
> bzip2 (optional)
> openldap (optional)
> nasm (optional)
> libusb (optional)
>
>
> Isn't gnupg spell missing depends for ncurses, readline and zlib ?
>
> I'm attaching the script. It's still quite raw, but should work.
>
> --
> neuron
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page