[CentOS-virt] open-vm-tools 20100425 rpm

Mon May 24 20:02:06 UTC 2010
David Hollis <dhollis at davehollis.com>

On 05/23/2010 04:02 PM, Fernando Gleiser wrote:

> Do they require any special repos besides the base ones? I'm trying to build them on a 32-bit centos 5.4 VM on top of vmware server and the build doesn't even start, it fails with:
> 
> [root at localhost SPECS]# rpmbuild -ba open-vm-tools-kmod.spec
> error: Failed build dependencies:
>         uriparser-devel is needed by open-vm-tools-kmod-0-1.20100425.i386
>         kernel-devel-i386 = 2.6.18-164.15.1.el5 is needed by open-vm-tools-kmod-0-1.20100425.i386
> 
> the kernel-devel rpm is installed:
> 
> [root at localhost SPECS]# rpm -qa | grep kernel
> kernel-headers-2.6.18-194.3.1.el5
> kernel-2.6.18-164.el5
> kernel-devel-2.6.18-194.3.1.el5
> kernel-2.6.18-53.el5
> 
> but uriparser-devel is not in the standard repos: 
> 
> [root at localhost SPECS]# yum search all | grep uriparser
> [root at localhost SPECS]#
> 
> Is anything here I'm missing? 

uriparser-devel is in the EPEL repo.
To rebuild it against a specific kernel, use the kversion define like:

rpmbuild -ba --define 'kversion 2.6.18-194.3.1.el5' open-vm-tools-kmod.spec