I have no knowledge about the vmware installation, but if you have more than one of these installations you might just copy perl and its libraries from the working installation.

Having said that, your error message shouldn't be a problem to fix. Obviously vmware uses a homegrown library which it doesn't search for in the usual locations.

So find the place VmPerl.pm is in the other machines (find / -name VmPerl.pm -print) and try to replicate that. Or see if the environment variables PERL5LIB or PERLLIB are set to something when the vmware scripts are run

Or set the PERL5LIB variable yourself to point to where you put VMware/VmPerl.pm.

By the way, when you tried to copy VmPerl.pm to a lib location, did you put it in a directory called VMware? If not you produced a library VmPerl instead of VMware::VmPerl the script was looking for


In reply to Re: Compile Perl , add library? by jethro
in thread Compile Perl , add library? by xoroz

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.