I used a VM to test the complete process in Centos 5.4 and this is what worked for me. I installed everything that I could from yum repositories and just a few perl modules from cpan:
yum install perl-XML-SAX* perl-XML-Simple* perl-IO-Socket* perl-DBI nmap
yum install --enablerepo=rpmforge perl-Time-modules* perl-NetAddr-IP* perl-DateTime* perl-DBI nmap xprobe2 perl-Tie-A* perl-Tie-C* perl-Tie-D* perl-Tie-E* perl-Tie-F* perl-Tie-H* perl-Tie-IxHash perl-Tie-LLHash perl-Tie-Mounted perl-Tie-Persistent perl-Tie-RegexpHash perl-Tie-Restore perl-Tie-S* perl-Tie-T* perl-ExtUtils-CBuilder perl-ExtUtils-Depends perl-ExtUtils-DynaGlue perl-ExtUtils-F77 perl-ExtUtils-FakeConfig perl-ExtUtils-FindFunctions perl-ExtUtils-ParseXS perl-ExtUtils-PerlPP perl-ExtUtils-PkgConfig perl-ExtUtils-TBone perl-ExtUtils-XSBuilder perl-Mail-Sendmail
cpan Time::Format Net::Traceroute::PurePerl IO::Socket::Multicast
-----------------------------------------
If you have to install PHP 5.2 from Testing repo:
cd /etc/yum.repos.d && wget
http://dev.centos.org/centos/5/CentOS-Testing.repo(I had priority installed, so I had to temporary configure priority test as 1, update php and then remove the priority)
echo "priority=1" >> /etc/yum.repos.d/CentOS-Testing.repo
vim /etc/yum.repos.d/CentOS-Testing.repo (change enable=1)
yum update php
vim /etc/yum.repos.d/CentOS-Testing.repo (remove priority=1 line and back enable=0)
(Thanks to
http://openideas.info/wiki/index.php?title=Pandora_3.0:CentOS_Installation)
(Thanks to
http://www.strdoc.net/php5-centos-4-4)
-----------------------------------------
if you got an error in Traceroute, try:
wget
http://search.cpan.org/CPAN/authors/id/H/HA/HAG/Net-Traceroute-1.08.tar.gztar xzvf Net-Traceroute-1.08.tar.gz
cd Net-Traceroute-1.08.tar.gz
make MakeFile.PL
make
make test
make install
cpan Net::Traceroute::PurePerl