Perl v5.10.0 required--this is only v5.8.8

Moderator: crythias

Locked
Eraserhead
Znuny newbie
Posts: 33
Joined: 05 Apr 2011, 05:28
Znuny Version: 3.0.5

Perl v5.10.0 required--this is only v5.8.8

Post by Eraserhead »

Hi,

I've been at this for hours, it's not really an OTRS issue but more my CentOS5 box making me grumpy.

I succefully upgraded the database but when i want to run the scripts/DBUpdate-to-3.3.pl i get this:
[root@support otrs]# su -s /bin/bash -c "scripts/DBUpdate-to-3.3.pl" otrs Perl v5.10.0 required--this is only v5.8.8, stopped at /opt/otrs/Kernel/Config/Defaults.pm line 25.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/Config/Defaults.pm line 25.
Compilation failed in require at /opt/otrs/Kernel/Config.pm line 97.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/Config.pm line 97.
Compilation failed in require at scripts/DBUpdate-to-3.3.pl line 32.
BEGIN failed--compilation aborted at scripts/DBUpdate-to-3.3.pl line 32.
I installed Perlbrew and then installed the lastest stable version of Perl. Look here:
[root@support otrs]# perlbrew switch perl-5.22.0

[root@support otrs]# perl -v
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux
But i keep getting the error above when i want to run the upgrade script. How do i tell my system to use the new perl version?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Perl v5.10.0 required--this is only v5.8.8

Post by jojo »

switch to a actual and supported OS
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Perl v5.10.0 required--this is only v5.8.8

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked