Question
I downloaded
CalendarPlugin from twiki site and tried to install it. It asked for Date::Calc dependency and so I dowloaded Date-Calc-5.4.tar from CPAN.org and extracted to my Perl/lib folder. Then I tried to install CalendarPlugin by running the CalendarPlugin_Installer.pl which showed the message
### CalendarPlugin installed ###
### Installation finished ###
But when I try to enable the plugin in the configure page and see the Plugin Diagnostics it is disabled and the error message shown is :
TWiki::Plugins::CalendarPlugin could not be loaded. Errors were:
Can't locate loadable object for module Date::Calc in
@INC
(
@INC
contains: D:/twiki/lib/CPAN/lib//arch D:/twiki/lib/CPAN/lib//5.8.8/MSWin32-x86-multi-thread D:/twiki/lib/CPAN/lib//5.8.8 D:/twiki/lib/CPAN/lib/ D:/twiki/lib . D:/ActivePerl-5.8.8.820-MSWin32-x86-274739/perl/site/lib D:/ActivePerl-5.8.8.820-MSWin32-x86-274739/perl/lib) at D:/twiki/lib/TWiki/Plugins/CalendarPlugin.pm line 219
Compilation failed in require at D:/twiki/lib/TWiki/Plugins/CalendarPlugin.pm line 219.
BEGIN failed--compilation aborted at D:/twiki/lib/TWiki/Plugins/CalendarPlugin.pm line 219.
Compilation failed in require at (eval 47) line 1.
BEGIN failed--compilation aborted at (eval 47) line 1.
Can anyone help me what could be the problem
Environment
--
AnithaMadhan - 28 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
It is easier if you let Perl handle the CPAN install. See
HowToInstallCpanModules.
--
PeterThoeny - 28 Mar 2007
I tried installing from CPAN itself. It says the installation is up to date. But still i find "Can't locate loadable object for module Date::Calc in
@INC
" in the Plugin diagnostics.
--
AnithaMadhan - 29 Mar 2007
Looks like a problem with the Date::Calc installation. Try to remove it, and then install it using CPAN.
--
PeterThoeny - 29 Mar 2007