Install asterisk 1.2 on fedora 5

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

[quote]
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 ;
fi

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

hi,

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

yum -y install kernel-devel

or

yum -y groupinstall “Development tools”