Item1593: Installing plugins from vanilla Foswiki 1.0.5 does not work
Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Installing from configure, or
XXX_installers
from the command line does not work.
Error message:
here was a compile error: Can't locate object method "use" via package "Foswiki::Merge" (perhaps you forgot to load "Foswiki::Merge"?) at /my path/tools/extender.pl line 81
After a session with Olivier on IRC he found out this is the issue:
- UNIVERSAL::require is too old (0.03 instead of 0.13)
Fix:
- Use distributed CPAN instead of the ones installed on the system
- To do this, add to
LocalLib.cfg
:
-
$CPANBASE = "$foswikiLibPath/CPAN/lib";
Note from Olivier:
This disappears in 1.0.6, as I removed that UNIVERSAL::require hack because nobody liked it
--
ArthurClemens - 08 May 2009