see also Bugs.Item1632
, seems similar
TWiki module in @INC path
Error: 'TWiki.pm' could not be loaded. The error was:
Can't locate TWiki.pm in @INC (@INC contains: /srv/www/htdocs/twiki/lib/CPAN/lib//arch/ /srv/www/htdocs/twiki/lib/CPAN/lib//5.8.1/i586-linux-thread-multi/ /srv/www/htdocs/twiki/lib/CPAN/lib//5.8.1/ /srv/www/htdocs/twiki/lib/CPAN/lib// /srv/www/htdocs/twiki/lib /usr/lib/perl5/5.8.1/i586-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at (eval 43) line 3.
Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable
.cfg has not changed during the patch
Solution: reimplement the backup file
OTHER major problem:
Hunk #1 FAILED at 821.
1 out of 1 hunk FAILED -- saving rejects to file lib/TWiki/Search.pm.re
- patching file lib/TWiki.pm
Hunk #2 FAILED at 3299.
1 out of 2 hunks FAILED -- saving rejects to file lib/TWiki.pm.rej
(because I implemented the speed improvement manually before)
- many little other rejects which I didn't look after.
There isn't much we can do about this now; so I'm discarding it. We need to be much better at testing any future patch files.