Bug 6560

Summary: Koha Web Installer Did not Find Date::ICal Perl module Installed by RPM (openSUSE 11.4), but CPAN
Product: Koha Reporter: Andi Sugandi <andi>
Component: Installation and upgrade (web-based installer)Assignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: chris, gmcharlt, katrin.fischer
Version: unspecified   
Hardware: PC   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: An image captured of Koha Web Installer did not find Date::ICal Perl module installed (RPM Package)

Description Andi Sugandi 2011-07-07 08:21:22 UTC
Created attachment 4570 [details]
An image captured of Koha Web Installer did not find Date::ICal Perl module installed (RPM Package)

OVERVIEW:
In the Koha "Web Installer > Step 1", Date::ICal Perl module was missing though the RPM Package (perl-Date-ICal) had been installed.

[See attachment or from Google Picasa[0]]

[0] https://picasaweb.google.com/lh/photo/DsNuIeGQOKkYZgyDh3ttPw?feat=directlink

> rpm -ql perl-Date-ICal
/usr/lib/perl5/vendor_perl/5.12.3/Date/ICal
/usr/lib/perl5/vendor_perl/5.12.3/Date/ICal.pm
/usr/lib/perl5/vendor_perl/5.12.3/Date/ICal/Duration.pm
/usr/share/doc/packages/perl-Date-ICal
/usr/share/doc/packages/perl-Date-ICal/Changes
/usr/share/doc/packages/perl-Date-ICal/README
/usr/share/man/man3/Date::ICal.3pm.gz
/usr/share/man/man3/Date::ICal::Duration.3pm.gz


The package comes from devel:languages:perl[1] repository: 
> rpm -qi perl-Date-ICal | grep Distribution
Distribution: devel:languages:perl / openSUSE_11.4


[1] https://build.opensuse.org/project/show?project=devel:languages:perl

KOHA_CONF and PERL5LIB environment variables:
# env | grep KOHA
KOHA_CONF=/etc/koha/koha-conf.xml

# env | grep PERL5LIB
PERL5LIB=/usr/share/koha/lib

*But*, Koha Web Installer can find the Date::ICal Perl module if it is installed via CPAN.


STEPS TO REPRODUCE:
1.
Follow all steps described on the wiki[2], including install perl-Date-ICal package from openSUSE devel:languages:perl repositoiry.
2.
Go to the Koha Web Installer

[2] http://wiki.koha-community.org/wiki/Koha_3.0.0_on_openSUSE_11.3

ACTUAL RESULTS:
Koha Web Installer finds Date::ICal Perl modules is missing

EXPECTED RESULTS:
Koha Web Installer finds Date::ICal Perl modules is existing.
Comment 1 Andi Sugandi 2011-07-08 14:54:22 UTC
It's been also discussed on koha-devel list:
http://lists.koha-community.org/pipermail/koha-devel/2011-July/035859.html

though i mixed 2 issues on single thread, this (Date::ICal) and SMS::Send.
Comment 3 Katrin Fischer 2013-04-13 22:02:17 UTC
Date::ICal has been replaced by DateTime::Format::ICal.
Please open a new bug if there is a problem with the new dependency.