Installing VMware RCLI within 64-Bit Linux

From AstroArch

The first step is to install the VI Perl Toolkit from VMware. However to do that first do the following to install the pre-requisites. This is for a YUM based system but you can translate to your own package manager, note the following is all one line.

yum -y perl-XML-LibXML perl-XML-LibXML-Common perl-XML-SAX perl-XML-DOM
perl-XML-Parser perl-XML-RegExp perl-Crypt-SSLeay perl-Data-Dump 
perl-Class-MethodMaker

Then install the VMware Perl Toolkit v1.5 from VMware.

Then you need to download the VMware RCLI package and unpack it. Before installing apply the following patch and then run the installer per normal.

diff -c vmware-rcli-distrib/vmware-install.pl  vmware-rcli-distrib-new/vmware-install.pl
*** vmware-rcli-distrib/vmware-install.pl	2007-11-20 07:37:43.000000000 -0500
--- vmware-rcli-distrib-new/vmware-install.pl	2008-07-16 08:28:20.000000000 -0400
***************
*** 24,29 ****
--- 24,30 ----
  # the bit-itude of our platform.  If we're running on Solaris we don't have
  # to guess and can just ask isainfo(1) how many bits userland is directly.
  sub is64BitUserLand {
+   return 0;
    if (vmware_product() eq 'tools-for-solaris') {
      if (direct_command(shell_string($gHelper{'isainfo'}) . ' -b') =~ /64/) {
        return 1;
***************
*** 2668,2673 ****
--- 2669,2675 ----
  }
 
  sub install_content_viperl {
+    return;
     my %patch;
     my $rootdir;
     my $ssl_version;
***************
*** 2834,2843 ****
              internal_dirname(spacechk_answer('In which directory do you want to install ' .
                'the executable files?', 'dirpath', '/usr/bin', './external_bin', 'BINDIR'));
 
!   system("vmware-viperl-distrib/vmware-install.pl --default --prefix=$rootdir");
!   if (!($? >> 8 eq 0)) {
!      error("Unable to install VIPerl.\n\n");
!   }
 
    undef %patch;
    install_dir('./etc', $gRegistryDir, \%patch, 0x1);
--- 2836,2845 ----
              internal_dirname(spacechk_answer('In which directory do you want to install ' .
                'the executable files?', 'dirpath', '/usr/bin', './external_bin', 'BINDIR'));
 
!   #system("vmware-viperl-distrib/vmware-install.pl --default --prefix=$rootdir");
!   #if (!($? >> 8 eq 0)) {
!   #   error("Unable to install VIPerl.\n\n");
!   #}
 
    undef %patch;
    install_dir('./etc', $gRegistryDir, \%patch, 0x1);