Re: [asterisk-users] Still problems with Asterisk on latest Debian
On Thu, Nov 09, 2006 at 12:25:10AM +0100, Christian wrote: 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 Should be harmless for you. Resolved in latest 1.4 branch. 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 ] Silly syntax error. Luckily again, harmless for you, unless, maybe, if if you use selinux. /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. /usr/include/zaptel/ should exist and be writable, or else previous command would have failed. tonezone.h should be provide with the
Re[2]: [asterisk-users] Still problems with Asterisk on latest Debian
hi, OK, her it goes. here is what happens when typing make for the second time. make[1]: Entering directory `/root/zaptel-1.4.0-beta2/menuselect' checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 for GNU make... make checking for asprintf... yes checking for getloadavg... yes checking for setenv... yes checking for strcasestr... yes checking for strndup... yes checking for strnlen... yes checking for strsep... yes checking for strtoq... yes checking for unsetenv... yes checking for vasprintf... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /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 configure: creating ./config.status config.status: creating makeopts config.status: creating autoconfig.h === configuring in mxml (/root/zaptel-1.4.0-beta2/menuselect/mxml) configure: running /bin/sh ./configure --prefix=/usr/local 'CC=gcc' 'CFLAGS=' --cache-file=/dev/null --srcdir=. 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 ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for nroff... /usr/bin/nroff checking for rm... /bin/rm checking for strdup... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mxml.list config.status: creating mxml.pc config.status: creating config.h configure: Menuselect build configuration successfully completed make[2]: Entering directory `/root/zaptel-1.4.0-beta2/menuselect' make[3]: Entering directory `/root/zaptel-1.4.0-beta2/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 `/root/zaptel-1.4.0-beta2/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 `/root/zaptel-1.4.0-beta2/menuselect' make[1]: Leaving directory `/root/zaptel-1.4.0-beta2/menuselect' make[1]: Entering directory `/root/zaptel-1.4.0-beta2' gcc gendigits.c -lm -o gendigits ./gendigits tones.h gcc 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 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' CC [M] /root/zaptel-1.4.0-beta2/pciradio.o CC [M] /root/zaptel-1.4.0-beta2/tor2.o CC [M] /root/zaptel-1.4.0-beta2/torisa.o /root/zaptel-1.4.0-beta2/torisa.c:1143: warning: set_tor_base defined but not used CC [M] /root/zaptel-1.4.0-beta2/wcfxo.o CC [M] /root/zaptel-1.4.0-beta2/wct1xxp.o CC [M]
Re: [asterisk-users] Still problems with Asterisk on latest Debian
On Thu, Nov 09, 2006 at 04:05:25PM +0100, Christian wrote: hi, OK, her it goes. here is what happens when typing make for the second time. [snip] But the error you posted before was from 'make install', so a successful run of make does not indicate any change. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Still problems with Asterisk on latest Debian
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 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users