[rt-users] DateTime/Set.pm not found in @INC
Camron W. Fox
cwfox at us.fujitsu.com
Sat Feb 23 18:41:13 EST 2013
Alle,
I've just installed RTx-Calendar and restarted httpd, which resulted in
this error, even though DateTime/Set.pm is in perl's @INC path:
[cwfox at admin-new perl]$ pwd
/opt/perl
[cwfox at admin-new perl]$ /opt/perl/bin/perl -le 'print foreach @INC'
/opt/perl/lib/site_perl/5.16.2/x86_64-linux
/opt/perl/lib/site_perl/5.16.2
/opt/perl/lib/5.16.2/x86_64-linux
/opt/perl/lib/5.16.2
.
[cwfox at admin-new perl]$ find . -name Set.pm | grep DateTime
./lib/site_perl/5.16.2/DateTime/Set.pm
[cwfox at admin-new perl]$ sudo service httpd start
Starting httpd: [Sat Feb 23 23:38:57 2013] [warning]: (in cleanup)
Error while loading /opt/rt4/sbin/rt-server: Can't locate
DateTime/Set.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib
/opt/rt4/local/plugins/RT-Extension-Gravatar/lib
/opt/rt4/local/plugins/RT-Extension-HistoryFilter/lib
/opt/rt4/local/plugins/RT-Extension-SLA/lib
/opt/rt4/local/plugins/RT-Extension-SummaryByUser/lib
/opt/rt4/local/plugins/RTx-EmailCompletion/lib
/opt/rt4/local/plugins/RTx-Calendar/lib /opt/rt4/sbin/../lib
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at
/opt/rt4/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm line 5.
BEGIN failed--compilation aborted at
/opt/rt4/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm line 5.
Compilation failed in require at /opt/rt4/sbin/../lib/RT.pm line 686.
(/opt/rt4/sbin/../lib/RT.pm:358)
httpd: Could not reliably determine the server's fully qualified domain
name, using admin-new.subaru.nao.ac.jp for ServerName
[ OK ]
[cwfox at admin-new perl]$
Can anyone tell me how to fix this without resorting to adding the
site_perl to the path?
Best Regards,
Camron
--
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cwfox at us.fujitsu.com
More information about the rt-users
mailing list