cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly

Item1593: Installing plugins from vanilla Foswiki 1.0.5 does not work

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy