Author Topic: Unable to Install VMware tools in PCLinux OS [ SOLVED ]  (Read 2450 times)

Offline IceDigger

  • Jr. Member
  • **
  • Posts: 36
Unable to Install VMware tools in PCLinux OS [ SOLVED ]
« on: January 16, 2012, 12:30:21 PM »
I am trying to run a virtual machine with PClinux in it via VMWare Player.  Everytime I try and install vmware tools it says this:

vmware-install.pl: line 8: use: command not found
vmware-install.pl: line 17: use: command not found
vmware-install.pl: line 18: no: command not found
vmware-install.pl: line 22: syntax error near unexpected token `('
vmware-install.pl: line 22: `my @cOpenVMToolsRPMPackages = ("vmware-kmp-debug",'

System Specs: Intel 2600k, 16GB DDR3 1600MHz RAM, 120GB SSD SATA III Drive, 1TB WD Black Drive, ATI 6790 Video Card
« Last Edit: January 16, 2012, 07:32:50 PM by IceDigger »
PC - Intel i7 3930k 6 Core CPU, 32GB Quad Channel RAM, Gigabyte x79 Motherboard, ATI 7990 Video Card

Offline IceDigger

  • Jr. Member
  • **
  • Posts: 36
Re: Unable to Install VMware tools in PCLinux OS
« Reply #1 on: January 16, 2012, 12:45:27 PM »
I prefer VMWare.

I am running Windows 7 and PCLinuxOS is the virtual machine.
PC - Intel i7 3930k 6 Core CPU, 32GB Quad Channel RAM, Gigabyte x79 Motherboard, ATI 7990 Video Card

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Unable to Install VMware tools in PCLinux OS
« Reply #2 on: January 16, 2012, 12:53:45 PM »
I prefer VMWare.

I am running Windows 7 and PCLinuxOS is the virtual machine.

which version of PCLinuxOS ?

also, can you post the first 25~30 lines of the script vmware-install.pl ?
Look like it cannot find the python perl interpreter.
« Last Edit: January 16, 2012, 01:27:31 PM by as »

Offline IceDigger

  • Jr. Member
  • **
  • Posts: 36
Re: Unable to Install VMware tools in PCLinux OS
« Reply #3 on: January 16, 2012, 01:19:47 PM »
I am running kde 2011.09

Here are the first 33 lines of the script

#!/usr/bin/perl -w
# If your copy of perl is not in /usr/bin, please adjust the line above.
#
# Copyright 1998-2010 VMware, Inc.  All rights reserved.
#
# Tar package manager for VMware

use strict;

# Use Config module to update VMware host-wide configuration file
# BEGINNING_OF_CONFIG_DOT_PM
# END_OF_CONFIG_DOT_PM

# BEGINNING_OF_UTIL_DOT_PL
#!/usr/bin/perl

use strict;
no warnings 'once'; # Warns about use of Config::Config in config.pl

# A list of known open-vmware tools packages
#
my @cOpenVMToolsRPMPackages = ("vmware-kmp-debug",
                "vmware-kmp-default",
                "vmware-kmp-pae",
                "vmware-kmp-trace",
                "vmware-guest-kmp-debug",
                "vmware-guest-kmp-default",
                "vmware-guest-kmp-desktop",
                "vmware-guest-kmp-pae",
                "open-vm-tools-gui",
                "open-vm-tools",
                "libvmtools-devel",
                "libvmtools0");
PC - Intel i7 3930k 6 Core CPU, 32GB Quad Channel RAM, Gigabyte x79 Motherboard, ATI 7990 Video Card

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Unable to Install VMware tools in PCLinux OS
« Reply #4 on: January 16, 2012, 01:33:34 PM »
may be you used a command like:
Quote
.   vmware-install.pl         (dot <space> vmware-install.pl) ?

you can't run it that way, probably you need to add execution permission to "vmware-config.pl" using:
Quote
chmod  a+x  vmware-config.pl

and then to run the command this way:
Quote
./vmware-install.pl

Offline IceDigger

  • Jr. Member
  • **
  • Posts: 36
Re: Unable to Install VMware tools in PCLinux OS
« Reply #5 on: January 16, 2012, 02:20:21 PM »
That worked!  Thank you!

MUCH better performance!
PC - Intel i7 3930k 6 Core CPU, 32GB Quad Channel RAM, Gigabyte x79 Motherboard, ATI 7990 Video Card

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Unable to Install VMware tools in PCLinux OS
« Reply #6 on: January 16, 2012, 02:25:47 PM »
Great! :)

Could you please edit your first post in this thread and add [ SOLVED ] in the subject line ? Thanks.

AS