Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item1593: Installing plugins from vanilla Foswiki 1.0.5 does not work

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
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 smile

-- ArthurClemens - 08 May 2009

ItemTemplate edit

Summary Installing plugins from vanilla Foswiki 1.0.5 does not work
ReportedBy ArthurClemens
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r2 - 22 Jun 2009, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License