[AsteriskBrasil] Zaptel 1.4.0 x Debian

2007-01-04 Por tôpico Keny Hayakawa Schmeling
Estou tentando compilar o Zaptel 1.4.0 no meu debian e não estou conseguindo.

 

Segue os logs

 

#./configure

 

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

checking for usb_init in -lusb... no

configure: creating ./config.status

config.status: creating build_tools/menuselect-deps

config.status: creating makeopts

configure: *** Zaptel build successfully configured ***

 

 

#make

 

make[1]: Entrando no diretório `/usr/src/zaptel-1.4.0/menuselect'

make[2]: Entrando no diretório `/usr/src/zaptel-1.4.0/menuselect'

make[3]: Entrando no diretório `/usr/src/zaptel-1.4.0/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 
mml-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]: Saindo do diretório `/usr/src/zaptel-1.4.0/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/limxml.a -lncurses

make[2]: Saindo do diretório `/usr/src/zaptel-1.4.0/menuselect'

make[1]: Saindo do diretório `/usr/src/zaptel-1.4.0/menuselect'

make[1]: Entrando no diretório `/usr/src/zaptel-1.4.0'

gcc -o makefw makefw.c

./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.18-2-486/build SUBDIRS=/usr/src/zaptel-1.4.0 modules

make[2]: Entrando no diretório `/usr/src/linux-headers-2.6.18-2-486'

make[2]: Makefile: Arquivo ou diretório não encontrado

make[2]: *** Sem regra para processar o alvo `Makefile'.  Pare.

make[2]: Saindo do diretório `/usr/src/linux-headers-2.6.18-2-486'

make[1]: ** [linux26] Erro 2

make[1]: Saindo do diretório `/usr/src/zaptel-1.4.0'

make: ** [all] Erro 2

 

Eu estou com o pacote headers instalado e mesmo assim não funciona. Alguém pode 
me dar uma força?


Estação VoIP 2006
5 e 6 Dezembro
Curitiba PR
http://www.estacaovoip.com.br

___
LIsta de discussões AsteriskBrasil.org
AsteriskBrasil@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

___
Acesse o  wiki AsteriskBrasil.org:
http://www.asteriskbrasil.org

Re: [AsteriskBrasil] Zaptel 1.4.0 x Debian

2007-01-04 Por tôpico Ian Esper
Falta o pacote de cabeçalho do seu kernel.

aptitude install linux-headers-2.6.18-2-486


Keny Hayakawa Schmeling wrote:

 Estou tentando compilar o Zaptel 1.4.0 no meu debian e não estou 
 conseguindo.

  

 Segue os logs

  

 #./configure

  

 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

 checking for usb_init in -lusb... no

 configure: creating ./config.status

 config.status: creating build_tools/menuselect-deps

 config.status: creating makeopts

 configure: *** Zaptel build successfully configured ***

  

  

 #make

  

 make[1]: Entrando no diretório `/usr/src/zaptel-1.4.0/menuselect'

 make[2]: Entrando no diretório `/usr/src/zaptel-1.4.0/menuselect'

 make[3]: Entrando no diretório `/usr/src/zaptel-1.4.0/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 mml-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]: Saindo do diretório `/usr/src/zaptel-1.4.0/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/limxml.a -lncurses

 make[2]: Saindo do diretório `/usr/src/zaptel-1.4.0/menuselect'

 make[1]: Saindo do diretório `/usr/src/zaptel-1.4.0/menuselect'

 make[1]: Entrando no diretório `/usr/src/zaptel-1.4.0'

 gcc -o makefw makefw.c

 ./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.18-2-486/build SUBDIRS=/usr/src/zaptel-1.4.0 
 modules

 make[2]: Entrando no diretório `/usr/src/linux-headers-2.6.18-2-486'

 make[2]: Makefile: Arquivo ou diretório não encontrado

 make[2]: *** Sem regra para processar o alvo `Makefile'.  Pare.

 make[2]: Saindo do diretório `/usr/src/linux-headers-2.6.18-2-486'

 make[1]: ** [linux26] Erro 2

 make[1]: Saindo do diretório `/usr/src/zaptel-1.4.0'

 make: ** [all] Erro 2

  

 Eu estou com o pacote headers instalado e mesmo assim não funciona. 
 Alguém pode me dar uma força?

 

 
 Estação VoIP 2006
 5 e 6 Dezembro
 Curitiba PR
 http://www.estacaovoip.com.br

 ___
 LIsta de discussões AsteriskBrasil.org
 AsteriskBrasil@listas.asteriskbrasil.org
 http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

 ___
 Acesse o  wiki AsteriskBrasil.org:
 http://www.asteriskbrasil.org

-- 

Estação VoIP 2006
5 e 6 Dezembro
Curitiba PR
http://www.estacaovoip.com.br

___
LIsta de discussões AsteriskBrasil.org
AsteriskBrasil@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil