This question about Configuration: Needs followup in Tasks

configure says that BerkleyDB (sic) is not installed

When I set {Cache}{MetaCacheManager} = Foswiki::Cache::BDB I notice bin/configure gives a notification "BerkleyDB: Not installed"

Should I be worried? I have noticed some odd refresh behaviour on some of my pages which could be explained by meta-data lookup issues but perhaps it is completely unrelated. Is it just a typo for what bin/configure is looking for - or could there be deeper issues?

Just to clarify I have installed BerkeleyDB but bin/configure is right I haven't installed BerkleyDB since I don't know of any CPAN package like that...
foswiki:~ # perl -e 'use BerkeleyDB; print $BerkeleyDB::VERSION."\n"'
0.49 
cpan[3]> i BerkeleyDB
Module id = BerkeleyDB
DESCRIPTION Interface to Berkeley DB version 2, 3 or 4
CPAN_USERID PMQS (...snip...)
CPAN_VERSION 0.49
CPAN_FILE P/PM/PMQS/BerkeleyDB-0.49.tar.gz
UPLOAD_DATE 2011-08-06
DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)
MANPAGE BerkeleyDB - Perl extension for Berkeley DB version 2, 3, 4 or 5
INST_FILE /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/BerkeleyDB.pm
INST_VERSION 0.49 
cpan[4]> i BerkleyDB
No objects found of any type for argument BerkleyDB</span> 
cpan[5]> i /BerkleyDB/
No objects found of any type for argument /BerkleyDB/</span> 

Thoughts?

-- HughBlair - 12 Aug 2011

It sounds like a typo on the dependency (Berkley instead of Berkeley)

lib/Foswiki/Configure/Checkers/MetaCacheManager.pm and lib/Foswiki/Configure/Checkers/CacheManager.pm both refer to Berkley.

Try correcting the typos in the source, and if that eliminates the error, please raise a task (Urgent status)

-- CrawfordCurrie - 12 Aug 2011

Hi Crawford,

I can concur that I found the typo in the same locations:
wiki:/srv/www/htdocs/wiki # find . -name *.pm -exec grep -l Berkley '{}' \;
./lib/Foswiki/Configure/Checkers/CacheManager.pm
./lib/Foswiki/Configure/Checkers/MetaCacheManager.pm

I corrected line 15 in CacheManager.pm and lines 15 & 16 in MetaCacheManager.pm. I don't get the error anymore and I see no issues at this stage.

As requested I have raised an urgent task which is now documented as Item11041.

-- HughBlair - 14 Aug 2011

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.1.3
Status Needs followup in Tasks
Related Topics
Topic revision: r4 - 14 Aug 2011, HughBlair - This page was cached on 18 Oct 2018 - 09:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy