From: Jared Camins-Esakov Date: Mon, 28 May 2012 14:07:35 +0000 (-0400) Subject: Bug 8092 follow-up: Add optional dependency on CHI X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=841f8f4d63b6b8261e5c7e57a781f9807879ae8f Bug 8092 follow-up: Add optional dependency on CHI Signed-off-by: Paul Poulain --- diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 8dcfd76f21..ee026bc5d6 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -249,6 +249,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 2c41201138..4547974952 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 c1f84cf2b1..509b848473 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 968f6b8bd9..050d15d7e9 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 95870c667e..0003e16f3e 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: