[Koha] 4 Perl Modules Not Installed on Koha 17.05.03.000
Mark Tompsett
mtompset at hotmail.com
Wed Sep 6 02:10:59 NZST 2017
Greetings,
Excerpts from Mark Tompsett's message of 2017-09-05 03:57:06 +0000:
> Can you explain what this module is used for in Koha?
Can't remember. I haven't looked again.
-- Nope, wait here it is:
mtompset at debian:~/kohaclone$ git grep "WebService::ILS"
C4/Installer/PerlDependencies.pm: 'WebService::ILS' => {
Koha/ExternalContent/OverDrive.pm:use WebService::ILS::OverDrive::Patron;
Koha/ExternalContent/OverDrive.pm:A (very) thin wrapper around
C<WebService::ILS::OverDrive::Patron>
Koha/ExternalContent/OverDrive.pm: $self->client(
WebService::ILS::OverDrive::Patron->new(
Koha/ExternalContent/OverDrive.pm:=head1
L<WebService::ILS::OverDrive::Patron> METHODS
misc/release_notes/release_notes_17_05_00.html:<li><a
href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18243">[18243]</a>
Bug 16034 follow-up: better handling of absence of
WebService::ILS::OverDrive::Patron at testing</li>
misc/release_notes/release_notes_17_05_00.md:-
[[18243]](http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18243)
Bug 16034 follow-up: better handling of absence of
WebService::ILS::OverDrive::Patron at testing
t/00-load.t: @needed_module_names = ( 'WebService::ILS' );
t/Koha_ExternalContent_OverDrive.t: skip "cannot find
WebService::ILS::OverDrive::Patron", 5
t/Koha_ExternalContent_OverDrive.t: unless can_load( modules => {
'WebService::ILS::OverDrive::Patron' => undef } );
OverDrive. If you don't use OverDrive, then you will not have any issues. If
you do, then you may.
It was asked:
> On my test VM, I installed it using 'cpan -i WebService::ILS'.
> Is there any reason why this method isn't mentioned on this page?
> https://wiki.koha-community.org/wiki/How_to_install_missing_Perl_modules_on_Debian
It is mentioned. It's the last one.
The major problem with cpan'ing your modules is that if you cpan them, and
then a newer version comes out with a fix/enhancement, the search paths used
by Perl will more likely find your CPAN'd versions rather than the DEB'd
versions. This is why cpan2deb (or the 3rd suggestion) is what I tend to do
if the first 2 ways don't work.
GPML,
Mark Tompsett
More information about the Koha
mailing list