Quote:
Originally Posted by rsatapathy
I think the kernel headers are installed. So what more do i need to check ?
|
According to the Zaptel Makefile, you should only see that error when the $(KSRC) variable is empty or the directory to which $(KSRC) refers does not exist:
Code:
@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then \
echo "You do not appear to have the sources for the $(KVERS) kernel installed."; \
exit 1 ; fi
Looking back through the Makefile, we find that $(KSRC) is defined as:
Code:
KVERS:=$(shell uname -r)
endif
ifndef KSRC
ifneq (,$(wildcard /lib/modules/$(KVERS)/build))
KSRC:=/lib/modules/$(KVERS)/build
else
KSRC_SEARCH_PATH:=/usr/src/linux-2.4 /usr/src/linux
KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; then echo
$$dir; break; fi; done)
endif
endif
We know that $(KVERS) is defined, because the kernel version shows up in the error message. Look in /lib/modules/`uname -r`/build for your kernel headers. If not there, look also in /usr/src/linux-2.4 and /usr/src/linux for full sources. Without knowing more, my guess is that RPM thinks those packages are installed, but they're not (or no longer) there. You could use RPM to force-upgrade those headers, or install the kernel source headers manually without RPM.
Good luck!