Thank you for your reply.
I tried coping it already, but I get anothe error msgs.
Should I reinstall verion 5.6.0?
Anyone knows how to clean uninstall Perl?
Or duplicate an existing perl installation to another server?

I have VmPerl.pm at:
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/VMware/VmPerl.pm
and
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/VMware/VmPerl.pm

with perl -V cmd I can see the @INC like:
@INC:
/usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl

The original error is gone, now the error is:
Can't locate auto/VMware/VmPerl/autosplit.ix in @INC (@INC
contains: blib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0
/i386-linux -I/usr/lib/perl5/5.6.0 -I. /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5
/site_perl . blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 .) at /usr/local
/lib/perl5/5.8.0/AutoLoader.pm line 158.
at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/VMware/VmPerl.pm line 12

Can't locate loadable object for module VMware::VmPerl in @INC (@INC contains: blib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -I. /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5
/site_perl . blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 .) at /usr/bin
/vmware-cmd line 133

Compilation failed in require at /usr/bin/vmware-cmd line 133.
/usr/bin/vmware-cmd requires the VMware::VmPerl Perl libraries to be installed.
Check that your installation did not encounter errors.

In reply to Re^2: Compile Perl , add library? by xoroz
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.