# Unable to install Zaptel in Fedora Core 6

**URL:** <https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261>\
**Category:** Asterisk Support\
**Created:** [March 22, 2007, 7:43am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261 "2007-03-22T07:43:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 7:43am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/1 "2007-03-22T07:43:05Z")

</div>

Hi

I am unable to install Zaptel 1.4.0 in my Fedora core 6 which is running on Kernal 2.6  
When i give make clean it given the below error

grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory  
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect' rm -f menuselect *.o make[2]: Entering directory`/usr/src/zaptel-1.4.0/menuselect/mxml’  
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml.a mxmldoc doc/mxml.3 doc/mxmldoc.1 testmxml mxml.xml  
/bin/rm -f mxmldoc-static libmxml.a  
/bin/rm -f \*.bck _.bak  
/bin/rm -f config.cache config.log config.status  
/bin/rm -f -r autom4te_.cache  
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect/mxml' make[1]: Leaving directory`/usr/src/zaptel-1.4.0/menuselect’  
rm -f torisatool makefw tor2fw.h radfw.h  
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool  
rm -f \*.o ztcfg tzdriver sethdlc sethdlc-new  
rm -f [libtonezone.so](http://libtonezone.so) libtonezone.a \*.lo  
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/usr/src/zaptel-1.4.0 clean  
make: \*\*\*/lib/modules/2.6.18-1.2798.fc6/build: No such file or directory. Stop.  
make: \*\*\* [clean] Error 2

even though /lib/modules/2.6.18-1.2798.fc6/build file exists and is used in the instruction before the error  
i am using make version 3.81 and on running the configure file it is building zaptel

On running make it gives

grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory  
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect' make[2]: Entering directory`/usr/src/zaptel-1.4.0/menuselect’  
make[3]: Entering directory `/usr/src/zaptel-1.4.0/menuselect/mxml' gcc -O -Wall -c mxml-attr.c gcc -O -Wall -c mxml-entity.c gcc -O -Wall -c mxml-file.c gcc -O -Wall -c mxml-index.c gcc -O -Wall -c mxml-node.c gcc -O -Wall -c mxml-search.c gcc -O -Wall -c mxml-set.c gcc -O -Wall -c mxml-private.c gcc -O -Wall -c mxml-string.c /bin/rm -f libmxml.a /usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o ranlib libmxml.a make[3]: Leaving directory`/usr/src/zaptel-1.4.0/menuselect/mxml’  
gcc -Wall -o menuselect.o -g -c -D\_GNU\_SOURCE menuselect.c  
gcc -Wall -o menuselect\_curses.o -g -c -D\_GNU\_SOURCE menuselect\_curses.c  
gcc -Wall -o strcompat.o -g -c -D\_GNU\_SOURCE strcompat.c  
gcc -g -Wall -o menuselect menuselect.o menuselect\_curses.o strcompat.o mxml/libmxml.a -lncurses  
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect' make[1]: Leaving directory`/usr/src/zaptel-1.4.0/menuselect’  
grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory  
make[1]: Entering directory `/usr/src/zaptel-1.4.0' gcc -o makefw makefw.c ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file You do not appear to have the sources for the 2.6.18-1.2798.fc6 kernel installed. make[1]: *** [linux26] Error 1 make[1]: Leaving directory`/usr/src/zaptel-1.4.0’  
make: \*\*\* [all] Error 2

where can i find the sources if that is the problem?

Please Help!!

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [March 22, 2007, 8:33am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/2 "2007-03-22T08:33:18Z")

</div>

Yum install them may well help a bit !!!

---

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 10:07am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/3 "2007-03-22T10:07:27Z")

</div>

I tried Yum but no use. it says that the headers are not defined ☹

---

<div class="post-metadata">

**Author:** ![baconbuttie](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/baconbuttie/32/916_2.png) [@baconbuttie](https://community.asterisk.org/u/baconbuttie)\
**Post date:** [March 22, 2007, 10:21am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/4 "2007-03-22T10:21:59Z")

</div>

ever heard of google ?

ftp://mirrors.kernel.org/fedora/core/6/ … 6.i386.rpm

---

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 10:34am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/5 "2007-03-22T10:34:57Z")

</div>

Thanks but these packages are already installed in my system, i am unable to find out which resource is it unable to find…

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [March 22, 2007, 10:39am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/6 "2007-03-22T10:39:31Z")

</div>

> [@](#):
>
> Thanks but these packages are already installed in my system, i am unable to find out which resource is it unable to find…

Bit of a clue is…

> [@](#):
>
> You do not appear to have the sources for the 2.6.18-1.2798.fc6 kernel installed.

What does uname -r say ?

then what is in the directory in the /usr/src ?

also have you checked the spinlock.h this seems to be a centos issue but may affect Fedora as well.[/quote]

---

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 11:19am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/7 "2007-03-22T11:19:43Z")

</div>

My Kernal Release Version dispalyed with uname -r is  
2.6.18-1.2798.fc6

and in /usr/src the files i have are

asterisk-1.4.1 libpri-1.4.0.tar.gz redhat  
asterisk-1.4.1.tar.gz make-3.81 zaptel-1.4.0  
libpri-1.4.0 make-3.81.tar.gz.tar zaptel-1.4.0.tar.gz

what about the spinlock.h

or do i need to reinstall my fedora ?

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [March 22, 2007, 11:35am UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/8 "2007-03-22T11:35:16Z")

</div>

[quote]asterisk-1.4.1 libpri-1.4.0.tar.gz redhat  
asterisk-1.4.1.tar.gz make-3.81 zaptel-1.4.0  
libpri-1.4.0 make-3.81.tar.gz.tar zaptel-1.4.0.tar.gz[/quote]

Is that it!!!

what about the kernels directory ?

---

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 12:08pm UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/9 "2007-03-22T12:08:42Z")

</div>

Hmmmmmmmmmmmm.  
Kernels is not present. What resides in that directory…??  
i will try to repair it anyways

Thanks a lot  
😄

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [March 22, 2007, 12:47pm UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/10 "2007-03-22T12:47:58Z")

</div>

What resides in that directory…??

`[root@cypbx src]# ls -lr kernels
total 16
drwxr-xr-x 17 root root 4096 Feb 24 23:58 2.6.9-34.0.1.EL-smp-i686
drwxr-xr-x 17 root root 4096 Feb 24 23:58 2.6.9-34.0.1.EL-i686`  
This is whats being looked for

---

<div class="post-metadata">

**Author:** ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://community.asterisk.org/u/arjun)\
**Post date:** [March 22, 2007, 12:54pm UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/11 "2007-03-22T12:54:09Z")

</div>

OK thanks a Lot…  
it was a great help ianplain  
thanks again 😄

---

<div class="post-metadata">

**Author:** ![jbrock](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jbrock](https://community.asterisk.org/u/jbrock)\
**Post date:** [March 22, 2007, 6:52pm UTC](https://community.asterisk.org/t/unable-to-install-zaptel-in-fedora-core-6/13261/12 "2007-03-22T18:52:56Z")

</div>

also when ever i saw that problem installing kernel-devel and kernel-smp-devel seemed to fix it.
