|
I am attempting to install VMware-server-1.0.4-56528 on a Sun AMD 64-bit environment running CentOS5 x86_64 (64-bit)
Did a bit of searching and found a few sites the better of which was: http://www.cyberciti.biz/tips/vmware-on-centos5-rhel5-64-bit-version.html Follow along and I I hit the following issue: |------------ snip start The directory of kernel headers (version 2.6.18-8.1.14.el5) does not match your running kernel (version 2.6.18-8.1.14.el5xen). Even if the module were to compile successfully, it would not load into the running kernel. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] |------------ snip end Even after creating a link and messing around with the directory names, still the same. Here is the output of ' uname -r' : 2.6.18-8.1.14.el5xen It looks like the yum update for 64-bit has a different idea about what the kernel vs. the headers. Yes, I rebooted after installing the update, just in case you are wondering. Also tried doing this via the RPM and got the same results. At this point I may have to use the native virtualization in CentOS 5 but I would rater use VMware, that's the point of this whole exercise. Has anyone managed to successfully get past this point given the configuration above? |
|
For those following this thread I hope this helps and its a direct follow up to my last post.
Thanks to all of those who responded couldn't have done it without their input. Had to rebuild the Kernel as indicated above. Get instructions at : http://wiki.centos.org/HowTos/Custom_Kernel but used: rpm -i http://isoredirect.centos.org/centos/5/updates/SRPMS/kernel-2.6.18-8.1.8.el5.src.rpm (Used this for install source for 5 vs. 4) make sure you rebuild as non-root I created the user and group "mockbuild" this works out well particularly given the use of the line above. I edited /home/mockbuild/rpmbuild/SPECS/kernel-2.6.spec file to change "%define signmodules 1" to "%define signmodules 0". Its may be in multiple places but I only ran into one. Had to do `yum install unifdef` (as root) ( Follow the instructions, if you aren't doing something funky just do the rebuild don't modify too much) At the end I had to : rpm --force -ivh kernel-*.rpm (Couldn't get it to install until I forced it.) |