Skip to content

Commit

Permalink
Bug 8092 follow-up: Add optional dependency on CHI
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Poulain <[email protected]>
  • Loading branch information
jcamins authored and PaulPoulain committed Jun 9, 2012
1 parent d5d6daa commit 841f8f4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
10 changes: 10 additions & 0 deletions C4/Installer/PerlDependencies.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.debian
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions INSTALL.fedora7
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ YAML::Syck
Unix::Syslog
POE
Date::Calc
CHI
CHI::Driver::Memcached


3.6.2 Installation of modules - Cases difficult
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion INSTALL.ubuntu.lucid
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 841f8f4

Please sign in to comment.