Thursday, May 30, 2013

[Solved] Unable to find a valid source directory. Please install the kernel headers for your operating system.

To fix the error " Unable to find a valid source directory. Please install the kernel headers for your operating system." Run the command below: --------------------------------------------------------------- yum install kernel-header kernel-devel --------------------------------------------------------------- SAMPLE OUTPUT: -------------------------------------------------------------  [~]# yum install kernel-header kernel-develLoaded plugins: fastestmirror, rhnplugin, securityLoading mirror speeds from cached hostfile * cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.comSetting up Install ProcessNo package kernel-header available.Resolving Dependencies--> Running transaction check---> Package kernel-devel.x86_64 0:2.6.32-379.22.1.lve1.2.17.1.el6 will be installed-->...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews