This question about Configuration: Answered
Install HolidayListPlugin on VMWare Virtual Machine fails with missing Date::Calc message
I am running VMWare virtual machine downloaded from the Foswiki site with loaded Foswiki Version 1.0.9. When I load the HolidayListPlugin
the system comes back with the successful installation message, but in the log it complains that the Date::Calc module cannot be found :
"2010-11-25T21:56:32Z warning | Can't locate Date/Calc.pm in @INC (@INC contains: /var/www/foswiki.local/lib . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /var/www/foswiki.local/lib/CPAN/lib//arch /var/www/foswiki.local/lib/CPAN/lib//5.8.8/i486-linux-gnu-thread-multi /var/www/foswiki.local/lib/CPAN/lib//5.8.8 /var/www/foswiki.local/lib/CPAN/lib/) at /var/www/foswiki.local/lib/Foswiki/Plugins/HolidaylistPlugin/Core.pm line 7.
at /var/www/foswiki.local/lib/Foswiki/Plugins/HolidaylistPlugin/Core.pm line 7"
The same behaviour happens for the "CalenderPlugin". Is this a known issue ? Is there a work-around available ?
Thank you for your quick response.
- 28 Nov 2010
Some plugins have dependiecies which have to be met. In this case, it's the CPAN module
which has to be installed which shoul dusually be done by the plugin installer. Were these plugins pre-installed or did you install them yourself?
To install the module, log in as root (on the shell, not on Foswiki) and type
aptitude install libdate-calc-perl
- 29 Nov 2010
This was a good hint - thanks. HolidayList Plugin works now.
The CalenderPlugin still does not, though. I tried "aptitude install libcalender-simple-perl". Do you have another hint for this ?
- 29 Nov 2010
The Perl module
is a bit trickier as there is no Debian package available (only for unstable and testing where it's called
). To install it, you'd have to do it the CPAN way (as root):
cpan> install HTML::CalendarMonthSimple
- 30 Nov 2010