[asterisk-users] Still problems with Asterisk on latest Debian

Christian christian08 at tdcmail.se
Wed Nov 8 16:25:10 MST 2006


Hi all,
I have now reinstalled my whole system because I had to change a few things wiht my drives. Here is what happens. I have done apt-get build-dep asterisk
apt-get install linux-headers-2.6.17-2-686 which works just fine now.
Downloaded the latest files from digiums ftp.
First I unpacked zaptel. I am doing everything as root. Then I just type make. Here is what happens:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for GNU make... make
checking for grep... /bin/grep
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for newtBell in -lnewt... yes
checking newt.h usability... yes
checking newt.h presence... yes
checking for newt.h... yes
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
configure: *** Zaptel build successfully configured ***
****
**** The configure script was just executed, so 'make' needs to be
**** restarted.
****
make: *** [config.status] error 1
Then I type make again and it seem to work fine. I have that output as well, but i can send that if someone is interested.
Then I type make install and the following happens:
make[1]: Entering directory `/root/zaptel-1.4.0-beta2'
make -C /lib/modules/2.6.17-2-686/build SUBDIRS=/root/zaptel-1.4.0-beta2 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-2-686'
  Building modules, stage 2.
  MODPOST
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_direct_write' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_direct_read' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_indirect_write' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_indirect_read' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'dump_slic_cmd' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-2-686'
make[1]: Leaving directory `/root/zaptel-1.4.0-beta2'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
if [ -d /usr/lib/hotplug/firmware ]; then \
		/usr/bin/install -c -m 644 wct4xxp/*.ima /usr/lib/hotplug/firmware; \
	fi
if [ -d /lib/firmware ]; then \
		/usr/bin/install -c -m 644 wct4xxp/*.ima /lib/firmware; \
	fi
Installed firmware
/usr/bin/install -c -D -m 755 libtonezone.a /usr/lib/libtonezone.a
/usr/bin/install -c -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
if [ -z "" -a `id -u` = 0 ]; then \
		/sbin/ldconfig || : ;\
	fi
rm -f /usr/liblibtonezone.so
/bin/ln -sf libtonezone.so.1.0 \
		/usr/lib/libtonezone.so.1
/bin/ln -sf libtonezone.so.1.0 \
		/usr/lib/libtonezone.so
if [ -z "" && -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so; fi
/bin/sh: line 0: [: saknar "]"
/usr/bin/install -c -D -m 644 zaptel.h /usr/include/zaptel/zaptel.h
/usr/bin/install -c -D -m 644 tonezone.h /usr/include/zaptel/tonezone.h
/usr/bin/install: Cannnot create normal file "/usr/include/zaptel/tonezone.h": File or directory does not exist.
make: *** [install-include] Error 1
I am using the swedish language so had to translate a little of the above message. Any help would be apreciated!
many thanks,
Christian




More information about the asterisk-users mailing list