NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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 LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads