Page 1 of 1

perl with CPAN

PostPosted: Sun Jun 03, 2007 9:45 am
by zubair
hi to all

i m following the scratch installation guide and i m doing installation in fedora linux........mysql,php inshort whole installation is on the single machine......i have installed perl-5.8.6 from FC4 cd .....but when i chek for
CPAN modules(Time::HiRes, DBI, DBD::mysql, Net::Telnet, Net::Server etc)
modules....i found that they r not installed.......i have tried yum and also mtop but could no able to rectify it ....

so.....how i can install Perl5 with several CPAN modules(Time::HiRes, DBI, DBD::mysql, Net::Telnet, Net::Server etc)....or can VICIDIAL work without these module...

secondly ....as i m doing installation on a single machine do i need to install ntp...........

PostPosted: Sun Jun 03, 2007 10:39 am
by aster1
You can install any perl module from cpan as you wish except asterisk-perl ( cpan installs asterisk-perl0.9 but vicidial requires 0.8 to work ) .

PostPosted: Sun Jun 03, 2007 12:58 pm
by gardo
please follow the install from scratch.

perl -MCPAN -e shell

install MD5
install Digest::MD5
install Digest::SHA1
...

those are just a snippet on how to install the perl modules on any linux distribution.

PostPosted: Sun Jun 03, 2007 1:51 pm
by Op3r
or just follow the scratch_install document.

It is stated that you have to

perl -MCPAN -e shell

:)

PostPosted: Mon Jun 04, 2007 1:22 am
by zubair
i have tried the mentioned command but that result Bad luck and Can't access .... i think there is some problem with at perl dot org....so is there an alternative to do that.....i thank u all 4 repling

PostPosted: Mon Jun 04, 2007 2:32 am
by abhasbajpai
is you net connection and mirror list Ok
if you are in Asia select Singapore mirrors

PostPosted: Tue Jun 05, 2007 1:34 pm
by zubair
hi
i finally decided to go to search dot cpan dot org...and manually download all modules ....any suggestion plz

PostPosted: Wed Jun 06, 2007 4:47 am
by aster1
when you type perl -MCPAN -e shell ( or just cpan ) do you atleast get to cpan command line like
cpan[5]>

Or you get that message before only ?
If you can get to cpan prompt then type "o conf init" and it will ask you all questiosn and mirrorlist .