[Koha-devel] [ORIGINAL POST] Koha 3.4.02: Date::ICal and SMS::Send Perl modules issue on openSUSE 11.4

Andi Sugandi andisugandi at gmail.com
Fri Jul 8 16:26:37 CEST 2011


On Fri, Jul 8, 2011 at 8:16 PM, MJ Ray <mjr at phonecoop.coop> wrote:
> Yeah, I don't get this.  I'd expect all modules to fail or all packaged
> modules to fail or all cpan modules to fail, not just two.  I feel like
> I must be missing something.

Maybe I'd better make it to two separated threads to make this issues clearer:
1.
Date::ICal, that failed[1] to find though it'd been installed from
RPM. *But it's solved* by CPAN.[6]
[6] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6560


2.
SMS:Send, that failed to find though it'd been installed from RPM *or*
by CPAN.[7]
[7] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6561

Separated them now or we are good on just a single thread?


> The @INCs look OK to me.  What does
>      ./koha_perl_deps.pl -m
> output when you run it from the unpacked koha download's folder?

http://paste.koha-community.org/90

cmiww. Now, it tells (again) that Koha does not find SMS:Send though
it is already installed by:

1. RPM:
https://picasaweb.google.com/lh/photo/QocVK9BwLL2ddv5GYa6O_g?feat=directlink
# rpm -ql perl-SMS-Send | grep Send.pm
/usr/lib/perl5/vendor_perl/5.12.3/SMS/Send.pm

OR

2. CPAN:
https://picasaweb.google.com/lh/photo/y3_qGSkXtxu4FryOXWWPQA?feat=directlink


> If that doesn't report Date::ICal and SMS:Send as missing, then
> there's some environment difference between your webserver and
> your shell which causes this, but that's a big haystack :-(

UPDATE:
Wait a minute, I just already find other clue:

If we installed a Perl module both from RPM and CPAN, we SHOULD find
identical file (*.pm) on different path, right? Like:
1. ICal.pm:

# locate ICal.pm
/usr/lib/perl5/site_perl/5.12.3/Date/ICal.pm
/usr/lib/perl5/vendor_perl/5.12.3/Data/ICal.pm
/usr/lib/perl5/vendor_perl/5.12.3/Date/ICal.pm

the 1'st line is installed by CPAN, and the last 2 lines by RPM.

*But*, see it for:

2.SMS:Send

# locate Send.pm
/usr/lib/perl5/vendor_perl/5.12.3/Mail/Send.pm
/usr/lib/perl5/vendor_perl/5.12.3/SMS/Send.pm

*NO* Send.pm file installed by CPAN (although it was reported
"SMS::Send is up to date (0.05)", see image below), those 2 files are
just installed by RPM.

[5] https://picasaweb.google.com/lh/photo/y3_qGSkXtxu4FryOXWWPQA?feat=directlink

So, bug (also) belongs to CPAN?

Thanks.

Best regards,
-- 
Andi Sugandi.
openSUSE-id Team, openSUSE Community Member.

https://connect.opensuse.org/pg/profile/andisugandi


More information about the Koha-devel mailing list