[asterisk-users] zaptel 1.4.10 doesn't build on debian etch epia itx system

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat May 17 16:42:03 CDT 2008


On Sat, May 17, 2008 at 09:01:26PM +0200, Erik de Wild: Tripple-o wrote:
> Today I have been  messing around  with updating my residential  
> phonesystem (it was running a 1.0 version from years ago). I have  
> downloaded the last source packages for zaptel-1.4.10.1and   
> asterisk-1.4.19.2. Zaptel doesn't want to build. After a long time of  
> making this is the output that stops it suddenly. Does it makes sense  
> to try another lower version of Zaptel, do I miss a package or should  
> I change a line in the Makefile like I had to do to build Asterisk  
> (Proc=i586 instead of Proc=<uname -m> which result in i686. The  
> updated box is now running without zaptel and it seems to work ok but  
> I would like to add ztdummy for conferences. Any suggestion to solve  
> this problem is very welcome.
> 
> Friendly regards,
> 
> 
> Erik de Wild
> 
> output uname -a
> Linux debian 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686 GNU/Linux
> 
> 
> 
> #
> gcc -g -O2 -I.  -g -fPIC -Wall -DBUILDING_TONEZONE    - 
> DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o zttool  
> zttool.o  -lnewt
> #
> Can't locate Config_heavy.pl in @INC (@INC contains: /etc/perl /usr/ 
> local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/ 
> share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/ 
> site_perl .) at /usr/lib/perl/5.8/Config.pm line 65.

That's strange.

> #
> make[2]: Entering directory `/usr/src/asterisk/zaptel-1.4.10.1/kernel/ 
> xpp/utils'
> #
> cc -I../.. -o print_modes -g -Wall  print_modes.c
> #
> ./print_modes >init_fxo_modes
> #
> for i in zt_registration xpp_sync lszaptel xpp_blink zapconf  
> zaptel_hardware; do perl -I./zconf -c $i || exit 1; done
> #
> Can't locate File/Basename.pm in @INC (@INC contains: ./zconf /etc/ 
> perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/ 
> perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/ 
> local/lib/site_perl .) at zt_registration line 11.
> #
> BEGIN failed--compilation aborted at zt_registration line 11.

File::Basename is included in the package perl-modules .

> #
> make[2]: *** [perlcheck] Error 1

(perl-check is a target that runs a test "compilation" (perl -C) of a
number of perl scripts to make sure that they can run. In this case
zt_registration fails due to the lack of File::Basename

You could avoid xpp/utils altogether if you want to save a few MB-s .
But I think you'll e missing some nice utilities.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list