Hi,
I've been triying to instal vmware-tools-4.0.0 on ubuntu server 12.04.4 LTS kernel version 3.11.0-15-generic.
During the configuration I have many problems to define the C heders path (see bellow):
Use of uninitialized value $autoconf_location in string eq at /usr/bin/vmware-config-tools.pl line 3455, <STDIN> line 5.
The path "/usr/src/linux-headers-3.11.0-15-generic/include/generated/uapi" is a
kernel header file directory, but it does not contain the file
"linux/autoconf.h" or "generated/autoconf.h" as expected.This can happen if the
kernel has never been built, or if you have invoked the "make mrproper" command
in your kernel directory. In any case, you may want to rebuild your kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-3.11.0-15
The path "/usr/src/linux-headers-3.11.0-15" is an existing directory, but it
does not contain a "linux" subdirectory as expected.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-3.11.0-15/include
The path "/usr/src/linux-headers-3.11.0-15/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.
This can happen if the kernel has never been built, or if you have invoked the
"make mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.
I would like to know if this vmware tool has a compatibility problem whit this kernel version. what do you recomend to solve this??
thank you in advance
Javier
Hello,
check this: Re: Another newbie fails vmware-tools install
Best regards,
Pablo
Hi Pablo, thanks for your help but nothing previusly posted undrer Another newbie fails vmware-tools install is related with my issue.
Regards!
PD: please note that the package necesaries are already installed
user@webserver:~$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.11.0-15-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
user@webserver:~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Hello,
> What is the location of the directory of C header files that match your running
> kernel? [/usr/src/linux/include] /usr/src/linux-headers-3.11.0-15/include
>
> The path "/usr/src/linux-headers-3.11.0-15/include" is a kernel header file
> directory, but it does not contain the file "linux/version.h" as expected.
THe problem is that VMware Tools is looking for an include directory that contains the directory named 'linux' and inside 'linux' needs to be file named version.h. If you use kernel source then there will be a directory named 'include' that has the appropriate directories. It sounds like you are installing JUST the kernel headers which I bet are really that include directory and nothing else. Now my 3.10 kernel build directory contains 'include' and a linux directory but no version.h file. Yet when I install kernel-headers it does contain the version.h file. Granted I am using non-ubuntu systems.
Are you trying to cross compile?
Have you looked in /usr/include/linux and your linux header directories for version.h? This is the file you really want to find to proceed. I am currently rebuilding my kernel and see if the file is auto-created at some time, I will report back.
Update: No, the version.h is not created in the kernel tree (at least not when I do a build, but I imagine an install will create the proper files.)
Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009, 2010, 2011,2012,2013,2014
Author of the books 'VMWare ESX and ESXi in the Enterprise: Planning Deployment Virtualization Servers', Copyright 2011 Pearson Education. 'VMware vSphere and Virtual Infrastructure Security: Securing the Virtual Environment', Copyright 2009 Pearson Education.
Virtualization and Cloud Security Analyst: The Virtualization Practice, LLC -- vSphere Upgrade Saga -- Virtualization Security Round Table Podcast
Message was edited by: Edward Haletky
Hi guys,
Finally I followed the instruction from this manual
http://packages.vmware.com/tools/docs/manuals/osp-esxi-51-install-guide.pdf
To use the package manager (apt-get) and the repositories from vmware.
It works great!!
Thanks to everybody,
Regrads,
Javier