3rd Party APP: Can’t locate Calendar/CalciumStart.pm

Published by

Posted on November 30, 2009

Brown Bear software

error:
Software error: Can’t locate Calendar/CalciumStart.pm in @INC (@INC contains: CalciumDir40/upgrades CalciumDir40/redist …

Solution:
A message like this means that Calcium can’t find its installation directory. The location of the Calcium source code files and data directory are specified in the main Calcium script; some installations will require the full path to the Calcium installation directory here, instead of a relative path. To fix this, edit the main script (Calcium40.pl), and change the line near the top that looks like this:
BEGIN {$Defines::calendar_root = ‘CalciumDir40’}
Replace CalciumDir40 with the full filesystem path to that directory. For example, something like:
BEGIN {$Defines::calendar_root = ‘C:\public\html\cgi-bin\CalciumDir40’}
or maybe
BEGIN {$Defines::calendar_root = ‘/usr/local/apache/cgi-bin/CalciumDir40’}
should help.