VMware Cloud Community
DmitrySemenov
Contributor
Contributor

Can't install vmware tools inside Centos 6.4 due to headers missed

Hi Guys,

I have VMWare ESX410-Update02 on my server, trying to install VMWare tools on fresh Centos 6.4 minimal install. Getting this:



What is the location of the directory of C header files that match your running kernel? /usr/src/kernels/2.6.32-358.14.1.el6.x86_64/arch/cris/include

The path "/usr/src/kernels/2.6.32-358.14.1.el6.x86_64/arch/cris/include" is not

valid.

Would you like to change it? [yes]

so I tried various options and no luck so far.

kernel headers are installed:

[root@php55 2.6.32-358.14.1.el6.x86_64]# yum install kernel-devel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirrors.cat.pdx.edu

* epel: dl.fedoraproject.org

* extras: centos.mirror.ndchost.com

* updates: mirrors.bluehost.com

* webtatic: us-east.repo.webtatic.com

Setting up Install Process

Package kernel-devel-2.6.32-358.14.1.el6.x86_64 already installed and latest version

Nothing to do

[root@php55 2.6.32-358.14.1.el6.x86_64]#

[root@php55 2.6.32-358.14.1.el6.x86_64]# ls -l /usr/src/kernels/

total 4

drwxr-xr-x. 22 root root 4096 Aug 14 11:53 2.6.32-358.14.1.el6.x86_64

lrwxrwxrwx.  1 root root   43 Aug 14 11:53 2.6.32-358.el6.x86_64-x86_64 -> /usr/src/kernels/2.6.32-358.14.1.el6.x86_64

[root@php55 2.6.32-358.14.1.el6.x86_64]#

Any ideas?

0 Kudos
4 Replies
brunoscota
Enthusiast
Enthusiast

once i got a problem like that, and i solved updating/installing these packages

yum install kernel-headers kernel-uek-firmware kernel-uek kernel kernel-uek kernel-devel kernel-uek-firmware kernel-uek-devel kernel-devel kernel kernel-uek-devel

It may helps you.

0 Kudos
admin
Immortal
Immortal

You need to install kernel-headers same version of your kernel installed. If not able to find in yum, download it from third party repos and install.

Use this http://rpm.pbone.net/

Or

You can use google also to find RPM package matching to your kernel version.

Yours, Phillips

0 Kudos
tpatterson
Enthusiast
Enthusiast

Have you tried installing pre-built tools via VMware's own YUM repository?  It most likely will solve the dependency issues for you, unless you have built your own kernel from scratch...  I have outlined the procedure on my blog, found here:  http://timsvirtualworld.com/2013/08/installing-vmware-tools-from-vmwares-repository/

Timothy J. Patterson VCAP5-DCA, VCAP5-DCD, VCP5-DCV, Novell CLE @PcProfessionals
0 Kudos
SatyS
Hot Shot
Hot Shot

Please go through this

http://packages.vmware.com/tools/docs/manuals/osp-esx-41-install-guide.pdf

Hope this helps

-SatyS

If you find this useful,please mark the answer as correct/helpful

Regards,
SatyS
http://myvirtuallearning.wordpress.com/

0 Kudos