Hi,
I'm not a perl guru, so I had to figure out by myself with a long trial & error.
How to upgrade perl modules ? expecially DBD:ODBC, since no supported rpm exists for this platform.
OS:Centos 6.3
1) install RPM unixodbc-devel
yum install unixODBC-devel
2) upgrade CPAN via YUM repositories
yum install CPAN CPANPLUS
3) upgrade CPAN module via cpan
cpan
cpan> install CPAN
< follow the on screen instructions to configure CPAN>
<mirrors list of CPAN can be found at http://www.cpan.org/SITES.html>
cpan> reload CPAN
4) upgrade DBD::ODBC
cpan
cpan> upgrade DBD::ODBC
Obviously, first try the procedure on a test box, it is wiser.
Procedure can be repeated for every perl module for which you do not have a rpm avaiable.
Just a final note: according to CPAN program, some modules are not upgradable unless you install perl-15.4. I tried it but the compilation always broke.
FInally i found that the latest perl , at time of writing (Aug 2012) is R/RJ/RJBS/perl-5.16.1.tar.bz2 , and this installed correctly.
For future reference, to find the latest perl build follow: http://search.cpan.org/search?mode=all&query=perl
HTH,
Massimo
HOT TO: upgrade DBD::ODBC and other perl modules on Centos
Moderator: crythias
Forum rules
Dont create your support topics here! No new topics with questions allowed!
Dont create your support topics here! No new topics with questions allowed!
-
- Znuny newbie
- Posts: 67
- Joined: 02 Apr 2012, 12:18
- Znuny Version: 3.1.14
- Real Name: Massimo Bianchi
- Company: NPO Sistemi S.p.A.
- Contact:
HOT TO: upgrade DBD::ODBC and other perl modules on Centos
Massimo Bianchi
skype: massimo.bianchi
OTRS:3.1.14, ITSM:3.1.8, httpd, mysql, Centos 6.3 on X86_64
skype: massimo.bianchi
OTRS:3.1.14, ITSM:3.1.8, httpd, mysql, Centos 6.3 on X86_64