From 0796c556a55853e53bac552c670b38f909265a95 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Mon, 28 May 2012 10:07:35 -0400 Subject: [PATCH] Bug 8092 follow-up: Add optional dependency on CHI Content-Type: text/plain; charset="UTF-8" --- C4/Installer/PerlDependencies.pm | 10 ++++++++++ INSTALL.debian | 2 +- INSTALL.fedora7 | 2 ++ INSTALL.ubuntu | 2 +- INSTALL.ubuntu.lucid | 3 ++- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index ae01208..26e5bd8 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -244,6 +244,16 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '0.03' }, + 'CHI' => { + 'usage' => 'Caching', + 'required' => '0', + 'min_ver' => '0.36' + }, + 'CHI::Driver::Memcached' => { + 'usage' => 'Caching', + 'required' => '0', + 'min_ver' => '0.12' + }, 'Net::LDAP::Filter' => { 'usage' => 'LDAP Interface Feature', 'required' => '0', diff --git a/INSTALL.debian b/INSTALL.debian index 2c41201..4547974 100644 --- a/INSTALL.debian +++ b/INSTALL.debian @@ -86,7 +86,7 @@ http://debian.koha-community.org or maybe you can build packages yourself or maybe you will need to install them locally with a command similar to - $ sudo cpan Graphics::Magick + $ sudo cpan Graphics::Magick CHI CHI::Driver::Memcached Note: you may need to run CPAN initialization if you've not run cpan before. See http://search.cpan.org/~andk/CPAN/lib/CPAN.pm#CONFIGURATION diff --git a/INSTALL.fedora7 b/INSTALL.fedora7 index c1f84cf..509b848 100644 --- a/INSTALL.fedora7 +++ b/INSTALL.fedora7 @@ -776,6 +776,8 @@ YAML::Syck Unix::Syslog POE Date::Calc +CHI +CHI::Driver::Memcached 3.6.2 Installation of modules - Cases difficult diff --git a/INSTALL.ubuntu b/INSTALL.ubuntu index 968f6b8..050d15d 100644 --- a/INSTALL.ubuntu +++ b/INSTALL.ubuntu @@ -90,7 +90,7 @@ sources Run the following command: - $ sudo cpan GD GD::Barcode::UPCE Algorithm::CheckDigits::M43_001 + $ sudo cpan GD GD::Barcode::UPCE Algorithm::CheckDigits::M43_001 CHI CHI::Driver::Memcached Note: you may need to run CPAN initialization if you've not run cpan before: diff --git a/INSTALL.ubuntu.lucid b/INSTALL.ubuntu.lucid index 95870c6..0003e16 100644 --- a/INSTALL.ubuntu.lucid +++ b/INSTALL.ubuntu.lucid @@ -97,7 +97,8 @@ sources Run the following command: $ sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \ - PDF::API2::Simple Storable Text::CSV::Encoded + PDF::API2::Simple Storable Text::CSV::Encoded CHI \ + CHI::Driver::Memcached Note: you may need to run CPAN initialization if you've not run cpan before: -- 1.7.2.5