Discussion:
[Refdb-devel] refdb-ms dependency not met
Markus Hoenicka
2006-07-06 12:08:31 UTC
Permalink
Hi Markus,
The utility script 'refdb-ms' which you have included in refdb source is
dependent on Perl library 'RefDB::Makestyle'.
This library is not included with RefDB. The only way a user would
1. Tried to run refdb-ms and got an error message,
2. Read the refdb-ms manpage, or
3. Read the addons.html page and noted the dependency.
I seem to recall raising this issue with you before but can't remember
what decision, if any, we reached. Is there any way to include
RefDB::Makestyle in the refdb source?
All Perl modules that are required to run the Perl scripts shipped with RefDB
are supplied as the Perlmod package. The reason is simply that the Perl idea
about packaging and installing modules does not go well with an autotools-based
project.

However, I've included checks into configure which warn the user if one of the
required modules is missing. Needless to say, after integrating refdb-ms into
the sources I forgot to add an appropriate check for RefDB::Makestyle to
configure.in. I'll fix this asap. There should probably also be a warning at
the end of configure if some modules were missing.

regards,
Markus
--
Markus Hoenicka
***@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
David Nebauer
2006-07-06 13:26:32 UTC
Permalink
Hi Markus,
Rather than force Debian users to source the 'addons' repository to
access package 'libperl-refdb-makestyle' I'll move the package into
the refdb repositories ('release' and 'svn').
Since package 'libperl-refdb-makestyle' depends on a hand-rolled package
of mine 'libperl-term-clui' I've also had to include the latter in both
refdb repositories.

Regards,
David.
Markus Hoenicka
2006-07-06 21:08:18 UTC
Permalink
Hi David,
Ah, I see why I couldn't find it in perlmod. The link on
'download.html' claims to point to 'RefDB-perlmod-0.4.tar.gz' but
actually downloads 'RefDB-perlmod-0.3.tar.gz'. Version 0.3 does not
contain 'RefDB::Makestyle'.
My bad. I've fixed that link, and removed the comment about the
Perlmod package being optional. No one should miss refdb-ms.

regards,
Markus
--
Markus Hoenicka
***@cats.de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
Loading...