Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
Oi amigo, voce tem que instalar o compilador C++ tente g++ no apt-get. []'s 2007/6/15, Galassi - Arielo [EMAIL PROTECTED]: oi pessoal primeiro, quero agradecer ao colega Rodrigo Sertori pelo passo a passo... seguindo o roteiro passado pelo colega, funcionou tudo muito bem até compilar o asterisk.. segue o log asterisk:/instalar/asterisk-1.4.4# ./configure 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 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 AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /bin/uname checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. oque devo atualiza para concluir a compilação do asterisk? grato Galassi Tecnologia da Informação Reicom Ind. e Com. Ltda Pederneiras / SP 14-3252-2466 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 -- João Carlos Moura 168 SE 1ST Street Suite 603 - Miami - FL - (33131) Phone +1 786 272 0189 Fax +1 786 272 0197 ___ 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] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
Bem, tá aí uma receita de bolo completa, sem erro nenhum. Com isso aí o asterisk já fica preparado para realtime. apt-get install linux-source-2.6.18 linux-kernel-headers linux-source-2.6.18 linux-headers-2.6.18-4-686 kernel-package apt-get install apache2 php5 mysql-server-5.0 mysql-client php5-mysql libapache2-mod-php5 apt-get install gcc-3.3 gcc-3.3-base gcc-3.4-base g++ g++-4.1libmysqlclient15-dev apt-get install libedit-dev libedit2 libssl-dev zlib-bin zlib1g-dev mpg123 libnewt0.52 newt-tcl libnewt-dev zaptel ./configure make install make install-udev libpri make make install asterisk ./configure make make install make samples asterisk-addons ./configure make make install make samples asterisk-sounds make make install 2007/6/20, Rdo [EMAIL PROTECTED]: apt-get install build-essential On 6/17/07, Eric Anderson [EMAIL PROTECTED] wrote: Primeiro de tudo mesmo vc deveria obedecer o configure. Ele é sábio: See `config.log' for more details. Segundo de tudo, 3 linhas antes o erro tava lá, claro e notório vc num tem o compilador c++ do gcc (checking whether we are using the GNU C++ compiler... no) Num manjo de débo mas instala o pacote que contenha o g++ (gcc-g++) do jeito que o débo te permitir (apt-get neh?) flw! Eric - Original Message - From: Galassi - Arielo [EMAIL PROTECTED] To: asteriskbrasil@listas.asteriskbrasil.org Sent: Friday, June 15, 2007 9:51 AM Subject: Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH oi pessoal primeiro, quero agradecer ao colega Rodrigo Sertori pelo passo a passo... seguindo o roteiro passado pelo colega, funcionou tudo muito bem até compilar o asterisk.. segue o log asterisk:/instalar/asterisk-1.4.4# ./configure 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 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 AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /bin/uname checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. oque devo atualiza para concluir a compilação do asterisk? grato Galassi Tecnologia da Informação Reicom Ind. e Com. Ltda Pederneiras / SP 14-3252-2466 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 ___ Acesse o wiki AsteriskBrasil.org: http://www.asteriskbrasil.org -- . ' ' ` . Rodrigo Sertori : : ' : Analista de Sistemas `. ` ' ` +55 16 9151 1392
Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
apt-get install build-essential On 6/17/07, Eric Anderson [EMAIL PROTECTED] wrote: Primeiro de tudo mesmo vc deveria obedecer o configure. Ele é sábio: See `config.log' for more details. Segundo de tudo, 3 linhas antes o erro tava lá, claro e notório vc num tem o compilador c++ do gcc (checking whether we are using the GNU C++ compiler... no) Num manjo de débo mas instala o pacote que contenha o g++ (gcc-g++) do jeito que o débo te permitir (apt-get neh?) flw! Eric - Original Message - From: Galassi - Arielo [EMAIL PROTECTED] To: asteriskbrasil@listas.asteriskbrasil.org Sent: Friday, June 15, 2007 9:51 AM Subject: Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH oi pessoal primeiro, quero agradecer ao colega Rodrigo Sertori pelo passo a passo... seguindo o roteiro passado pelo colega, funcionou tudo muito bem até compilar o asterisk.. segue o log asterisk:/instalar/asterisk-1.4.4# ./configure 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 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 AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /bin/uname checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. oque devo atualiza para concluir a compilação do asterisk? grato Galassi Tecnologia da Informação Reicom Ind. e Com. Ltda Pederneiras / SP 14-3252-2466 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 ___ Acesse o wiki AsteriskBrasil.org: http://www.asteriskbrasil.org -- . ' ' ` . Rodrigo Sertori : : ' : Analista de Sistemas `. ` ' ` +55 16 9151 1392 `- Ajude a comunidade AsteriskBrasil.org! Compre uma camiseta! www.voipmania.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] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH (Eric Anderson)
Amigo as dependências que vc precisa são essas: -gcc -glib-kernhearders -cpp -binutils -glibc-headers -glibc-devel -bison -m4 -libncurses5 -libncurses5-dev -libcur13-openssl-dev Boa sorte! Marcos Sibilio Jr. 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] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
Primeiro de tudo mesmo vc deveria obedecer o configure. Ele é sábio: See `config.log' for more details. Segundo de tudo, 3 linhas antes o erro tava lá, claro e notório vc num tem o compilador c++ do gcc (checking whether we are using the GNU C++ compiler... no) Num manjo de débo mas instala o pacote que contenha o g++ (gcc-g++) do jeito que o débo te permitir (apt-get neh?) flw! Eric - Original Message - From: Galassi - Arielo [EMAIL PROTECTED] To: asteriskbrasil@listas.asteriskbrasil.org Sent: Friday, June 15, 2007 9:51 AM Subject: Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH oi pessoal primeiro, quero agradecer ao colega Rodrigo Sertori pelo passo a passo... seguindo o roteiro passado pelo colega, funcionou tudo muito bem até compilar o asterisk.. segue o log asterisk:/instalar/asterisk-1.4.4# ./configure 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 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 AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /bin/uname checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. oque devo atualiza para concluir a compilação do asterisk? grato Galassi Tecnologia da Informação Reicom Ind. e Com. Ltda Pederneiras / SP 14-3252-2466 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 ___ Acesse o wiki AsteriskBrasil.org: http://www.asteriskbrasil.org
Re: [AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
oi pessoal primeiro, quero agradecer ao colega Rodrigo Sertori pelo passo a passo... seguindo o roteiro passado pelo colega, funcionou tudo muito bem até compilar o asterisk.. segue o log asterisk:/instalar/asterisk-1.4.4# ./configure 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 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 AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for uname... /bin/uname checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. oque devo atualiza para concluir a compilação do asterisk? grato Galassi Tecnologia da Informação Reicom Ind. e Com. Ltda Pederneiras / SP 14-3252-2466 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
[AsteriskBrasil] Asterisk 1.4.4 + DEBIAN GNU/Linux ETCH
Bom dia galera, Andei um pouco afastado da lista, espero poder voltar as atividades e continuar contribuindo. Abaixo segue umas anotações, para quem quiser instalar o asterisk 1.4.4 no Debian GNU/Linux ETCH. Qualquer duvida, manda ae.. se eu puder ajudar ;) []´s === :::baixar o kernel headers::: (no debian apt-get install linux-headers-`uname r`) No /usr/src, baixar o kernel headers da distribuicao. Ainda no /usr/src criar um link simbólico com o nome de linux apontando para o kernel headers. :::Instalar as seguintes dependencias para compilacao total do asterisk::: (no debian utilize o apt-get abaixo, em outras distribuições, conferir o nome dos pacotes) apt-get install libnewt-dev libssl0.9.7 libssl-dev zlib1g-dev libncurses5-dev libeditline0 libeditline-dev libedit2 libedit-dev libreadline5-dev readline-common libslang2-dev mpg123 libmysqlclient15-dev libtiff4 libtiff4-dev libxml2 libxml2-dev libjpeg62 libjpeg62-dev libtiffxx0c2 oss-compat libcompress-zlib-perl bzip2 :::compilar na ordem::: #LIBPRI wget -c ftp://ftp.digium.com/pub/libpri/libpri-1.4.0.tar.gz make make install #ZAPTEL wget -c ftp://ftp.digium.com/pub/zaptel/zaptel-1.4.3.tar.gz ./configure make make install #SPANDSP (Apenas se for utilizar o modulo de FAX, senao pode pular ela) wget -c http://www.soft-switch.org/downloads/spandsp/old/spandsp-0.0.3pre28.tgz ./configure make make install #ASTERISK 1.4.4 wget -c ftp://ftp.digium.com/pub/asterisk/asterisk-1.4.4.tar.gz :::(Apenas se for utilizar o modulo de FAX, senao ir para compilacao do asterisk)::: :::Depois de descompactar o asterisk baixar os seguintes arquivos dentro do diretorio apps::: wget -c http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/app_rxfax.c wget -c http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/app_txfax.c wget -c http://www.soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.4/asterisk.patch :::no diretorio raiz do ASTERISK aplicar o patch para o FAX::: patch -p0 apps/asterisk.patch Este patch não está atualizado para o asterisk 1.4.4, e vai causar um erro no configure.ac, por isso deveremos adicionar a linha na mao, que o patch nao colocou. Podemos verificar a linha ignorada em configure.ac.rej Depois de adicionar a linha que faltou, rode o script ./bootstrap.sh para corrigir o configure ::Compilar o asterisk 1.4.4::: ./configure make make install make samples #ASTERISK-ADDONS 1.4.1 wget -c ftp://ftp.digium.com/pub/asterisk/asterisk-addons-1.4.1.tar.gz ./configure make make install make samples dentro do diretorio asterisk-1.4.4/contrib encontraremos o script de inicializacao para debian e outras distros. No debian: copiar o script de inicializacao para o /etc/init.d/asterisk e.. update-rc.d -f asterisk defaults 98 == Este tutorial é apenas para instalação. Obtenha uma documentação maior e outras dicas em: http://www.voip-info.org http://www.asteriskbrasil.org -- . ' ' ` . Rodrigo Sertori : : ' : Analista de Sistemas `. ` ' ` +55 16 9151 1392 `- 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