Upgrading RT problem

Hi,

I try to upgrade RT 3.0.10 to version 3.4.

I run make upgrade in the installation directory. It went ok. But when I tried to run /opt/rt3/sbin/rt-setup-database --action schema
–datadir etc/upgrade/3.1.0
/opt/rt3/sbin/rt-setup-database --action acl
–datadir etc/upgrade/3.1.0
/opt/rt3/sbin/rt-setup-database --action insert
–datadir etc/upgrade/3.1.0

I got en error like this:

Can’t locate Cache/Simple/TimedExpiry.pm in @INC (@INC contains: /opt/rt3/lib /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /opt/rt3/lib/RT/Principal_Overlay.pm line 55.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Principal_Overlay.pm line 55.
Compilation failed in require at (eval 44) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Principals.pm line 73.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Principals.pm line 73.
Compilation failed in require at /opt/rt3/lib/RT/User_Overlay.pm line 79.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/User_Overlay.pm line 79.
Compilation failed in require at (eval 41) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Record.pm line 68.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Record.pm line 68.
Compilation failed in require at /opt/rt3/lib/RT/CurrentUser.pm line 72.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/CurrentUser.pm line 72.
Compilation failed in require at /opt/rt3/lib/RT.pm line 49.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT.pm line 49.
Compilation failed in require at /opt/rt3/sbin/rt-setup-database line 57.
BEGIN failed–compilation aborted at /opt/rt3/sbin/rt-setup-database line 57.

Have anybody an idea of what the problem can be?

When I started the upgrading I only run ./configure and then make upgrade. Is this right thing to do?

Hilde

Hilde Therese Lauvset Rafaelsen
IT-avdelingen, Universitetet i Tromsø
Tlf: +47 77 64 58 01

Did you run “make testdeps”?

It looks like you’re missing Cache::Simple::TimedExpiry.

–daveOn Jul 6, 2005, at 6:23 AM, Hilde T Lauvset Rafaelsen wrote:

Hi,

I try to upgrade RT 3.0.10 to version 3.4.

I run make upgrade in the installation directory. It went ok. But
when I tried to run /opt/rt3/sbin/rt-setup-database --action
schema
–datadir etc/upgrade/3.1.0
/opt/rt3/sbin/rt-setup-database --action acl
–datadir etc/upgrade/3.1.0
/opt/rt3/sbin/rt-setup-database --action insert
–datadir etc/upgrade/3.1.0

I got en error like this:

Can’t locate Cache/Simple/TimedExpiry.pm in @INC (@INC contains: /
opt/rt3/lib /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/
perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /
usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/
perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/
site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/
5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/
5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/
lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/
vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/
vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/
vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/
vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/
vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/
vendor_perl .) at /opt/rt3/lib/RT/Principal_Overlay.pm line 55.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/
Principal_Overlay.pm line 55.
Compilation failed in require at (eval 44) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Principals.pm line
73.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Principals.pm
line 73.
Compilation failed in require at /opt/rt3/lib/RT/User_Overlay.pm
line 79.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/
User_Overlay.pm line 79.
Compilation failed in require at (eval 41) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Record.pm line 68.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Record.pm line
68.
Compilation failed in require at /opt/rt3/lib/RT/CurrentUser.pm
line 72.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/CurrentUser.pm
line 72.
Compilation failed in require at /opt/rt3/lib/RT.pm line 49.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT.pm line 49.
Compilation failed in require at /opt/rt3/sbin/rt-setup-database
line 57.
BEGIN failed–compilation aborted at /opt/rt3/sbin/rt-setup-
database line 57.

Have anybody an idea of what the problem can be?

When I started the upgrading I only run ./configure and then make
upgrade. Is this right thing to do?


Hilde


Hilde Therese Lauvset Rafaelsen
IT-avdelingen, Universitetet i Tromsø
Tlf: +47 77 64 58 01


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

–dave
Code Monkey, Best Practical Solutions
David Glasser | glasser@bestpractical.com