Install asterisk 1.2 on fedora 5

i’m trying to install asterisk on FC5 serveur but I’m receiving error message on zaptel istallation.
the output message is:

grep: /lib/modules/2.6.18-1.2257.fc5/build/include/linux/autoconf.h: No such fil e or directory
ZAPTELVERSION=“1.2.11” build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;

rm -f version.h.tmp
You do not appear to have the sources for the 2.6.18-1.2257.fc5 kernel installed[/quote]
best regards


you need to install the kernel sources for your distro. you may want to try:

yum -y install kernel-devel


yum -y groupinstall “Development tools”