Hi Daniel!

On So, 06 Feb 2022, Daniel Gröber wrote:

> after installing and configuring lbdb for ldap lookup I'm getting the
> following perl import error on running lbdbq:
> 
>     Can't locate Authen/SASL.pm in @INC (you may need to install the 
> Authen::SASL module) (@INC contains: /etc/perl 
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 
> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 
> /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/bin/mutt_ldap_query 
> line 26, <DATA> line 960.
>     BEGIN failed--compilation aborted at /usr/bin/mutt_ldap_query line 26, 
> <DATA> line 960.
>     lbdbq: no matches
> 
> mutt_ldap_query has:
> 
>     use Authen::SASL qw(Perl);
> 
> right at the top which seems to suggest libauthen-sasl-perl is pretty
> much required to use it. Currently the package only suggests this
> library but I believe this should be a stronger dependency such as
> reccommends so you don't end up with a broken installation by default
> :)

Thank you for your bug report.
The problem here is, that lbdb contains several modules, that all have
different dependencies, but most users use only one or some of these
modules.
Depending on all packages, that all modules use, will lead to
installing much overhead that most users don't use.

That's why I only "Suggest" these dependencies here.
But you are right, it should be clearer, which module requires which
package(s), so I just updated the package description, which should
make the dependencies clearer.

As an alternative I could package every module with dependencies as a
separate package, but I fear that this is overhead for the Debian
archive.

Here's the new package description:

Description: Little Brother's DataBase for the mutt mail reader
 This package consists of a set of small tools, which collect mail
 addresses from several sources and offer these addresses to the mutt
 external query feature. At the moment the following modules are
 supported:
  - m_finger (uses the finger(1) command; needs finger package)
  - m_inmail (scans incoming mail for addresses)
  - m_passwd (searches /etc/passwd)
  - m_yppasswd (searches the YP password database)
  - m_nispasswd (searches the NIS password database)
  - m_getent (searches the configured password database)
  - m_pgp2, m_pgp5, m_gpg (searches your PGP or GnuPG keyrings)
  - m_fido (searches the Fidonet nodelist)
  - m_abook (uses the address book application abook; needs abook package)
  - m_goobook (uses goobook to read Google contacts; needs goobook package)
  - m_addr_email (uses addr-email from the addressbook Tk program)
  - m_muttalias (searches your Mutt mail aliases)
  - m_pine (searches your Pine addressbook files)
  - m_wanderlust (search the WanderLust alias database)
  - m_palm (uses your Palm database; needs libpalm-perl package)
  - m_gnomecard (uses GnomeCard database files)
  - m_ldap (query some LDAP server; needs libauthen-sasl-perl,
    libauthen-sasl-perl, and libnet-ldap-perl packages)
  - m_evolution (search in the Evolution addressbook)
  - m_vcf (search in vcard files using libvformat)
  - m_khard (search a CardDAV address book via khard; needs khard package)
  - m_mu (search maidir-utils using mu-cfind; needs maildir-utils package)

Hope that it will be clearer with this...

Greetings
Roland

Reply via email to