vmware/weathervane

Can't locate *.pm when running run-harness

hrosenbe opened this issue · 2 comments

Copied from blog comment:

Greg Savino
June 7, 2017 at 12:45 pm

Having a bear of a time with first run, keep getting the error below. Has anyone ever seen this before? If yes, how did you resolve?

Can’t locate LWP.pm in @inc (@inc contains: ./runHarness /root/perl5/lib/perl5/5 .16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/per l5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/l ocal/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/ lib64/perl5 /usr/share/perl5 .) at runHarness/Services/ZookeeperService.pm line 26.
BEGIN failed–compilation aborted at runHarness/Services/ZookeeperService.pm lin e 26.
Compilation failed in require at runHarness/Factories/ServiceFactory.pm line 31.
BEGIN failed–compilation aborted at runHarness/Factories/ServiceFactory.pm line 31.
Compilation failed in require at ./weathervane.pl line 37.
BEGIN failed–compilation aborted at ./weathervane.pl line 37.

The error message indicates that at least one of the Perl libraries needed by the run harness were not installed on your system/VM. The libraries should have been installed by the autoSetup.pl script.

So there are two questions:

  • Did you run the autoSetup.pl script?
  • If you did, can you please attach the autoSetup.log file that should have been created in your /root/weathervane directory. It is likely that there were errors that prevented the libraries being installed, and the cause should have been captured in this file.

I am assume that you got this running or no longer need assistance. Feel free to reopen if you are still having trouble.