Several Dependencies errors using MCPAN on RHEL 5.3 / CentOS 5.3
I never encountered that with 5.2 on both, but since I am using 5.3, I am getting weird errors.
Let me first explain what I am doing. On a fresh install, I am first initialize MCPAN using the following commands Quote:
I am trying now to install the following packages Quote:
Quote:
Quote:
Quote:
Quote:
Anyone has a way to shed some light on this ? |
You need to download and install these dependency packages, but if the server you have set to download it from is not available, it will fail. If you configure cpan manually, you can select which servers you want to use (as well as which programs cpan will use to get, decompress, and compile each package) and if one is down, it will automatically move on to the next instead of failing. Don't worry, the manual config is a piece of cake to use, all it does is ask you a bunch of questions, and you can use the default values for most of them.
If the package is downloaded but it can't install for some reason, you an manually install each package by doing this: 1. cd to the directory where the package directory (something like .../.cpan/build/package name) 2. run "make" 3. if no errors, then run "make test" 4. if no errors, then run "make install" |
Quote:
Quote:
|
I just did a quick google search, and quite a few people seem to be having the same problem as yours. It seems to be a rather recent problem with the Test::Harness & Test::More packages.
These two guys recommend reinstalling CPAN: http://blog.laufeyjarson.com/2009/06...ncies-in-cpan/ http://www.nntp.perl.org/group/perl....06/msg526.html This guy says if you manually install Test::Harness it will go away: http://iftekhar.blogspot.com/2009/08...y-on-cpan.html But I think this will help you the most: http://code.google.com/p/test-more/issues/detail?id=48 Quoting from that site: Quote:
Does that help at all? |
Thanks for the links .. I tried now to install Test::Harness and indeed it fails at first with the same dependencies errors.
Then as described in the articel, I installed it manually using Quote:
Then I realized that the first package I installed was Bundle::CPAN .. and THEN Test:Harness. Tried the other way around ...which seem to work at first .. Test::Harness installed fine .. but Bundle::CPAN bombed out with the same error ... Then left CPAN again and tried installing Test::Harness manually .. bang .. CPAN now starts with Quote:
Going to install Devel::NYTProf now and see if that works ... (from your last link) |
None of the suggestions worked ..
Since "Test::Harness" seem to be the offending package, I simply downloaded it from Code:
http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Test-Harness-3.17.tar.gz Code:
perl Makefile.PL |
All times are GMT -5. The time now is 11:24 AM. |