LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   vmware server install error, The VMware VmPerl Scripting API was not installed. (http://www.linuxquestions.org/questions/linux-software-2/vmware-server-install-error-the-vmware-vmperl-scripting-api-was-not-installed-476129/)

fakie_flip 08-22-2006 03:07 AM

vmware server install error, The VMware VmPerl Scripting API was not installed.
 
Am I the only one getting this error? I followed the directions from this howto here, so shouldn't other people be having the same problem that I am? How can this be fixed? I accepted all the default values.

Code:

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Unable to compile the VMware VmPerl Scripting API.

********
The VMware VmPerl Scripting API was not installed.  Errors encountered during
compilation and installation of the module can be found here:
/tmp/vmware-config0

You will not be able to use the "vmware-cmd" program.

Errors can be found in the log file:
'/tmp/vmware-config0/control-only/make.log'
********

Hit enter to continue.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines] /home/veronica/vmware

The path "/home/veronica/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:

Here is my contents of the make.log.

Code:

veronica@veronica-desktop:~$ cat /tmp/vmware-config0/control-only/make.log Checking if your kit is complete...
Looks good Writing Makefile for VMware::VmPerl
make: Entering directory `/tmp/vmware-config0/control-only' make: Warning: File `/usr/lib/perl/5.8/Config.pm' has modification time 9.2e+07 s in the future
Makefile out-of-date with respect to /usr/lib/perl/5.8/Config.pm /usr/lib/perl/5.8/CORE/config.h
Cleaning current config before rebuilding Makefile...
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        vmcontrol.o
        vmcontrol64.o
Please inform the author.
Writing Makefile for VMware::VmPerl
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
make: *** [Makefile] Error 1
make: Leaving directory `/tmp/vmware-config0/control-only'
veronica@veronica-desktop:~$

From the make log I noticed this.

Code:

Warning: the following files are missing in your kit:
        vmcontrol.o
        vmcontrol64.o
Please inform the author.

I should not be missing any files. I did this to verify my download.

Code:

veronica@veronica-desktop:~/Desktop$ ls
VMware-server-1.0.1-29996.tar.gz      vmware-server-distrib
VMware-server-1.0.1-29996.tar.gz.md5
veronica@veronica-desktop:~/Desktop$ cat VMware-server-1.0.1-29996.tar.gz.md5
9846bff6c3c8af97d4e3ae2700f8dd3a  VMware-server-1.0.1-29996.tar.gz
veronica@veronica-desktop:~/Desktop$ md5sum -c VMware-server-1.0.1-29996.tar.gz.md5
VMware-server-1.0.1-29996.tar.gz: OK
veronica@veronica-desktop:~/Desktop$

I also tried using gcc-3.4 by installing it with apt-get and running this command.

Code:

export CC=/usr/bin/gcc-3.4

fakie_flip 08-22-2006 05:26 AM

The problem is solved. I needed to update my clock and syncronize it with the ntp time servers.

Bosk22 02-27-2008 04:22 AM

VMWare Installation Problems
 
About time I started to give something back so here it is - hope it helps someone!!!!!

During a fresh install of Ubuntu 7.10 (64 Bit) and Vmware Server 1.0.4 I got the following error:-

===== Begin - vmware-install.pl Script Snippet Output ========
Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Unable to compile the VMware VmPerl Scripting API.

********
The VMware VmPerl Scripting API was not installed. Errors encountered during
compilation and installation of the module can be found here:
/tmp/vmware-config0

You will not be able to use the "vmware-cmd" program.

Errors can be found in the log file:
'/tmp/vmware-config0/control-only/make.log'
********

Hit enter to continue.

===== End - vmware-install.pl Script Snippet Output ========

The error message is very misleading and suggests there is a perl problem. This is however not true!!!! - I solved this by installing the libssl-dev code and the running the VMware install again.

To install libssl-dev enter the following

sudo apt-get install libssl-dev

The download can take a while on 1mb broadband so go make a cup of coffee and by the time you have done this the problem should be gone.

--------

Another problem I had with VMWare and 64bit Ubuntu was that the 32bit compatibility libraries are not installed by default. While VMWare is happy to run in 64bit it still needs these libraries. Again the error message for this one is misleading claiming that the vmware-ping cannot be found or executed and that no subnets can be automatically probed for.

Fix it with this:-

sudo apt-get install ia32-libs*

Good luck.

alussiveworm 04-11-2008 10:15 PM

Thank you!
 
You are a very awesome person! Thanks for your help!

thankyou_bosk22 12-28-2008 05:49 AM

Bosk22 you are a rockstar
 
Thanks mate.

Probably saved me many hours of pain. Just wanted to make sure you knew your effort was appreciated.

Melbourne, Australia


All times are GMT -5. The time now is 03:11 PM.