Installed 4.2.4 on a fresh CentOS 6.5 system, then imported and upgraded
the database from another system running 4.0.5
I got this:
/opt/rt4/etc/upgrade/switch-templates-to html
Can’t locate RT.pm in @INC (@INC contains: lib local/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 .) at
/opt/rt4/etc/upgrade/switch-templates-to line 55.
BEGIN failed–compilation aborted at
/opt/rt4/etc/upgrade/switch-templates-to line 55.
But then I created this environment variable…
PERL5LIB=/opt/rt4/lib
…and everything was fine.
Shouldn’t there be either an automatic way of creating this variable, or
a more prominent warning during installation that things won’t work well
unless you do this?
Florin Andrei
http://florin.myip.org/