Installing VirtualBox-4.1* on Centos 5.6 X64, I get at the end:- Error! Your kernel headers for kernel 2.6.18-274.el5 cannot be found at /lib/modules/2.6.18-274.el5/build or /lib/modules/2.6.18-274.el5/source. In /lib/modules/2.6.18-274.el5/ I find two broken links:- build -> /usr/src/kernels/2.6.18-274.el5-x86_64 source -> ditto The reason why they are broken appears to be the current address is actually /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 Show I reset the links in /lib/modules/2.6.18-274.el5 to point to /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 or is their a bigger problem that needs attention ? -- With best regards, Paul. England, EU.
Am 13.09.2011 06:06, schrieb Always Learning:> > Installing VirtualBox-4.1* on Centos 5.6 X64, I get at the end:- > > Error! Your kernel headers for kernel 2.6.18-274.el5 > cannot be found at /lib/modules/2.6.18-274.el5/build > or /lib/modules/2.6.18-274.el5/source. > > In /lib/modules/2.6.18-274.el5/ I find two broken links:- > > build -> /usr/src/kernels/2.6.18-274.el5-x86_64 > > source -> ditto > > The reason why they are broken appears to be the current address is > actually > > /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 > > > Show I reset the links in /lib/modules/2.6.18-274.el5 to point > to /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 or is their a bigger > problem that needs attention ?You have updated the kernel to the latest CR repo one. But you still run the older CentOS kernel on which you try to install VirtualBox. kernel-devel is just installed for the CR kernel version, not for your current running kernel. Just reboot into the current kernel. Alexander