943,908 Members | Top Members by Rank

Ad:
Nov 3rd, 2003
0

need help installing mytop

Expand Post »
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!

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!)
Similar Threads
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 3rd, 2003
0

Re: need help installing mytop

(suggestion)You need to install the missing module. Become root and type

perl -MCPAN -e 'install Term::ReadKey'

Without this module Perl has no mechanism to intercept the arrow key
presses and interpret them as requests to traverse the command line history
.

Last edited by )BIG"B"Affleck; Nov 3rd, 2003 at 10:10 pm.
Reputation Points: 25
Solved Threads: 8
Banned
)BIG"B"Affleck is offline Offline
766 posts
since Oct 2003
Nov 3rd, 2003
0

Re: need help installing mytop

I don't need to download this module from anywhere first? Just install it into Perl?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 3rd, 2003
0

Re: need help installing mytop

(suggestion)Let's make certain whether you have that module or not. Send the output of:

perl -MTerm::ReadKey -e 0
perl -dle 'print $INC{"Term/ReadKey.pm"}' # Then type 'c'
perl -MCPAN -le 'print $INC{"Term/ReadKey.pm"}'

Quote originally posted by GAL ...
Apparently I don't have ReadKey installed? How can I get it?

DOWNLOAD AVAILABLE
http://www.redhat.com/swr/i386/perl-TermReadKey-2.20-2.i386_fl.html

http://search.cpan.org/~ilyaz/Term-ReadLine-Perl-1.0203/
WHEN I FOUND THIS LINK I RAN ACROSS THIS STATEMENT
[quote=THE RUSSIAN [font=verdana, arial, helvetica]First I installed Readline from(the link above)
Then ReadKey didn't work not yet (Error message after instaling) inspite
of ReadKey.pm has been in the Lib path ($INC). But the history worked
already.
To get rid of the ReadLine Error message I reinstalled Term::ReadKey
interactive via "perl -MCPAN -e shell". Now it works perfect! quote

[/font]
Last edited by )BIG"B"Affleck; Nov 4th, 2003 at 8:29 pm.
Reputation Points: 25
Solved Threads: 8
Banned
)BIG"B"Affleck is offline Offline
766 posts
since Oct 2003
Nov 9th, 2003
1

Re: need help installing mytop

I had to downloaded Term::ReadKey from the CPAN website. I untarred, compiled, and installed, and all works

Thank you! :-D
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 9th, 2003
0

Re: need help installing mytop

Quote originally posted by GAL ...
I untarred, compiled, and installed, and all works
I knew you didnt need baby steps!
Reputation Points: 25
Solved Threads: 8
Banned
)BIG"B"Affleck is offline Offline
766 posts
since Oct 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: grub or Lilo install
Next Thread in Linux Applications and Software Forum Timeline: RH9 + XP + VMWare + Intel





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC