Dear Monks

Not sure if this ethical – I hope it is – but if its not please accept my apologies.

I have scoured loadsa support sites to no avail; hence I decided that PM will be the final calling place.

I am trying to write monitoring and alerting based scripts in Perl to run on VM machines and/or their ESX hosts. For this I understand I need a module called VMware::VmPerl. For which I downloaded from

http://www.vmware.com/download/eula/sdk_api_perlwin_v301_eula.html

When I ran the downloaded program, which is in an EXE form, it installed in c:\program files\vmware\vmperl successfully with no problems. However when I tested the installation I got this error

Can't locate VMware/VmPerl.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\tes t_vm.pl line 3. BEGIN failed--compilation aborted at C:\Perl\test_vm.pl line 3.

(I also tried installing it into c:\perl) still to no avail.

I uninstalled perl v5.8.8, Installed VMperl then Installed Active Perl v5.8.8 again to no avail.

I tried Perl MakeFile.pl, but lots of errors were returned due to prerequisite modoles required – although all the prerequisite modules are installed but they are newer versions than then ones states in the readme of VMperl.

My question is: has anybody managed to install Vmperl on top of Perl v5.8.8 successfully? And |How? Since its not a PPM compatible package! And its installation exe doesn’t detect the installed perl versions.

Thanks for your help
Blackadder

In reply to How to install the VmPerl module by blackadder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.