FC8下安装VirtualBox的问题
一直提示找不到内核,查看了一下内核是:2.6.25.4-10.fc,也没错呀。
在 make的时候提示找不到内核,看了一下Makefile文件:
# kernel base directory
ifndef KERN_DIR
# build for the current kernel, version check
KERN_DIR := /lib/modules/$(shell uname -r)/build
ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
KERN_DIR := /usr/src/linux
ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
$(error Error: unable to find the sources of your current Linux kernel. \
Specify KERN_DIR=<directory> and run Make again)
endif
$(warning Warning: using /usr/src/linux as the source directory of your \
Linux kernel. If this is not correct, specify \
KERN_DIR=<directory> and run Make again.)
endif
好像没有/usr/src/linux的目录,只有一个/usr/src/redhat目录和/usr/src/kernels目录
build也不能打开,它指向的是.i586,而我的是.i686