1. Home
  2. Linux
  3. Can’t locate Calendar/Simple.pm [RT Solved]

Can’t locate Calendar/Simple.pm [RT Solved]

Here’s a question from one of our regular reader Mr. Shyam. He says, that the Request Tracker ends up with an error – Can’t locate Calendar/Simple.pm. Below is the complete error message:

Error during compilation of /opt/rt3/share/html/Helpers/CalPopup.html: Can't locate Calendar/Simple.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-ResetPassword/lib /opt/rt3/bin/../lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/share/html/Helpers/CalPopup.html line 89. Stack: [/opt/rt3/share/html/Helpers/CalPopup.html:89] [Calendar/Simple.pm:89]

Well, here’s the solution to the problem.

How to fix RT error – Can’t locate Calendar/Simple.pm

The Request Tracker fails due to the missing Perl package Calendar::Simple. So all you need to do is, install Calendar::Simple via CPAN and it should fix the problem.

You can install the perl package using cpan with the below command:

# perl -MCPAN -e 'install Calendar::Simple'


# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install Calendar::Simple
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
 Database was generated on Tue, 19 Dec 2017 05:17:03 GMT
Calendar::Simple is up to date.


You can also download the source code of the package and compile it using the below commands:

# wget http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Calendar-Simple-1.21.tar.gz
# tar -xvzf Calendar-Simple-1.21.tar.gz

# cd Calendar-Simple-1.21

# perl Makefile.PL

# make

# make install

That’s it!

Updated on December 21, 2017

Was this article helpful?

Related Articles

Add A Comment