Page 1 of 1

Zaptel installation error

PostPosted: Fri May 25, 2007 12:51 am
by shyms05
hi to all

well, am new to asterisk. ve got some problems when installing zaptel from the scratch installation. The following errors were encountered :
1.when use make clean
grep: /include/linux/autoconf.h: No such file or directory
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed zttest fxotune
rm -f patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
make -C SUBDIRS=/usr/src/asterisk/zaptel-1.2.16 clean
make: *** SUBDIRS=/usr/src/asterisk/zaptel-1.2.16: No such file or directory. Stop.
make: *** [clean] Error 2

2. when use make
grep: /include/linux/autoconf.h: No such file or directory
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits > tones.h
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file

cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest
cc -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
cc -shared -Wl,-soname,libtonezone.so.1.0 -lm -o libtonezone.so zonedata.lo tonezone.lo
You do not appear to have the sources for the 2.6.9-42.0.10.ELsmp kernel installed.
make: *** [all] Error 1


i don't know actually what to do exactly,as i have tried to install the ELsmp kernel but in vain

it's urgent.

any help will be appreciated.

thanking u all in advance

regards
shyms :(

PostPosted: Fri May 25, 2007 1:10 am
by ramindia
Hi

Looks like you are installing on RHEL system

by defautl RHEL not install kernel devellopment tools.

So install kernel source

by typing up2date coomand ( but RHEL need subscription)

if you are already installed check /usr/src

ram

RE:Zaptel installation error

PostPosted: Fri May 25, 2007 1:36 am
by shyms05
hi

well am following the installation guide line from
http://astguiclient.sourceforge.net/scr ... stall.html.

it's Linux kernel 2.6.17 .it's with installing the kernel source that
am having problem.don't know exactly where to download it, n install it.
ve tried several time but in vain.

if u have any idea from where can i download n install.just let me know
plz.thx


Thanking you inadvance

Regards
shyms

PostPosted: Fri May 25, 2007 2:27 am
by ramindia
Hi

your error clearly show the problem

"You do not appear to have the sources for the 2.6.9-42.0.10.ELsmp kernel installed"

so search in google for source RPM of above said kernel

ram

RE:Zaptel installation error

PostPosted: Fri May 25, 2007 2:58 am
by shyms05
hi.

ya, i knw but the problem is zat have download from this site
http://rpm.pbone.net/index.php3/stat/4/idpl/4204476/com/3w-9xxx-kmdl-2.6.9-42.0.10.ELsmp-9.3.0.4-7.el4.x86_64.rpm.html#content

ve done yum install, but it said
Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 66534c2b


Public key for 3w-9xxx-kmdl-2.6.9-42.0.10.ELsmp-9.3.0.4-7.el4.x86_64.rpm is not installed


Moreover, ve download from more site, they r asking about public key.
wat can i do, some other ways plz.

thx

regards
shyms

PostPosted: Fri May 25, 2007 4:58 am
by ramindia
Hi

you need to contact RHEL Support
if you have got licensed pack

if not i recomend to shift other distro
where you will be more confortable.

ram

PostPosted: Fri May 25, 2007 12:45 pm
by gardo
If you don't have a subscription from RHEL, I suggest get another linux distro like CentOS. It's a clone of RHEL w/o the name and the artwork. Enterprise ready and best of all it's free.