make: *** /lib/modules/3.9.5-301.fc19.i686/build: No such file or directory. Stop.
checked the build folder called
# ls /lib/modules/3.9.5-301.fc19.i686/build
lrwxrwxrwx. 1 root root 36 Jun 28 01:12 /lib/modules/3.9.5-301.fc19.i686/build -> /usr/src/kernels/3.9.5-301.fc19.i686
checked the link which wasn't pointing to anything
# ll /usr/src/kernels/3.9.5-301.fc19.i686
ls: cannot access /usr/src/kernels/3.9.5-301.fc19.i686: No such file or directory
checked my kernel rpms installed and seems that my kernel is different from my kernel-headers.
tried a lot of things, but in the end, a fix for kernel directory from sergio worked:
# yum install kernel-headers-$(uname -r) kernel-devel-$(uname -r) dkm
(src: http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/)
No comments:
Post a Comment