The configure script fails with below error if the twiki/lib is not a sibling of twiki/bin:
Software error:
Failed to load the perl module TWiki::Configure::Checker. The module could not be found.
Please ensure that:
1 TWiki::Configure::Checker is installed,
2 that the module is available on the @INC path,
3 that the webserver user (thweb) has permission to read the TWiki/Configure/Checker.pm file.
The detailed error seen was:
Can't locate TWiki/Configure/Checker.pm in @INC (@INC contains: /var/www/cgi-bin/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at (eval 19) line 2.
BEGIN failed--compilation aborted at (eval 19) line 2.
NOTE that I was unable to load LocalLib.cfg because of the following error:
Can't locate setlib.cfg in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at (eval 11) line 1.
Fix: Add '.' to
@INC
as done with other TWiki bin scripts.
--
TWiki:Main/PeterThoeny
- 09 May 2010