PDA

View Full Version : need help installing mytop


cscgal
Mon 3rd Nov '03, 2:55pm
I installed mytop but it won't run. It gives me the following error:


[root@daniweb root]# mytop
Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/bin/mytop line 165.
[root@daniweb root]#


Apparently I don't have ReadKey installed? How can I get it? How difficult is it to install? Baby steps please! Thanks!

cscgal
Mon 3rd Nov '03, 2:59pm
In addition to installing Term::ReadKey, how can I install Term:ANSIColor? Would I be able to see the color logged in remotely via SSH? (as the machine is quite a few states away from me!)

Wouldn't ReadKey be something the dedicated server would come pre-installed with?

cscgal
Tue 4th Nov '03, 12:28pm
I just noticed that perl itself was installed via an *rpm package. If possible, I'd like to maintain uniformity and install ReadKey via rpm as well? Is that possible? Or does ReadKey just need to be enabled? Help please?!
TIA