Forum Moderators: bakedjake
Warning: prerequisite Term::ReadKey 2.1 not found.
It installed and then confirmed it was up to date. So I then went back to MyTOP and reinstalled...but I got the SAME warning that Rerm::ReadKey 2.1 was not installed. So then I went into 3 perl directories and added a directory "Term" and put the module there (out of desparation) - that did not work. So then I just took the line out of the Makefil.PL that checks for Term::ReadKey... thinking MyTop would see it and that the Makefile was just being anal.
Well, then I finished the install and tried MyTOP, but got the following error:
Can't locate loadable object for module Term::ReadKey in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/bin/mytop line 169
I couldn't figure it out, so then I downloaded the module from the developer along with his Makefile.PL and installed it manually. I got the SAME error with MyTOP - it couldn't see the module.
Then I rebooted the server...just in case. But, that did not help.
So then I went into MyTOP itself and added the following line of code to show it EXACTLY where the Termm::ReadKey module was located:
BEGIN {
unshift (@INC, "/usr/lib/perl5/5.8.0");
}
With perl this USUALLY works...especially for those who don't know how to install modules, or can't, or just don't want to take the time to install.... but THIS didn't even work!
I have NEVER had such an issue with a perl module before.
Anyone have thoughts as to what is causing the problem here? I'm using a new install of RedHat Enterprise ES.
BEGIN {
unshift (@INC, "/usr/lib/perl5/5.8.0");
}
It appears to have installed properly because the perl man pages for Term::Readkey are even there and readable through perldoc