# ZapTel compileing error Mandriva

**URL:** <https://community.asterisk.org/t/zaptel-compileing-error-mandriva/14097>\
**Category:** Asterisk Support\
**Created:** [April 29, 2007, 8:19pm UTC](https://community.asterisk.org/t/zaptel-compileing-error-mandriva/14097 "2007-04-29T20:19:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abroz](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@abroz](https://community.asterisk.org/u/abroz)\
**Post date:** [April 29, 2007, 8:19pm UTC](https://community.asterisk.org/t/zaptel-compileing-error-mandriva/14097/1 "2007-04-29T20:19:57Z")

</div>

Hi!

I have now spent more then 20 hours in last 5 days in trying to get ZapTel up and running.

Tried everything - [kb.digium.com/entry/21/7/](http://kb.digium.com/entry/21/7/) , WIKI things, linking directories, pure copy of kernel from current location (/usr/src/linux-2.6.18.6-2mdv to /lib/modules/2.6.18.6-2mdv/build).

On everything but last one it fails with this:

grep: /lib/modules/2.6.18.6-2mdv/build/include/linux/autoconf.h: No such file or directory  
make[1]: Entering directory `/usr/src/zaptel-1.4.2.1/menuselect' rm -f menuselect gmenuselect *.o make[1]: Leaving directory`/usr/src/zaptel-1.4.2.1/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.6-2mdv/build SUBDIRS=/usr/src/zaptel-1.4.2.1 clean  
make[1]: Entering directory `/lib/modules/2.6.18.6-2mdv/build' make[1]: *** No rule to make target`clean’. Stop.  
make[1]: Leaving directory `/lib/modules/2.6.18.6-2mdv/build’  
make: \*\*\* [clean] Error 2

When I copy whole kernel source to place where it want’s to find it, “make clean” go without error, but “make” fails with LOT of errors:

make[1]: Entering directory `/usr/src/zaptel-1.4.2.1/menuselect' make[2]: Entering directory`/usr/src/zaptel-1.4.2.1/menuselect’  
make[3]: Entering directory `/usr/src/zaptel-1.4.2.1/menuselect/mxml' autoconf make[3]: autoconf: Command not found make[3]: *** [config.h] Error 127 make[3]: Leaving directory`/usr/src/zaptel-1.4.2.1/menuselect/mxml’  
make[2]: \*\*\* [mxml/libmxml.a] Error 2  
make[2]: Leaving directory `/usr/src/zaptel-1.4.2.1/menuselect' make[1]: *** [all] Error 2 make[1]: Leaving directory`/usr/src/zaptel-1.4.2.1/menuselect’  
make: \*\*\* [menuselect/menuselect] Error 2

Any ideas?

On the other hand, when I try to use RPM to install zaptel-tools and dkms-zaptel (version is 1.2.x), first one installs ok, but dkms-zaptel fails.

Any help would be appreciated.
