Several Dependencies errors using MCPAN on RHEL 5.3 / CentOS 5.3
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
Last edited by mrbubblesort; 08-17-2009 at 07:32 PM.
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"
Oh, I did try that .. but every single package install says
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.
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:
cd ~/.cpan/Build/
cd Test-Harness[tab]*
perl Makefile.PL
make install
But it seemed to have broken CPAN...
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:
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...
rats .... Not so straight forward as I thought
Going to install Devel::NYTProf now and see if that works ... (from your last link)
Last edited by utw-mephisto; 08-19-2009 at 12:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.