Page 1 of 1

CPAN Installation getting freezed

PostPosted: Thu Sep 27, 2007 9:55 am
by benoyantony
I was trying to install CPAN .. its getting freezed iwhile installation,,., what would be the reason.. even waited for 1 day. but.. its not moving.. I have tried couple of time in Linux FC4 and RHEL 4... no change

CPAN.pm: Going to build A/AN/ANDK/CPAN-1.92.tar.gz

Importing PAUSE public key into your GnuPG keychain... gpg: failed to create temporary file `/root/.gnupg/.#lk0x1e0998.localhost.localdomain.9167': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0x1e0ca8.localhost.localdomain.9167': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: no writable keyring found: eof
gpg: error reading `PAUSE2003.pub': general error
gpg: import from `PAUSE2003.pub' failed: general error
gpg: no writable keyring found: eof
gpg: error reading `PAUSE2005.pub': general error
gpg: import from `PAUSE2005.pub' failed: general error
gpg: no writable keyring found: eof
gpg: error reading `PAUSE2007.pub': general error
gpg: import from `PAUSE2007.pub' failed: general error
done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN
cp lib/CPAN.pm blib/lib/CPAN.pm
cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm
cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm
cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm
cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm
cp lib/CPAN/Queue.pm blib/lib/CPAN/Queue.pm
cp lib/CPAN/Kwalify/distroprefs.yml blib/lib/CPAN/Kwalify/distroprefs.yml
cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm
cp lib/CPAN/Kwalify.pm blib/lib/CPAN/Kwalify.pm
cp lib/CPAN/DeferedCode.pm blib/lib/CPAN/DeferedCode.pm
cp lib/CPAN/Kwalify/distroprefs.dd blib/lib/CPAN/Kwalify/distroprefs.dd
cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm
cp lib/CPAN/API/HOWTO.pm blib/lib/CPAN/API/HOWTO.pm
cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm
cp scripts/cpan blib/script/cpan
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpan
Manifying blib/man1/cpan.1
Manifying blib/man3/CPAN.3pm
Manifying blib/man3/CPAN::Tarzip.3pm
Manifying blib/man3/CPAN::Admin.3pm
Manifying blib/man3/CPAN::Debug.3pm
Manifying blib/man3/CPAN::HandleConfig.3pm
Manifying blib/man3/CPAN::Queue.3pm
Manifying blib/man3/CPAN::Version.3pm
Manifying blib/man3/CPAN::Kwalify.3pm
Manifying blib/man3/CPAN::API::HOWTO.3pm
Manifying blib/man3/CPAN::Nox.3pm
Manifying blib/man3/CPAN::FirstTime.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00signature.......ok
1/1 skipped: various reasons
t/01loadme..........ok
t/02nox.............ok
t/03pkgs............ok 1/11



When i hit couple of enter button.. it will start going but this gives error of agi scriipt when in asterisks logs .. and i cant make calls ././/.

PostPosted: Thu Sep 27, 2007 10:20 am
by eijal
I have exactly the same issue, may be is the new version of cpan.
What does the following output mean?
Code: Select all
cpan> reload CPAN
(CPAN__unchanged__v1.9201)(CPAN::Debug__unchanged__v5.402212)(CPAN::HandleConfig__unchanged__v5.402212)(CPAN::Queue__unchanged__v5.402212)(CPAN::Tarzip__unchanged__v5.402213)(CPAN::Version__unchanged__v5.402210)
0 subroutines redefined

Is it OK for this new version of CPAN?

PostPosted: Thu Sep 27, 2007 10:29 am
by benoyantony
so what was the result of the vicidial installation

PostPosted: Thu Sep 27, 2007 10:32 am
by Op3r
proceed with it. I saw it happened when using 64 bit centos.

keep trying to install Bundle::Cpan if it dont compile properly. Exit then go back to cpan and try again. It works for me :)

PostPosted: Thu Sep 27, 2007 10:36 am
by benoyantony
Me tried in both RHEL 4 32 bit and FC4 64 Bit.. both gave the same error.. .
so, you mean control + C and give ' install Bundle::Cpan' ???

PostPosted: Fri Sep 28, 2007 1:54 am
by benoyantony
so u are saying to go with that.. it was not like this before. I have done a couple of installations.. which doesn't give me this problem..

Which mirror is best for CPAN. Me used to take.. North America.. which is most safe...

CPAN

PostPosted: Fri Sep 28, 2007 8:24 pm
by faisal_ashraf
Well i had same kind problem when i was installing vicidial on fc6 32.

so i did a little trick instead of CPAN i installed all Perl modules with yum why dont you give a try because it worked for me.

Installed these with CPAN

CPAN

- install MD5
- install Digest::MD5
- install Digest::SHA1
- install readline
- install Time::HiRes

I did not installed CPAN Bundle :) but it still works.

i did something like

yum install perl-DBI*
yum install perl-Net*
yum install perl-Unicode*
yum install perl-Spreadsheet*
yum install perl-Time*
yum install perl-Proc*
yum install perl-IO*
yum searched and installed dependency also so it might install few more things but worked perfect.

you can give it a try i didn't have any problem yet on my BOX even its my 1st install.

PostPosted: Mon Oct 01, 2007 5:42 pm
by mflorell
VICIDIAL should run without installing the "Bundle::CPAN" perl module, but the other modules in the list do need to be installed.

I have heard from some people that there is a bug in one of the perl modules in that bundle that prevents it from finishing correctly. Just skip Bundle::CPAN and move on to the next module to install.

PostPosted: Tue Oct 02, 2007 10:26 am
by eijal
It was a bug, but now fixed in cpan v1.9203

PostPosted: Tue Oct 02, 2007 2:25 pm
by devafree
hello

try to reload index in CPAN prompt and then reload cpan, then try to install Bundle::CPAN again.

Otherwise , download and build from source.

I once built all the modules from source , and it worked fine.

regards

devafree