Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Can't locate AnyEvent/HTTP.pm" issue #5

Open
Pprasoonn opened this issue Apr 28, 2019 · 3 comments
Open

"Can't locate AnyEvent/HTTP.pm" issue #5

Pprasoonn opened this issue Apr 28, 2019 · 3 comments

Comments

@Pprasoonn
Copy link

Hi,
As per the given command to run "iotScnner.pl" i am getting following issue.
running it on kali VM

root@Curosity:~/IoTSeeker# perl iotScanner.pl 1.23.123.431 Can't locate AnyEvent/HTTP.pm in @inc (you may need to install the AnyEvent::HTTP module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at iotScanner.pl line 1. BEGIN failed--compilation aborted at iotScanner.pl line 1.

I have also run the command "cpan AnyEvent::HTTP Data::Dumper JSON"

Please help in resolving it.

Thanks

@majidmc2
Copy link

Hi
I have your problem too. Did you find any solutions?

@MrAlexWeber
Copy link

I was able to fix this by adding sudo before the cpan command like so:

sudo cpan AnyEvent::HTTP Data::Dumper JSON

@mvbeek
Copy link

mvbeek commented Jun 10, 2022

I was able to fix this by adding sudo before the cpan command like so:

sudo cpan AnyEvent::HTTP Data::Dumper JSON

I still have the same issue after running the command with SUDO at the front.

Test Summary Report

t/00_load.t (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
t/01_basic.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/02_ip_literals.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 23 tests but ran 0.
Files=3, Tests=1, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.01 cusr 0.01 csys = 0.05 CPU)
Result: FAIL
Failed 3/3 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 2
MLEHMANN/AnyEvent-HTTP-2.25.tar.gz
one dependency not OK (AnyEvent); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MLEHMANN/AnyEvent-HTTP-2.25.tar.gz
Data::Dumper is up to date (2.183).
JSON is up to date (4.06)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants