在REL5上安装DBD:INFORMIX

在REL5上安装DBD:INFORMIX

为何把perl5.8.8认为了perl5.0???
系统是redhat 企业版5

[Copy to clipboard] [ - ]
CODE:
Linux oracle.yh.cn 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux



[Copy to clipboard] [ - ]
CODE:
[root@oracle DBD-Informix-2008.0229]# perl Makefile.PL
*** ExtUtils::AutoInstall version 0.63
*** Checking for dependencies...
[Core Features]
- DBI         ...loaded. (1.52 >= 1.38)
[High Resolution Timing]
- Time::HiRes ...loaded. (1.86)
[POD Format Testing]
- Test::Pod   ...missing.
==> Auto-install the 1 optional module(s) from CPAN? [y] y
*** Dependencies will be installed the next time you type 'make'.
*** ExtUtils::AutoInstall configuration finished.

Configuring IBM Informix Database Driver for Perl DBI Version 2008.0229 (2008-02                                              -29) (aka DBD::Informix)
        You are using DBI version 1.52 and Perl version 5.008008
Remember to actually read the README file!

Perl:     /usr/bin/perl v5.008008 i386-linux-thread-multi dl_dlopen.xs
System:   linux hs20-bc2-2.build.redhat.com 2.6.9-34.elsmp #1 smp fri feb 24 16:                                              56:28 est 2006 i686 i686 i386 gnulinux
*** Ideally, you should upgrade to Perl version 5.010000 or later.

*** Ideally, you should upgrade to DBI version 1.602 or later.

Ideally, you should upgrade to Perl version 5.010000 or later
这个是建议你升级到5.10而不是你认为的5.0
哦...20080229,这么新的包。。。
建议你下载一个稍老一些的DBD-Informix包。
在RHEL5下升级Perl可不是件容易的事。
升级不会很困难啦...只是比较麻烦...

更麻烦的是要安装一堆module.....
尤其如果时代久远....有些module根本就忘了他的存在..

在安装的时候指定旧版的perl的@INC当然也行..但是实际执行, 可能会有莫名其妙的状况发生...
所以我现在升级Perl..一定重装所有用过的module....