I get this error when setting up my site.
Software error:
Can't locate Class/Template.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /var/www/html/en/subscribe.cgi line 10.
BEGIN failed--compilation aborted at /var/www/html/en/subscribe.cgi line 10.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
I have tried the following with no success:
# yum install perl-Class-Template
from the Rpmforge repo
https://rpmrepo.org/RPMforge/Using
Or use the cpan command 1) # yum install perl-CPAN
2) # cpan
3) > install Class::Template
..
The website I am trying to get working is hosted on CentOS. The version is 2.6.18-194.11.1.el5PAE. Im trying to get migrate the site from one server to another and now the cgi script doesnt execute correctly as it requires the class Template which is in a folder within the website tree.