You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Mark Lin <ml...@gmail.com> on 2014/05/11 14:12:38 UTC

SIP-Transport Integration

Hello.
Trying to set *SIP-Transport Integration* according to -
http://openmeetings.apache.org/red5sip-integration_2.1.html.

when -

t@server1:~# apt-get install build-essential linux-headers-`uname -r`
libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done

getting -

E: Unable to locate package linux-headers-2.6.32-042stab084.14
E: Couldn't find any package by regex 'linux-headers-2.6.32-042stab084.14'

how can i solve the issue?

Thank you

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
checking for initscr in -lncurses... no
configure: error: *** termcap support not found (on modern systems, this
typically means the *ncurses development package is missing*)



On Mon, May 12, 2014 at 5:30 PM, Mark Lin <ml...@gmail.com> wrote:

> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-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 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 g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking how to run the C++ preprocessor... g++ -E
> checking for a sed that does not truncate output... /bin/sed
> checking for egrep... grep -E
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for gawk... gawk
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for GNU make... make
> checking for egrep... (cached) /bin/grep -E
> checking for strip... strip
> checking for ar... ar
> checking for bison... :
> checking for cmp... /usr/bin/cmp
> checking for flex... :
> checking for grep... (cached) /bin/grep
> checking for python... /usr/bin/python
> checking for find... /usr/bin/find
> checking for compress... :
> checking for basename... /usr/bin/basename
> checking for dirname... /usr/bin/dirname
> checking for sh... /bin/sh
> checking for ln... /bin/ln
> checking for dot... :
> checking for wget... /usr/bin/wget
> checking for curl... :
> checking for rubber... :
> checking for catdvi... :
> checking for kpsewhich... :
> checking for xmllint... :
> checking for xmlstarlet... :
> checking for git... /usr/bin/git
> checking for ldconfig... /sbin/ldconfig
> checking for sha1sum... /usr/bin/sha1sum
> checking for openssl... /usr/bin/openssl
> checking for bison that supports parse-param...
> checking for soxmix... no
> checking for md5... no
> checking for md5sum... md5sum
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking for gawk... (cached) gawk
> checking for curl-config... no
> checking whether libcurl is usable... no
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for inttypes.h... (cached) yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for stdint.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking for unistd.h... (cached) yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking arpa/nameser.h usability... yes
> checking arpa/nameser.h presence... yes
> checking for arpa/nameser.h... yes
> checking sys/io.h usability... yes
> checking sys/io.h presence... yes
> checking for sys/io.h... yes
> checking for tgetent in -ltermcap... no
> checking for tgetent in -ltinfo... no
> checking for initscr in -lcurses... no
> checking for initscr in -lncurses... no
> configure: error: *** termcap support not found (on modern systems, this
> typically means the ncurses development package is missing)
>
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> ****
> **** The configure script must be executed before running 'make'.
> ****               Please run "./configure".
> ****
> make[1]: *** [makeopts] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
> make: *** [_cleantest_all] Error 2
>
>
>
> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> so you are performing following steps:
>>
>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>
>>
>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>
>> *and get error?*
>>
>
>
> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>>
>> tried without "clean" ...
>> getting the same error
>>
>>
>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> try to skip this step "*sudo make clean*"
>>
>>
>>
>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> found it and seems ok...
>>>
>>> now im trying to  -
>>>
>>> *Building and setting up Asterisk*
>>> ------------------------------
>>>
>>> Run the commands
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>> cleansudo ./configuresudo make*
>>>
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> ****
>>> **** The configure script must be executed before running 'make'.
>>> ****               Please run "./configure".
>>> ****
>>> make[1]: *** [makeopts] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>> make: *** [_cleantest_all] Error 2
>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>
>>>
>>>
>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> try to manually search for linux-headers-2.6.32
>>>
>>>
>>>
>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Hello.
>>>> Trying to set *SIP-Transport Integration* according to -
>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>
>>>> when -
>>>>
>>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>>
>>>> getting -
>>>>
>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>> E: Couldn't find any package by regex
>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>
>>>> how can i solve the issue?
>>>>
>>>> Thank you
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
OK, then update from svn and try to rebuild


On Tue, May 13, 2014 at 3:01 PM, Mark Lin <ml...@gmail.com> wrote:

> apache-openmeetings-2.2.0-src.zip
>
>
> 2014-05-13 9:16 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> What OM version are you going to use?
>
>
>
> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Good morning Maxim,
>>
>> trying to compile -
>>
>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>
>> cd red5sip_2.1
>>
>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>
>> getting - BUILD FAILED
>> "
>>
>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>> chain
>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>
>> ---------------------------------------------------------------------
>>         |                  |            modules            ||   artifacts
>>   |
>>         |       conf       | number| search|dwnlded|evicted||
>> number|dwnlded|
>>
>> ---------------------------------------------------------------------
>>         |      default     |   18  |   0   |   0   |   0   ||   18  |   0
>>   |
>>
>> ---------------------------------------------------------------------
>> [ivy:retrieve] :: retrieving :: apache#red5sip
>> [ivy:retrieve]  confs: [default]
>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>
>> compile.only:
>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>     [javac] Compiling 243 source files to /usr/adm/red5sip_2.1/out/classes
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                 ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                  ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                   ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                    ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                     ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]            ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]             ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]              ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]               ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                 ^
>>     [javac] 12 errors
>>
>> BUILD FAILED
>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler error
>> output for details.
>>
>> "
>>
>>
>>
>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> I have it commented on my server
>>
>>
>>
>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> without samples & config -
>>>
>>> there is no problem and i start astriks...ok
>>>
>>> question - do i need to uncomment the line with -
>>>
>>> ;maxexpiry=43200
>>>
>>>
>>>
>>>
>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> The script wrote you please perform:
>>>> make install
>>>>
>>>> And you are running:
>>>> sudo make samples
>>>>
>>>> Why do you need samples?
>>>>
>>>
>>>
>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you very much for your concern...
>>>> i found the problem - missing dev pakages..
>>>> But when sudo make samples getting error as you can see bellow..
>>>> so -
>>>> apt-get install ncurses-dev
>>>> apt-get install libsqlite3-dev
>>>>
>>>> and now  - sudo make
>>>> getting
>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>> bridges funcs tests main res addons
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>  +--------- Asterisk Build Complete ---------+
>>>>  + Asterisk has successfully been built, and +
>>>>  + can be installed by running:              +
>>>>  +                                           +
>>>>  +                make install               +
>>>>  +-------------------------------------------+
>>>>
>>>> but when -
>>>>
>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>> Installing adsi config files...
>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>> Installing configs/asterisk.adsi
>>>> Installing configs/telcordia-1.adsi
>>>> Installing other config files...
>>>> Installing file configs/acl.conf.sample
>>>> Installing file configs/adsi.conf.sample
>>>> Installing file configs/agents.conf.sample
>>>> Installing file configs/alarmreceiver.conf.sample
>>>> Installing file configs/alsa.conf.sample
>>>> Installing file configs/amd.conf.sample
>>>> Installing file configs/app_mysql.conf.sample
>>>> Installing file configs/app_skel.conf.sample
>>>> Installing file configs/asterisk.conf.sample
>>>> Installing file configs/calendar.conf.sample
>>>> Installing file configs/ccss.conf.sample
>>>> Installing file configs/cdr.conf.sample
>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>> Installing file configs/cdr_custom.conf.sample
>>>> Installing file configs/cdr_manager.conf.sample
>>>> Installing file configs/cdr_mysql.conf.sample
>>>> Installing file configs/cdr_odbc.conf.sample
>>>> Installing file configs/cdr_pgsql.conf.sample
>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>> Installing file configs/cdr_syslog.conf.sample
>>>> Installing file configs/cdr_tds.conf.sample
>>>> Installing file configs/cel.conf.sample
>>>> Installing file configs/cel_custom.conf.sample
>>>> Installing file configs/cel_odbc.conf.sample
>>>> Installing file configs/cel_pgsql.conf.sample
>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>> Installing file configs/cel_tds.conf.sample
>>>> Installing file configs/chan_dahdi.conf.sample
>>>> Installing file configs/chan_mobile.conf.sample
>>>> Installing file configs/cli.conf.sample
>>>> Installing file configs/cli_aliases.conf.sample
>>>> Installing file configs/cli_permissions.conf.sample
>>>> Installing file configs/codecs.conf.sample
>>>> Installing file configs/confbridge.conf.sample
>>>> Installing file configs/config_test.conf.sample
>>>> Installing file configs/console.conf.sample
>>>> Installing file configs/dbsep.conf.sample
>>>> Installing file configs/dnsmgr.conf.sample
>>>> Installing file configs/dsp.conf.sample
>>>> Installing file configs/dundi.conf.sample
>>>> Installing file configs/enum.conf.sample
>>>> Installing file configs/extconfig.conf.sample
>>>> Installing file configs/extensions.ael.sample
>>>> Installing file configs/extensions.conf.sample
>>>> Installing file configs/extensions.lua.sample
>>>> Installing file configs/extensions_minivm.conf.sample
>>>> Installing file configs/features.conf.sample
>>>> Installing file configs/festival.conf.sample
>>>> Installing file configs/followme.conf.sample
>>>> Installing file configs/func_odbc.conf.sample
>>>> Installing file configs/gtalk.conf.sample
>>>> Installing file configs/h323.conf.sample
>>>> Installing file configs/http.conf.sample
>>>> Installing file configs/iax.conf.sample
>>>> Installing file configs/iaxprov.conf.sample
>>>> Installing file configs/indications.conf.sample
>>>> Installing file configs/jabber.conf.sample
>>>> Installing file configs/jingle.conf.sample
>>>> Installing file configs/logger.conf.sample
>>>> Installing file configs/manager.conf.sample
>>>> Installing file configs/meetme.conf.sample
>>>> Installing file configs/mgcp.conf.sample
>>>> Installing file configs/minivm.conf.sample
>>>> Installing file configs/misdn.conf.sample
>>>> Installing file configs/modules.conf.sample
>>>> Installing file configs/motif.conf.sample
>>>> Installing file configs/musiconhold.conf.sample
>>>> Installing file configs/muted.conf.sample
>>>> Installing file configs/ooh323.conf.sample
>>>> Installing file configs/osp.conf.sample
>>>> Installing file configs/oss.conf.sample
>>>> Installing file configs/phone.conf.sample
>>>> Installing file configs/phoneprov.conf.sample
>>>> Installing file configs/queuerules.conf.sample
>>>> Installing file configs/queues.conf.sample
>>>> Installing file configs/res_config_mysql.conf.sample
>>>> Installing file configs/res_config_sqlite.conf.sample
>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>> Installing file configs/res_corosync.conf.sample
>>>> Installing file configs/res_curl.conf.sample
>>>> Installing file configs/res_fax.conf.sample
>>>> Installing file configs/res_ldap.conf.sample
>>>> Installing file configs/res_odbc.conf.sample
>>>> Installing file configs/res_pgsql.conf.sample
>>>> Installing file configs/res_pktccops.conf.sample
>>>> Installing file configs/res_snmp.conf.sample
>>>> Installing file configs/res_stun_monitor.conf.sample
>>>> Installing file configs/rtp.conf.sample
>>>> Installing file configs/say.conf.sample
>>>> Installing file configs/sip.conf.sample
>>>> Installing file configs/sip_notify.conf.sample
>>>> Installing file configs/skinny.conf.sample
>>>> Installing file configs/sla.conf.sample
>>>> Installing file configs/smdi.conf.sample
>>>> Installing file configs/udptl.conf.sample
>>>> Installing file configs/unistim.conf.sample
>>>> Installing file configs/users.conf.sample
>>>> Installing file configs/voicemail.conf.sample
>>>> Installing file configs/vpb.conf.sample
>>>> Installing file configs/xmpp.conf.sample
>>>> if [ "y" = "y" ]; then \
>>>>                 echo "Updating asterisk.conf" ; \
>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>> /usr/lib/asterisk/modules|' \
>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>> /var/lib/asterisk/agi-bin|' \
>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>> /var/spool/asterisk|' \
>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>> /var/run/asterisk|' \
>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>> /var/log/asterisk|' \
>>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>>>                         "/etc/asterisk/asterisk.conf" >
>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>                 /usr/bin/install -c -m 644
>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>         fi ; \
>>>>         /usr/bin/install -c -d
>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>> Updating asterisk.conf
>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>> "//var/spool/asterisk"
>>>> Installing file phoneprov/000000000000-directory.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000-phone.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>> Installing file phoneprov/polycom.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>> Installing file phoneprov/polycom_line.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>> Installing file phoneprov/snom-mac.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>> make: *** [samples] Error 1
>>>>
>>>>
>>>>
>>>>
>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>
>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>> checking whether g++ accepts -g... yes
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>> checking for egrep... grep -E
>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>> checking for gawk... gawk
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether ln -s works... yes
>>>>> checking for ranlib... ranlib
>>>>> checking for GNU make... make
>>>>> checking for egrep... (cached) /bin/grep -E
>>>>> checking for strip... strip
>>>>> checking for ar... ar
>>>>> checking for bison... :
>>>>> checking for cmp... /usr/bin/cmp
>>>>> checking for flex... :
>>>>> checking for grep... (cached) /bin/grep
>>>>> checking for python... /usr/bin/python
>>>>> checking for find... /usr/bin/find
>>>>> checking for compress... :
>>>>> checking for basename... /usr/bin/basename
>>>>> checking for dirname... /usr/bin/dirname
>>>>> checking for sh... /bin/sh
>>>>> checking for ln... /bin/ln
>>>>> checking for dot... :
>>>>> checking for wget... /usr/bin/wget
>>>>> checking for curl... :
>>>>> checking for rubber... :
>>>>> checking for catdvi... :
>>>>> checking for kpsewhich... :
>>>>> checking for xmllint... :
>>>>> checking for xmlstarlet... :
>>>>> checking for git... /usr/bin/git
>>>>> checking for ldconfig... /sbin/ldconfig
>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>> checking for openssl... /usr/bin/openssl
>>>>>  checking for bison that supports parse-param...
>>>>> checking for soxmix... no
>>>>> checking for md5... no
>>>>> checking for md5sum... md5sum
>>>>> checking for the pthreads library -lpthreads... no
>>>>> checking whether pthreads work without any flags... no
>>>>> checking whether pthreads work with -Kthread... no
>>>>> checking whether pthreads work with -kthread... no
>>>>> checking for the pthreads library -llthread... no
>>>>> checking whether pthreads work with -pthread... yes
>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>> checking if more special flags are required for pthreads... no
>>>>> checking for gawk... (cached) gawk
>>>>> checking for curl-config... no
>>>>> checking whether libcurl is usable... no
>>>>> checking for working alloca.h... yes
>>>>> checking for alloca... yes
>>>>> checking for dirent.h that defines DIR... yes
>>>>> checking for library containing opendir... none required
>>>>> checking for ANSI C header files... (cached) yes
>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>> checking arpa/inet.h usability... yes
>>>>> checking arpa/inet.h presence... yes
>>>>> checking for arpa/inet.h... yes
>>>>> checking fcntl.h usability... yes
>>>>> checking fcntl.h presence... yes
>>>>> checking for fcntl.h... yes
>>>>> checking for inttypes.h... (cached) yes
>>>>> checking libintl.h usability... yes
>>>>> checking libintl.h presence... yes
>>>>> checking for libintl.h... yes
>>>>> checking limits.h usability... yes
>>>>> checking limits.h presence... yes
>>>>> checking for limits.h... yes
>>>>> checking locale.h usability... yes
>>>>> checking locale.h presence... yes
>>>>> checking for locale.h... yes
>>>>> checking malloc.h usability... yes
>>>>> checking malloc.h presence... yes
>>>>> checking for malloc.h... yes
>>>>> checking netdb.h usability... yes
>>>>> checking netdb.h presence... yes
>>>>> checking for netdb.h... yes
>>>>> checking netinet/in.h usability... yes
>>>>> checking netinet/in.h presence... yes
>>>>> checking for netinet/in.h... yes
>>>>> checking stddef.h usability... yes
>>>>> checking stddef.h presence... yes
>>>>> checking for stddef.h... yes
>>>>> checking for stdint.h... (cached) yes
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking for string.h... (cached) yes
>>>>> checking for strings.h... (cached) yes
>>>>> checking sys/event.h usability... no
>>>>> checking sys/event.h presence... no
>>>>> checking for sys/event.h... no
>>>>> checking sys/file.h usability... yes
>>>>> checking sys/file.h presence... yes
>>>>> checking for sys/file.h... yes
>>>>> checking sys/ioctl.h usability... yes
>>>>> checking sys/ioctl.h presence... yes
>>>>> checking for sys/ioctl.h... yes
>>>>> checking sys/param.h usability... yes
>>>>> checking sys/param.h presence... yes
>>>>> checking for sys/param.h... yes
>>>>> checking sys/socket.h usability... yes
>>>>> checking sys/socket.h presence... yes
>>>>> checking for sys/socket.h... yes
>>>>> checking sys/time.h usability... yes
>>>>> checking sys/time.h presence... yes
>>>>> checking for sys/time.h... yes
>>>>> checking syslog.h usability... yes
>>>>> checking syslog.h presence... yes
>>>>> checking for syslog.h... yes
>>>>> checking termios.h usability... yes
>>>>> checking termios.h presence... yes
>>>>> checking for termios.h... yes
>>>>> checking for unistd.h... (cached) yes
>>>>> checking utime.h usability... yes
>>>>> checking utime.h presence... yes
>>>>> checking for utime.h... yes
>>>>> checking arpa/nameser.h usability... yes
>>>>> checking arpa/nameser.h presence... yes
>>>>> checking for arpa/nameser.h... yes
>>>>> checking sys/io.h usability... yes
>>>>> checking sys/io.h presence... yes
>>>>> checking for sys/io.h... yes
>>>>> checking for tgetent in -ltermcap... no
>>>>> checking for tgetent in -ltinfo... no
>>>>> checking for initscr in -lcurses... no
>>>>> checking for initscr in -lncurses... no
>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>> this typically means the ncurses development package is missing)
>>>>>
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> ****
>>>>> **** The configure script must be executed before running 'make'.
>>>>> ****               Please run "./configure".
>>>>> ****
>>>>> make[1]: *** [makeopts] Error 1
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>> make: *** [_cleantest_all] Error 2
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>> so you are performing following steps:
>>>>>>
>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>
>>>>>>
>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>
>>>>>> *and get error?*
>>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you Maxim,
>>>>>>
>>>>>> tried without "clean" ...
>>>>>> getting the same error
>>>>>>
>>>>>>
>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Maxim,
>>>>>>> found it and seems ok...
>>>>>>>
>>>>>>> now im trying to  -
>>>>>>>
>>>>>>> *Building and setting up Asterisk*
>>>>>>> ------------------------------
>>>>>>>
>>>>>>> Run the commands
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>> cleansudo ./configuresudo make*
>>>>>>>
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> ****
>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>> ****               Please run "./configure".
>>>>>>> ****
>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Hello.
>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>
>>>>>>>> when -
>>>>>>>>
>>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>>> Reading package lists... Done
>>>>>>>> Building dependency tree
>>>>>>>> Reading state information... Done
>>>>>>>>
>>>>>>>> getting -
>>>>>>>>
>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>> E: Couldn't find any package by regex
>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>
>>>>>>>> how can i solve the issue?
>>>>>>>>
>>>>>>>> Thank you
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
apache-openmeetings-2.2.0-src.zip


2014-05-13 9:16 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> What OM version are you going to use?
>
>
> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Good morning Maxim,
>>
>> trying to compile -
>>
>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>
>> cd red5sip_2.1
>>
>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>
>> getting - BUILD FAILED
>> "
>>
>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>> chain
>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>
>> ---------------------------------------------------------------------
>>         |                  |            modules            ||   artifacts
>>   |
>>         |       conf       | number| search|dwnlded|evicted||
>> number|dwnlded|
>>
>> ---------------------------------------------------------------------
>>         |      default     |   18  |   0   |   0   |   0   ||   18  |   0
>>   |
>>
>> ---------------------------------------------------------------------
>> [ivy:retrieve] :: retrieving :: apache#red5sip
>> [ivy:retrieve]  confs: [default]
>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>
>> compile.only:
>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>     [javac] Compiling 243 source files to /usr/adm/red5sip_2.1/out/classes
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                 ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                  ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                   ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                    ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                     ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]            ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]             ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]              ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]               ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                 ^
>>     [javac] 12 errors
>>
>> BUILD FAILED
>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler error
>> output for details.
>>
>> "
>>
>>
>>
>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> I have it commented on my server
>>
>>
>>
>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> without samples & config -
>>>
>>> there is no problem and i start astriks...ok
>>>
>>> question - do i need to uncomment the line with -
>>>
>>> ;maxexpiry=43200
>>>
>>>
>>>
>>>
>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> The script wrote you please perform:
>>>> make install
>>>>
>>>> And you are running:
>>>> sudo make samples
>>>>
>>>> Why do you need samples?
>>>>
>>>
>>>
>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you very much for your concern...
>>>> i found the problem - missing dev pakages..
>>>> But when sudo make samples getting error as you can see bellow..
>>>> so -
>>>> apt-get install ncurses-dev
>>>> apt-get install libsqlite3-dev
>>>>
>>>> and now  - sudo make
>>>> getting
>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>> bridges funcs tests main res addons
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>  +--------- Asterisk Build Complete ---------+
>>>>  + Asterisk has successfully been built, and +
>>>>  + can be installed by running:              +
>>>>  +                                           +
>>>>  +                make install               +
>>>>  +-------------------------------------------+
>>>>
>>>> but when -
>>>>
>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>> Installing adsi config files...
>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>> Installing configs/asterisk.adsi
>>>> Installing configs/telcordia-1.adsi
>>>> Installing other config files...
>>>> Installing file configs/acl.conf.sample
>>>> Installing file configs/adsi.conf.sample
>>>> Installing file configs/agents.conf.sample
>>>> Installing file configs/alarmreceiver.conf.sample
>>>> Installing file configs/alsa.conf.sample
>>>> Installing file configs/amd.conf.sample
>>>> Installing file configs/app_mysql.conf.sample
>>>> Installing file configs/app_skel.conf.sample
>>>> Installing file configs/asterisk.conf.sample
>>>> Installing file configs/calendar.conf.sample
>>>> Installing file configs/ccss.conf.sample
>>>> Installing file configs/cdr.conf.sample
>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>> Installing file configs/cdr_custom.conf.sample
>>>> Installing file configs/cdr_manager.conf.sample
>>>> Installing file configs/cdr_mysql.conf.sample
>>>> Installing file configs/cdr_odbc.conf.sample
>>>> Installing file configs/cdr_pgsql.conf.sample
>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>> Installing file configs/cdr_syslog.conf.sample
>>>> Installing file configs/cdr_tds.conf.sample
>>>> Installing file configs/cel.conf.sample
>>>> Installing file configs/cel_custom.conf.sample
>>>> Installing file configs/cel_odbc.conf.sample
>>>> Installing file configs/cel_pgsql.conf.sample
>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>> Installing file configs/cel_tds.conf.sample
>>>> Installing file configs/chan_dahdi.conf.sample
>>>> Installing file configs/chan_mobile.conf.sample
>>>> Installing file configs/cli.conf.sample
>>>> Installing file configs/cli_aliases.conf.sample
>>>> Installing file configs/cli_permissions.conf.sample
>>>> Installing file configs/codecs.conf.sample
>>>> Installing file configs/confbridge.conf.sample
>>>> Installing file configs/config_test.conf.sample
>>>> Installing file configs/console.conf.sample
>>>> Installing file configs/dbsep.conf.sample
>>>> Installing file configs/dnsmgr.conf.sample
>>>> Installing file configs/dsp.conf.sample
>>>> Installing file configs/dundi.conf.sample
>>>> Installing file configs/enum.conf.sample
>>>> Installing file configs/extconfig.conf.sample
>>>> Installing file configs/extensions.ael.sample
>>>> Installing file configs/extensions.conf.sample
>>>> Installing file configs/extensions.lua.sample
>>>> Installing file configs/extensions_minivm.conf.sample
>>>> Installing file configs/features.conf.sample
>>>> Installing file configs/festival.conf.sample
>>>> Installing file configs/followme.conf.sample
>>>> Installing file configs/func_odbc.conf.sample
>>>> Installing file configs/gtalk.conf.sample
>>>> Installing file configs/h323.conf.sample
>>>> Installing file configs/http.conf.sample
>>>> Installing file configs/iax.conf.sample
>>>> Installing file configs/iaxprov.conf.sample
>>>> Installing file configs/indications.conf.sample
>>>> Installing file configs/jabber.conf.sample
>>>> Installing file configs/jingle.conf.sample
>>>> Installing file configs/logger.conf.sample
>>>> Installing file configs/manager.conf.sample
>>>> Installing file configs/meetme.conf.sample
>>>> Installing file configs/mgcp.conf.sample
>>>> Installing file configs/minivm.conf.sample
>>>> Installing file configs/misdn.conf.sample
>>>> Installing file configs/modules.conf.sample
>>>> Installing file configs/motif.conf.sample
>>>> Installing file configs/musiconhold.conf.sample
>>>> Installing file configs/muted.conf.sample
>>>> Installing file configs/ooh323.conf.sample
>>>> Installing file configs/osp.conf.sample
>>>> Installing file configs/oss.conf.sample
>>>> Installing file configs/phone.conf.sample
>>>> Installing file configs/phoneprov.conf.sample
>>>> Installing file configs/queuerules.conf.sample
>>>> Installing file configs/queues.conf.sample
>>>> Installing file configs/res_config_mysql.conf.sample
>>>> Installing file configs/res_config_sqlite.conf.sample
>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>> Installing file configs/res_corosync.conf.sample
>>>> Installing file configs/res_curl.conf.sample
>>>> Installing file configs/res_fax.conf.sample
>>>> Installing file configs/res_ldap.conf.sample
>>>> Installing file configs/res_odbc.conf.sample
>>>> Installing file configs/res_pgsql.conf.sample
>>>> Installing file configs/res_pktccops.conf.sample
>>>> Installing file configs/res_snmp.conf.sample
>>>> Installing file configs/res_stun_monitor.conf.sample
>>>> Installing file configs/rtp.conf.sample
>>>> Installing file configs/say.conf.sample
>>>> Installing file configs/sip.conf.sample
>>>> Installing file configs/sip_notify.conf.sample
>>>> Installing file configs/skinny.conf.sample
>>>> Installing file configs/sla.conf.sample
>>>> Installing file configs/smdi.conf.sample
>>>> Installing file configs/udptl.conf.sample
>>>> Installing file configs/unistim.conf.sample
>>>> Installing file configs/users.conf.sample
>>>> Installing file configs/voicemail.conf.sample
>>>> Installing file configs/vpb.conf.sample
>>>> Installing file configs/xmpp.conf.sample
>>>> if [ "y" = "y" ]; then \
>>>>                 echo "Updating asterisk.conf" ; \
>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>> /usr/lib/asterisk/modules|' \
>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>> /var/lib/asterisk/agi-bin|' \
>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>> /var/spool/asterisk|' \
>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>> /var/run/asterisk|' \
>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>> /var/log/asterisk|' \
>>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>>>                         "/etc/asterisk/asterisk.conf" >
>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>                 /usr/bin/install -c -m 644
>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>         fi ; \
>>>>         /usr/bin/install -c -d
>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>> Updating asterisk.conf
>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>> "//var/spool/asterisk"
>>>> Installing file phoneprov/000000000000-directory.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000-phone.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>> Installing file phoneprov/polycom.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>> Installing file phoneprov/polycom_line.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>> Installing file phoneprov/snom-mac.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>> make: *** [samples] Error 1
>>>>
>>>>
>>>>
>>>>
>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>
>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>> checking whether g++ accepts -g... yes
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>> checking for egrep... grep -E
>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>> checking for gawk... gawk
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether ln -s works... yes
>>>>> checking for ranlib... ranlib
>>>>> checking for GNU make... make
>>>>> checking for egrep... (cached) /bin/grep -E
>>>>> checking for strip... strip
>>>>> checking for ar... ar
>>>>> checking for bison... :
>>>>> checking for cmp... /usr/bin/cmp
>>>>> checking for flex... :
>>>>> checking for grep... (cached) /bin/grep
>>>>> checking for python... /usr/bin/python
>>>>> checking for find... /usr/bin/find
>>>>> checking for compress... :
>>>>> checking for basename... /usr/bin/basename
>>>>> checking for dirname... /usr/bin/dirname
>>>>> checking for sh... /bin/sh
>>>>> checking for ln... /bin/ln
>>>>> checking for dot... :
>>>>> checking for wget... /usr/bin/wget
>>>>> checking for curl... :
>>>>> checking for rubber... :
>>>>> checking for catdvi... :
>>>>> checking for kpsewhich... :
>>>>> checking for xmllint... :
>>>>> checking for xmlstarlet... :
>>>>> checking for git... /usr/bin/git
>>>>> checking for ldconfig... /sbin/ldconfig
>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>> checking for openssl... /usr/bin/openssl
>>>>>  checking for bison that supports parse-param...
>>>>> checking for soxmix... no
>>>>> checking for md5... no
>>>>> checking for md5sum... md5sum
>>>>> checking for the pthreads library -lpthreads... no
>>>>> checking whether pthreads work without any flags... no
>>>>> checking whether pthreads work with -Kthread... no
>>>>> checking whether pthreads work with -kthread... no
>>>>> checking for the pthreads library -llthread... no
>>>>> checking whether pthreads work with -pthread... yes
>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>> checking if more special flags are required for pthreads... no
>>>>> checking for gawk... (cached) gawk
>>>>> checking for curl-config... no
>>>>> checking whether libcurl is usable... no
>>>>> checking for working alloca.h... yes
>>>>> checking for alloca... yes
>>>>> checking for dirent.h that defines DIR... yes
>>>>> checking for library containing opendir... none required
>>>>> checking for ANSI C header files... (cached) yes
>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>> checking arpa/inet.h usability... yes
>>>>> checking arpa/inet.h presence... yes
>>>>> checking for arpa/inet.h... yes
>>>>> checking fcntl.h usability... yes
>>>>> checking fcntl.h presence... yes
>>>>> checking for fcntl.h... yes
>>>>> checking for inttypes.h... (cached) yes
>>>>> checking libintl.h usability... yes
>>>>> checking libintl.h presence... yes
>>>>> checking for libintl.h... yes
>>>>> checking limits.h usability... yes
>>>>> checking limits.h presence... yes
>>>>> checking for limits.h... yes
>>>>> checking locale.h usability... yes
>>>>> checking locale.h presence... yes
>>>>> checking for locale.h... yes
>>>>> checking malloc.h usability... yes
>>>>> checking malloc.h presence... yes
>>>>> checking for malloc.h... yes
>>>>> checking netdb.h usability... yes
>>>>> checking netdb.h presence... yes
>>>>> checking for netdb.h... yes
>>>>> checking netinet/in.h usability... yes
>>>>> checking netinet/in.h presence... yes
>>>>> checking for netinet/in.h... yes
>>>>> checking stddef.h usability... yes
>>>>> checking stddef.h presence... yes
>>>>> checking for stddef.h... yes
>>>>> checking for stdint.h... (cached) yes
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking for string.h... (cached) yes
>>>>> checking for strings.h... (cached) yes
>>>>> checking sys/event.h usability... no
>>>>> checking sys/event.h presence... no
>>>>> checking for sys/event.h... no
>>>>> checking sys/file.h usability... yes
>>>>> checking sys/file.h presence... yes
>>>>> checking for sys/file.h... yes
>>>>> checking sys/ioctl.h usability... yes
>>>>> checking sys/ioctl.h presence... yes
>>>>> checking for sys/ioctl.h... yes
>>>>> checking sys/param.h usability... yes
>>>>> checking sys/param.h presence... yes
>>>>> checking for sys/param.h... yes
>>>>> checking sys/socket.h usability... yes
>>>>> checking sys/socket.h presence... yes
>>>>> checking for sys/socket.h... yes
>>>>> checking sys/time.h usability... yes
>>>>> checking sys/time.h presence... yes
>>>>> checking for sys/time.h... yes
>>>>> checking syslog.h usability... yes
>>>>> checking syslog.h presence... yes
>>>>> checking for syslog.h... yes
>>>>> checking termios.h usability... yes
>>>>> checking termios.h presence... yes
>>>>> checking for termios.h... yes
>>>>> checking for unistd.h... (cached) yes
>>>>> checking utime.h usability... yes
>>>>> checking utime.h presence... yes
>>>>> checking for utime.h... yes
>>>>> checking arpa/nameser.h usability... yes
>>>>> checking arpa/nameser.h presence... yes
>>>>> checking for arpa/nameser.h... yes
>>>>> checking sys/io.h usability... yes
>>>>> checking sys/io.h presence... yes
>>>>> checking for sys/io.h... yes
>>>>> checking for tgetent in -ltermcap... no
>>>>> checking for tgetent in -ltinfo... no
>>>>> checking for initscr in -lcurses... no
>>>>> checking for initscr in -lncurses... no
>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>> this typically means the ncurses development package is missing)
>>>>>
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> ****
>>>>> **** The configure script must be executed before running 'make'.
>>>>> ****               Please run "./configure".
>>>>> ****
>>>>> make[1]: *** [makeopts] Error 1
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>> make: *** [_cleantest_all] Error 2
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>> so you are performing following steps:
>>>>>>
>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>
>>>>>>
>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>
>>>>>> *and get error?*
>>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you Maxim,
>>>>>>
>>>>>> tried without "clean" ...
>>>>>> getting the same error
>>>>>>
>>>>>>
>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Maxim,
>>>>>>> found it and seems ok...
>>>>>>>
>>>>>>> now im trying to  -
>>>>>>>
>>>>>>> *Building and setting up Asterisk*
>>>>>>> ------------------------------
>>>>>>>
>>>>>>> Run the commands
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>> cleansudo ./configuresudo make*
>>>>>>>
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> ****
>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>> ****               Please run "./configure".
>>>>>>> ****
>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Hello.
>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>
>>>>>>>> when -
>>>>>>>>
>>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>>> Reading package lists... Done
>>>>>>>> Building dependency tree
>>>>>>>> Reading state information... Done
>>>>>>>>
>>>>>>>> getting -
>>>>>>>>
>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>> E: Couldn't find any package by regex
>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>
>>>>>>>> how can i solve the issue?
>>>>>>>>
>>>>>>>> Thank you
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Hello,
trying to -
 /etc/init.d/red5sip start
getting - Starting Red5Sip bridge: red5sip\nLogs directory is not writable

Thank you



2014-05-13 16:45 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> the om.context=openmeetings related to webapp name?
>
> yes
>
>
> On Tue, May 13, 2014 at 6:47 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you very much Mr Maxim for yor Patience
>> 1.
>> now  iget -
>>   [javac] Note: Some input files use unchecked or unsafe operations.
>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>>
>> all:
>>       [jar] Building jar: /usr/adm/red5sip_2.1/lib/red5sip.jar
>>
>> BUILD SUCCESSFUL
>>
>> 2. for "Insert proper values to the /opt/red5sip/settings.properties
>>
>>
>> *red5.host=127.0.0.1 # red5 server address *
>> the om.context=openmeetings related to webapp name?
>>
>>
>>
>> 2014-05-13 9:21 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> Fixed these 2 files
>>
>>
>>
>> On Tue, May 13, 2014 at 2:16 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>>
>>> What OM version are you going to use?
>>>
>>>
>>> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Good morning Maxim,
>>>>
>>>> trying to compile -
>>>>
>>>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>>>
>>>> cd red5sip_2.1
>>>>
>>>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>>>
>>>> getting - BUILD FAILED
>>>> "
>>>>
>>>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>>>> central
>>>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>>>> central
>>>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>>>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>>>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>>>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>>>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in
>>>> chain
>>>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>>>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>>>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>>>> chain
>>>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>>>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>>>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>>>
>>>> ---------------------------------------------------------------------
>>>>         |                  |            modules            ||
>>>> artifacts   |
>>>>         |       conf       | number| search|dwnlded|evicted||
>>>> number|dwnlded|
>>>>
>>>> ---------------------------------------------------------------------
>>>>         |      default     |   18  |   0   |   0   |   0   ||   18  |
>>>> 0   |
>>>>
>>>> ---------------------------------------------------------------------
>>>> [ivy:retrieve] :: retrieving :: apache#red5sip
>>>> [ivy:retrieve]  confs: [default]
>>>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>>>
>>>> compile.only:
>>>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>>>     [javac] Compiling 243 source files to
>>>> /usr/adm/red5sip_2.1/out/classes
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                 ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                  ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                   ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                    ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>>     [javac]                                                     ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]            ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]             ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]              ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]               ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]                ^
>>>>     [javac]
>>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>>> unmappable character for encoding ASCII
>>>>     [javac]     // posi??????es
>>>>     [javac]                 ^
>>>>     [javac] 12 errors
>>>>
>>>> BUILD FAILED
>>>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler
>>>> error output for details.
>>>>
>>>> "
>>>>
>>>>
>>>>
>>>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> I have it commented on my server
>>>>
>>>>
>>>>
>>>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you Maxim,
>>>>> without samples & config -
>>>>>
>>>>> there is no problem and i start astriks...ok
>>>>>
>>>>> question - do i need to uncomment the line with -
>>>>>
>>>>> ;maxexpiry=43200
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>>> The script wrote you please perform:
>>>>>> make install
>>>>>>
>>>>>> And you are running:
>>>>>> sudo make samples
>>>>>>
>>>>>> Why do you need samples?
>>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you very much for your concern...
>>>>>> i found the problem - missing dev pakages..
>>>>>> But when sudo make samples getting error as you can see bellow..
>>>>>> so -
>>>>>> apt-get install ncurses-dev
>>>>>> apt-get install libsqlite3-dev
>>>>>>
>>>>>> and now  - sudo make
>>>>>> getting
>>>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>>>> bridges funcs tests main res addons
>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>  +--------- Asterisk Build Complete ---------+
>>>>>>  + Asterisk has successfully been built, and +
>>>>>>  + can be installed by running:              +
>>>>>>  +                                           +
>>>>>>  +                make install               +
>>>>>>  +-------------------------------------------+
>>>>>>
>>>>>> but when -
>>>>>>
>>>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>>>> Installing adsi config files...
>>>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>>>> Installing configs/asterisk.adsi
>>>>>> Installing configs/telcordia-1.adsi
>>>>>> Installing other config files...
>>>>>> Installing file configs/acl.conf.sample
>>>>>> Installing file configs/adsi.conf.sample
>>>>>> Installing file configs/agents.conf.sample
>>>>>> Installing file configs/alarmreceiver.conf.sample
>>>>>> Installing file configs/alsa.conf.sample
>>>>>> Installing file configs/amd.conf.sample
>>>>>> Installing file configs/app_mysql.conf.sample
>>>>>> Installing file configs/app_skel.conf.sample
>>>>>> Installing file configs/asterisk.conf.sample
>>>>>> Installing file configs/calendar.conf.sample
>>>>>> Installing file configs/ccss.conf.sample
>>>>>> Installing file configs/cdr.conf.sample
>>>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>>>> Installing file configs/cdr_custom.conf.sample
>>>>>> Installing file configs/cdr_manager.conf.sample
>>>>>> Installing file configs/cdr_mysql.conf.sample
>>>>>> Installing file configs/cdr_odbc.conf.sample
>>>>>> Installing file configs/cdr_pgsql.conf.sample
>>>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>>>> Installing file configs/cdr_syslog.conf.sample
>>>>>> Installing file configs/cdr_tds.conf.sample
>>>>>> Installing file configs/cel.conf.sample
>>>>>> Installing file configs/cel_custom.conf.sample
>>>>>> Installing file configs/cel_odbc.conf.sample
>>>>>> Installing file configs/cel_pgsql.conf.sample
>>>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>>>> Installing file configs/cel_tds.conf.sample
>>>>>> Installing file configs/chan_dahdi.conf.sample
>>>>>> Installing file configs/chan_mobile.conf.sample
>>>>>> Installing file configs/cli.conf.sample
>>>>>> Installing file configs/cli_aliases.conf.sample
>>>>>> Installing file configs/cli_permissions.conf.sample
>>>>>> Installing file configs/codecs.conf.sample
>>>>>> Installing file configs/confbridge.conf.sample
>>>>>> Installing file configs/config_test.conf.sample
>>>>>> Installing file configs/console.conf.sample
>>>>>> Installing file configs/dbsep.conf.sample
>>>>>> Installing file configs/dnsmgr.conf.sample
>>>>>> Installing file configs/dsp.conf.sample
>>>>>> Installing file configs/dundi.conf.sample
>>>>>> Installing file configs/enum.conf.sample
>>>>>> Installing file configs/extconfig.conf.sample
>>>>>> Installing file configs/extensions.ael.sample
>>>>>> Installing file configs/extensions.conf.sample
>>>>>> Installing file configs/extensions.lua.sample
>>>>>> Installing file configs/extensions_minivm.conf.sample
>>>>>> Installing file configs/features.conf.sample
>>>>>> Installing file configs/festival.conf.sample
>>>>>> Installing file configs/followme.conf.sample
>>>>>> Installing file configs/func_odbc.conf.sample
>>>>>> Installing file configs/gtalk.conf.sample
>>>>>> Installing file configs/h323.conf.sample
>>>>>> Installing file configs/http.conf.sample
>>>>>> Installing file configs/iax.conf.sample
>>>>>> Installing file configs/iaxprov.conf.sample
>>>>>> Installing file configs/indications.conf.sample
>>>>>> Installing file configs/jabber.conf.sample
>>>>>> Installing file configs/jingle.conf.sample
>>>>>> Installing file configs/logger.conf.sample
>>>>>> Installing file configs/manager.conf.sample
>>>>>> Installing file configs/meetme.conf.sample
>>>>>> Installing file configs/mgcp.conf.sample
>>>>>> Installing file configs/minivm.conf.sample
>>>>>> Installing file configs/misdn.conf.sample
>>>>>> Installing file configs/modules.conf.sample
>>>>>> Installing file configs/motif.conf.sample
>>>>>> Installing file configs/musiconhold.conf.sample
>>>>>> Installing file configs/muted.conf.sample
>>>>>> Installing file configs/ooh323.conf.sample
>>>>>> Installing file configs/osp.conf.sample
>>>>>> Installing file configs/oss.conf.sample
>>>>>> Installing file configs/phone.conf.sample
>>>>>> Installing file configs/phoneprov.conf.sample
>>>>>> Installing file configs/queuerules.conf.sample
>>>>>> Installing file configs/queues.conf.sample
>>>>>> Installing file configs/res_config_mysql.conf.sample
>>>>>> Installing file configs/res_config_sqlite.conf.sample
>>>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>>>> Installing file configs/res_corosync.conf.sample
>>>>>> Installing file configs/res_curl.conf.sample
>>>>>> Installing file configs/res_fax.conf.sample
>>>>>> Installing file configs/res_ldap.conf.sample
>>>>>> Installing file configs/res_odbc.conf.sample
>>>>>> Installing file configs/res_pgsql.conf.sample
>>>>>> Installing file configs/res_pktccops.conf.sample
>>>>>> Installing file configs/res_snmp.conf.sample
>>>>>> Installing file configs/res_stun_monitor.conf.sample
>>>>>> Installing file configs/rtp.conf.sample
>>>>>> Installing file configs/say.conf.sample
>>>>>> Installing file configs/sip.conf.sample
>>>>>> Installing file configs/sip_notify.conf.sample
>>>>>> Installing file configs/skinny.conf.sample
>>>>>> Installing file configs/sla.conf.sample
>>>>>> Installing file configs/smdi.conf.sample
>>>>>> Installing file configs/udptl.conf.sample
>>>>>> Installing file configs/unistim.conf.sample
>>>>>> Installing file configs/users.conf.sample
>>>>>> Installing file configs/voicemail.conf.sample
>>>>>> Installing file configs/vpb.conf.sample
>>>>>> Installing file configs/xmpp.conf.sample
>>>>>> if [ "y" = "y" ]; then \
>>>>>>                 echo "Updating asterisk.conf" ; \
>>>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>>>> /usr/lib/asterisk/modules|' \
>>>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>>>> /var/lib/asterisk|' \
>>>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>>>> /var/lib/asterisk|' \
>>>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>>>> /var/lib/asterisk|' \
>>>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>>>> /var/lib/asterisk|' \
>>>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>>>> /var/lib/asterisk/agi-bin|' \
>>>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>>>> /var/spool/asterisk|' \
>>>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>>>> /var/run/asterisk|' \
>>>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>>>> /var/log/asterisk|' \
>>>>>>                         -e 's|^astsbindir.*$|astsbindir =>
>>>>>> /usr/sbin|' \
>>>>>>                         "/etc/asterisk/asterisk.conf" >
>>>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>>                 /usr/bin/install -c -m 644
>>>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>>         fi ; \
>>>>>>         /usr/bin/install -c -d
>>>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>>>> Updating asterisk.conf
>>>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>>>> "//var/spool/asterisk"
>>>>>> Installing file phoneprov/000000000000-directory.xml
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>>>> directory
>>>>>> Installing file phoneprov/000000000000-phone.cfg
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>>>> directory
>>>>>> Installing file phoneprov/000000000000.cfg
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>>>> Installing file phoneprov/polycom.xml
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>>>> Installing file phoneprov/polycom_line.xml
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>>>> Installing file phoneprov/snom-mac.xml
>>>>>> /usr/bin/install: cannot create regular file
>>>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>>>> make: *** [samples] Error 1
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>>>
>>>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>>>> checking whether g++ accepts -g... yes
>>>>>>> checking how to run the C preprocessor... gcc -E
>>>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>>>> checking for egrep... grep -E
>>>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>>>> checking for gawk... gawk
>>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>>> checking whether ln -s works... yes
>>>>>>> checking for ranlib... ranlib
>>>>>>> checking for GNU make... make
>>>>>>> checking for egrep... (cached) /bin/grep -E
>>>>>>> checking for strip... strip
>>>>>>> checking for ar... ar
>>>>>>> checking for bison... :
>>>>>>> checking for cmp... /usr/bin/cmp
>>>>>>> checking for flex... :
>>>>>>> checking for grep... (cached) /bin/grep
>>>>>>> checking for python... /usr/bin/python
>>>>>>> checking for find... /usr/bin/find
>>>>>>> checking for compress... :
>>>>>>> checking for basename... /usr/bin/basename
>>>>>>> checking for dirname... /usr/bin/dirname
>>>>>>> checking for sh... /bin/sh
>>>>>>> checking for ln... /bin/ln
>>>>>>> checking for dot... :
>>>>>>> checking for wget... /usr/bin/wget
>>>>>>> checking for curl... :
>>>>>>> checking for rubber... :
>>>>>>> checking for catdvi... :
>>>>>>> checking for kpsewhich... :
>>>>>>> checking for xmllint... :
>>>>>>> checking for xmlstarlet... :
>>>>>>> checking for git... /usr/bin/git
>>>>>>> checking for ldconfig... /sbin/ldconfig
>>>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>>>> checking for openssl... /usr/bin/openssl
>>>>>>>  checking for bison that supports parse-param...
>>>>>>> checking for soxmix... no
>>>>>>> checking for md5... no
>>>>>>> checking for md5sum... md5sum
>>>>>>> checking for the pthreads library -lpthreads... no
>>>>>>> checking whether pthreads work without any flags... no
>>>>>>> checking whether pthreads work with -Kthread... no
>>>>>>> checking whether pthreads work with -kthread... no
>>>>>>> checking for the pthreads library -llthread... no
>>>>>>> checking whether pthreads work with -pthread... yes
>>>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>>>> checking if more special flags are required for pthreads... no
>>>>>>> checking for gawk... (cached) gawk
>>>>>>> checking for curl-config... no
>>>>>>> checking whether libcurl is usable... no
>>>>>>> checking for working alloca.h... yes
>>>>>>> checking for alloca... yes
>>>>>>> checking for dirent.h that defines DIR... yes
>>>>>>> checking for library containing opendir... none required
>>>>>>> checking for ANSI C header files... (cached) yes
>>>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>>>> checking arpa/inet.h usability... yes
>>>>>>> checking arpa/inet.h presence... yes
>>>>>>> checking for arpa/inet.h... yes
>>>>>>> checking fcntl.h usability... yes
>>>>>>> checking fcntl.h presence... yes
>>>>>>> checking for fcntl.h... yes
>>>>>>> checking for inttypes.h... (cached) yes
>>>>>>> checking libintl.h usability... yes
>>>>>>> checking libintl.h presence... yes
>>>>>>> checking for libintl.h... yes
>>>>>>> checking limits.h usability... yes
>>>>>>> checking limits.h presence... yes
>>>>>>> checking for limits.h... yes
>>>>>>> checking locale.h usability... yes
>>>>>>> checking locale.h presence... yes
>>>>>>> checking for locale.h... yes
>>>>>>> checking malloc.h usability... yes
>>>>>>> checking malloc.h presence... yes
>>>>>>> checking for malloc.h... yes
>>>>>>> checking netdb.h usability... yes
>>>>>>> checking netdb.h presence... yes
>>>>>>> checking for netdb.h... yes
>>>>>>> checking netinet/in.h usability... yes
>>>>>>> checking netinet/in.h presence... yes
>>>>>>> checking for netinet/in.h... yes
>>>>>>> checking stddef.h usability... yes
>>>>>>> checking stddef.h presence... yes
>>>>>>> checking for stddef.h... yes
>>>>>>> checking for stdint.h... (cached) yes
>>>>>>> checking for stdlib.h... (cached) yes
>>>>>>> checking for string.h... (cached) yes
>>>>>>> checking for strings.h... (cached) yes
>>>>>>> checking sys/event.h usability... no
>>>>>>> checking sys/event.h presence... no
>>>>>>> checking for sys/event.h... no
>>>>>>> checking sys/file.h usability... yes
>>>>>>> checking sys/file.h presence... yes
>>>>>>> checking for sys/file.h... yes
>>>>>>> checking sys/ioctl.h usability... yes
>>>>>>> checking sys/ioctl.h presence... yes
>>>>>>> checking for sys/ioctl.h... yes
>>>>>>> checking sys/param.h usability... yes
>>>>>>> checking sys/param.h presence... yes
>>>>>>> checking for sys/param.h... yes
>>>>>>> checking sys/socket.h usability... yes
>>>>>>> checking sys/socket.h presence... yes
>>>>>>> checking for sys/socket.h... yes
>>>>>>> checking sys/time.h usability... yes
>>>>>>> checking sys/time.h presence... yes
>>>>>>> checking for sys/time.h... yes
>>>>>>> checking syslog.h usability... yes
>>>>>>> checking syslog.h presence... yes
>>>>>>> checking for syslog.h... yes
>>>>>>> checking termios.h usability... yes
>>>>>>> checking termios.h presence... yes
>>>>>>> checking for termios.h... yes
>>>>>>> checking for unistd.h... (cached) yes
>>>>>>> checking utime.h usability... yes
>>>>>>> checking utime.h presence... yes
>>>>>>> checking for utime.h... yes
>>>>>>> checking arpa/nameser.h usability... yes
>>>>>>> checking arpa/nameser.h presence... yes
>>>>>>> checking for arpa/nameser.h... yes
>>>>>>> checking sys/io.h usability... yes
>>>>>>> checking sys/io.h presence... yes
>>>>>>> checking for sys/io.h... yes
>>>>>>> checking for tgetent in -ltermcap... no
>>>>>>> checking for tgetent in -ltinfo... no
>>>>>>> checking for initscr in -lcurses... no
>>>>>>> checking for initscr in -lncurses... no
>>>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>>>> this typically means the ncurses development package is missing)
>>>>>>>
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> /bin/sh: - : invalid option
>>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>>> GNU long options:
>>>>>>>         --debug
>>>>>>>         --debugger
>>>>>>>         --dump-po-strings
>>>>>>>         --dump-strings
>>>>>>>         --help
>>>>>>>         --init-file
>>>>>>>         --login
>>>>>>>         --noediting
>>>>>>>         --noprofile
>>>>>>>         --norc
>>>>>>>         --posix
>>>>>>>         --protected
>>>>>>>         --rcfile
>>>>>>>         --restricted
>>>>>>>         --verbose
>>>>>>>         --version
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> ****
>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>> ****               Please run "./configure".
>>>>>>> ****
>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>> so you are performing following steps:
>>>>>>>>
>>>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>>>
>>>>>>>>
>>>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>>>
>>>>>>>> *and get error?*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Thank you Maxim,
>>>>>>>>
>>>>>>>> tried without "clean" ...
>>>>>>>> getting the same error
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>>
>>>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>> Thank you Maxim,
>>>>>>>>> found it and seems ok...
>>>>>>>>>
>>>>>>>>> now im trying to  -
>>>>>>>>>
>>>>>>>>> *Building and setting up Asterisk*
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Run the commands
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>>>> cleansudo ./configuresudo make*
>>>>>>>>>
>>>>>>>>> Shell options:
>>>>>>>>>         -irsD or -c command or -O shopt_option
>>>>>>>>>  (invocation only)
>>>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>>>> ****
>>>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>>>> ****               Please run "./configure".
>>>>>>>>> ****
>>>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>
>>>>>>>>> :
>>>>>>>>>
>>>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>>>
>>>>>>>>>> Hello.
>>>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>>>
>>>>>>>>>> when -
>>>>>>>>>>
>>>>>>>>>> t@server1:~# apt-get install build-essential
>>>>>>>>>> linux-headers-`uname -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3
>>>>>>>>>> openssl libssl-dev
>>>>>>>>>> Reading package lists... Done
>>>>>>>>>> Building dependency tree
>>>>>>>>>> Reading state information... Done
>>>>>>>>>>
>>>>>>>>>> getting -
>>>>>>>>>>
>>>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>>>> E: Couldn't find any package by regex
>>>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>>>
>>>>>>>>>> how can i solve the issue?
>>>>>>>>>>
>>>>>>>>>> Thank you
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> WBR
>>>>>>>>> Maxim aka solomax
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> WBR
>>>>>>>> Maxim aka solomax
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
the om.context=openmeetings related to webapp name?

yes


On Tue, May 13, 2014 at 6:47 PM, Mark Lin <ml...@gmail.com> wrote:

> Thank you very much Mr Maxim for yor Patience
> 1.
> now  iget -
>   [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> all:
>       [jar] Building jar: /usr/adm/red5sip_2.1/lib/red5sip.jar
>
> BUILD SUCCESSFUL
>
> 2. for "Insert proper values to the /opt/red5sip/settings.properties
>
>
> *red5.host=127.0.0.1 # red5 server address *
> the om.context=openmeetings related to webapp name?
>
>
>
> 2014-05-13 9:21 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> Fixed these 2 files
>
>
>
> On Tue, May 13, 2014 at 2:16 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>
>> What OM version are you going to use?
>>
>>
>> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Good morning Maxim,
>>>
>>> trying to compile -
>>>
>>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>>
>>> cd red5sip_2.1
>>>
>>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>>
>>> getting - BUILD FAILED
>>> "
>>>
>>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>>> central
>>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>>> central
>>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
>>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>>> chain
>>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>>
>>> ---------------------------------------------------------------------
>>>         |                  |            modules            ||
>>> artifacts   |
>>>         |       conf       | number| search|dwnlded|evicted||
>>> number|dwnlded|
>>>
>>> ---------------------------------------------------------------------
>>>         |      default     |   18  |   0   |   0   |   0   ||   18  |
>>> 0   |
>>>
>>> ---------------------------------------------------------------------
>>> [ivy:retrieve] :: retrieving :: apache#red5sip
>>> [ivy:retrieve]  confs: [default]
>>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>>
>>> compile.only:
>>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>>     [javac] Compiling 243 source files to
>>> /usr/adm/red5sip_2.1/out/classes
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                 ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                  ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                   ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                    ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                     ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]            ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]             ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]              ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]               ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]                ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]                 ^
>>>     [javac] 12 errors
>>>
>>> BUILD FAILED
>>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler
>>> error output for details.
>>>
>>> "
>>>
>>>
>>>
>>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> I have it commented on my server
>>>
>>>
>>>
>>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you Maxim,
>>>> without samples & config -
>>>>
>>>> there is no problem and i start astriks...ok
>>>>
>>>> question - do i need to uncomment the line with -
>>>>
>>>> ;maxexpiry=43200
>>>>
>>>>
>>>>
>>>>
>>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> The script wrote you please perform:
>>>>> make install
>>>>>
>>>>> And you are running:
>>>>> sudo make samples
>>>>>
>>>>> Why do you need samples?
>>>>>
>>>>
>>>>
>>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you very much for your concern...
>>>>> i found the problem - missing dev pakages..
>>>>> But when sudo make samples getting error as you can see bellow..
>>>>> so -
>>>>> apt-get install ncurses-dev
>>>>> apt-get install libsqlite3-dev
>>>>>
>>>>> and now  - sudo make
>>>>> getting
>>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>>> bridges funcs tests main res addons
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>  +--------- Asterisk Build Complete ---------+
>>>>>  + Asterisk has successfully been built, and +
>>>>>  + can be installed by running:              +
>>>>>  +                                           +
>>>>>  +                make install               +
>>>>>  +-------------------------------------------+
>>>>>
>>>>> but when -
>>>>>
>>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>>> Installing adsi config files...
>>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>>> Installing configs/asterisk.adsi
>>>>> Installing configs/telcordia-1.adsi
>>>>> Installing other config files...
>>>>> Installing file configs/acl.conf.sample
>>>>> Installing file configs/adsi.conf.sample
>>>>> Installing file configs/agents.conf.sample
>>>>> Installing file configs/alarmreceiver.conf.sample
>>>>> Installing file configs/alsa.conf.sample
>>>>> Installing file configs/amd.conf.sample
>>>>> Installing file configs/app_mysql.conf.sample
>>>>> Installing file configs/app_skel.conf.sample
>>>>> Installing file configs/asterisk.conf.sample
>>>>> Installing file configs/calendar.conf.sample
>>>>> Installing file configs/ccss.conf.sample
>>>>> Installing file configs/cdr.conf.sample
>>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>>> Installing file configs/cdr_custom.conf.sample
>>>>> Installing file configs/cdr_manager.conf.sample
>>>>> Installing file configs/cdr_mysql.conf.sample
>>>>> Installing file configs/cdr_odbc.conf.sample
>>>>> Installing file configs/cdr_pgsql.conf.sample
>>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>>> Installing file configs/cdr_syslog.conf.sample
>>>>> Installing file configs/cdr_tds.conf.sample
>>>>> Installing file configs/cel.conf.sample
>>>>> Installing file configs/cel_custom.conf.sample
>>>>> Installing file configs/cel_odbc.conf.sample
>>>>> Installing file configs/cel_pgsql.conf.sample
>>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>>> Installing file configs/cel_tds.conf.sample
>>>>> Installing file configs/chan_dahdi.conf.sample
>>>>> Installing file configs/chan_mobile.conf.sample
>>>>> Installing file configs/cli.conf.sample
>>>>> Installing file configs/cli_aliases.conf.sample
>>>>> Installing file configs/cli_permissions.conf.sample
>>>>> Installing file configs/codecs.conf.sample
>>>>> Installing file configs/confbridge.conf.sample
>>>>> Installing file configs/config_test.conf.sample
>>>>> Installing file configs/console.conf.sample
>>>>> Installing file configs/dbsep.conf.sample
>>>>> Installing file configs/dnsmgr.conf.sample
>>>>> Installing file configs/dsp.conf.sample
>>>>> Installing file configs/dundi.conf.sample
>>>>> Installing file configs/enum.conf.sample
>>>>> Installing file configs/extconfig.conf.sample
>>>>> Installing file configs/extensions.ael.sample
>>>>> Installing file configs/extensions.conf.sample
>>>>> Installing file configs/extensions.lua.sample
>>>>> Installing file configs/extensions_minivm.conf.sample
>>>>> Installing file configs/features.conf.sample
>>>>> Installing file configs/festival.conf.sample
>>>>> Installing file configs/followme.conf.sample
>>>>> Installing file configs/func_odbc.conf.sample
>>>>> Installing file configs/gtalk.conf.sample
>>>>> Installing file configs/h323.conf.sample
>>>>> Installing file configs/http.conf.sample
>>>>> Installing file configs/iax.conf.sample
>>>>> Installing file configs/iaxprov.conf.sample
>>>>> Installing file configs/indications.conf.sample
>>>>> Installing file configs/jabber.conf.sample
>>>>> Installing file configs/jingle.conf.sample
>>>>> Installing file configs/logger.conf.sample
>>>>> Installing file configs/manager.conf.sample
>>>>> Installing file configs/meetme.conf.sample
>>>>> Installing file configs/mgcp.conf.sample
>>>>> Installing file configs/minivm.conf.sample
>>>>> Installing file configs/misdn.conf.sample
>>>>> Installing file configs/modules.conf.sample
>>>>> Installing file configs/motif.conf.sample
>>>>> Installing file configs/musiconhold.conf.sample
>>>>> Installing file configs/muted.conf.sample
>>>>> Installing file configs/ooh323.conf.sample
>>>>> Installing file configs/osp.conf.sample
>>>>> Installing file configs/oss.conf.sample
>>>>> Installing file configs/phone.conf.sample
>>>>> Installing file configs/phoneprov.conf.sample
>>>>> Installing file configs/queuerules.conf.sample
>>>>> Installing file configs/queues.conf.sample
>>>>> Installing file configs/res_config_mysql.conf.sample
>>>>> Installing file configs/res_config_sqlite.conf.sample
>>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>>> Installing file configs/res_corosync.conf.sample
>>>>> Installing file configs/res_curl.conf.sample
>>>>> Installing file configs/res_fax.conf.sample
>>>>> Installing file configs/res_ldap.conf.sample
>>>>> Installing file configs/res_odbc.conf.sample
>>>>> Installing file configs/res_pgsql.conf.sample
>>>>> Installing file configs/res_pktccops.conf.sample
>>>>> Installing file configs/res_snmp.conf.sample
>>>>> Installing file configs/res_stun_monitor.conf.sample
>>>>> Installing file configs/rtp.conf.sample
>>>>> Installing file configs/say.conf.sample
>>>>> Installing file configs/sip.conf.sample
>>>>> Installing file configs/sip_notify.conf.sample
>>>>> Installing file configs/skinny.conf.sample
>>>>> Installing file configs/sla.conf.sample
>>>>> Installing file configs/smdi.conf.sample
>>>>> Installing file configs/udptl.conf.sample
>>>>> Installing file configs/unistim.conf.sample
>>>>> Installing file configs/users.conf.sample
>>>>> Installing file configs/voicemail.conf.sample
>>>>> Installing file configs/vpb.conf.sample
>>>>> Installing file configs/xmpp.conf.sample
>>>>> if [ "y" = "y" ]; then \
>>>>>                 echo "Updating asterisk.conf" ; \
>>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>>> /usr/lib/asterisk/modules|' \
>>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>>> /var/lib/asterisk/agi-bin|' \
>>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>>> /var/spool/asterisk|' \
>>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>>> /var/run/asterisk|' \
>>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>>> /var/log/asterisk|' \
>>>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|'
>>>>> \
>>>>>                         "/etc/asterisk/asterisk.conf" >
>>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>                 /usr/bin/install -c -m 644
>>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>         fi ; \
>>>>>         /usr/bin/install -c -d
>>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>>> Updating asterisk.conf
>>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>>> "//var/spool/asterisk"
>>>>> Installing file phoneprov/000000000000-directory.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>>> directory
>>>>> Installing file phoneprov/000000000000-phone.cfg
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>>> directory
>>>>> Installing file phoneprov/000000000000.cfg
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>>> Installing file phoneprov/polycom.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>>> Installing file phoneprov/polycom_line.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>>> Installing file phoneprov/snom-mac.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>>> make: *** [samples] Error 1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>>
>>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>>> checking whether g++ accepts -g... yes
>>>>>> checking how to run the C preprocessor... gcc -E
>>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>>> checking for egrep... grep -E
>>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>>> checking for gawk... gawk
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether ln -s works... yes
>>>>>> checking for ranlib... ranlib
>>>>>> checking for GNU make... make
>>>>>> checking for egrep... (cached) /bin/grep -E
>>>>>> checking for strip... strip
>>>>>> checking for ar... ar
>>>>>> checking for bison... :
>>>>>> checking for cmp... /usr/bin/cmp
>>>>>> checking for flex... :
>>>>>> checking for grep... (cached) /bin/grep
>>>>>> checking for python... /usr/bin/python
>>>>>> checking for find... /usr/bin/find
>>>>>> checking for compress... :
>>>>>> checking for basename... /usr/bin/basename
>>>>>> checking for dirname... /usr/bin/dirname
>>>>>> checking for sh... /bin/sh
>>>>>> checking for ln... /bin/ln
>>>>>> checking for dot... :
>>>>>> checking for wget... /usr/bin/wget
>>>>>> checking for curl... :
>>>>>> checking for rubber... :
>>>>>> checking for catdvi... :
>>>>>> checking for kpsewhich... :
>>>>>> checking for xmllint... :
>>>>>> checking for xmlstarlet... :
>>>>>> checking for git... /usr/bin/git
>>>>>> checking for ldconfig... /sbin/ldconfig
>>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>>> checking for openssl... /usr/bin/openssl
>>>>>>  checking for bison that supports parse-param...
>>>>>> checking for soxmix... no
>>>>>> checking for md5... no
>>>>>> checking for md5sum... md5sum
>>>>>> checking for the pthreads library -lpthreads... no
>>>>>> checking whether pthreads work without any flags... no
>>>>>> checking whether pthreads work with -Kthread... no
>>>>>> checking whether pthreads work with -kthread... no
>>>>>> checking for the pthreads library -llthread... no
>>>>>> checking whether pthreads work with -pthread... yes
>>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>>> checking if more special flags are required for pthreads... no
>>>>>> checking for gawk... (cached) gawk
>>>>>> checking for curl-config... no
>>>>>> checking whether libcurl is usable... no
>>>>>> checking for working alloca.h... yes
>>>>>> checking for alloca... yes
>>>>>> checking for dirent.h that defines DIR... yes
>>>>>> checking for library containing opendir... none required
>>>>>> checking for ANSI C header files... (cached) yes
>>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>>> checking arpa/inet.h usability... yes
>>>>>> checking arpa/inet.h presence... yes
>>>>>> checking for arpa/inet.h... yes
>>>>>> checking fcntl.h usability... yes
>>>>>> checking fcntl.h presence... yes
>>>>>> checking for fcntl.h... yes
>>>>>> checking for inttypes.h... (cached) yes
>>>>>> checking libintl.h usability... yes
>>>>>> checking libintl.h presence... yes
>>>>>> checking for libintl.h... yes
>>>>>> checking limits.h usability... yes
>>>>>> checking limits.h presence... yes
>>>>>> checking for limits.h... yes
>>>>>> checking locale.h usability... yes
>>>>>> checking locale.h presence... yes
>>>>>> checking for locale.h... yes
>>>>>> checking malloc.h usability... yes
>>>>>> checking malloc.h presence... yes
>>>>>> checking for malloc.h... yes
>>>>>> checking netdb.h usability... yes
>>>>>> checking netdb.h presence... yes
>>>>>> checking for netdb.h... yes
>>>>>> checking netinet/in.h usability... yes
>>>>>> checking netinet/in.h presence... yes
>>>>>> checking for netinet/in.h... yes
>>>>>> checking stddef.h usability... yes
>>>>>> checking stddef.h presence... yes
>>>>>> checking for stddef.h... yes
>>>>>> checking for stdint.h... (cached) yes
>>>>>> checking for stdlib.h... (cached) yes
>>>>>> checking for string.h... (cached) yes
>>>>>> checking for strings.h... (cached) yes
>>>>>> checking sys/event.h usability... no
>>>>>> checking sys/event.h presence... no
>>>>>> checking for sys/event.h... no
>>>>>> checking sys/file.h usability... yes
>>>>>> checking sys/file.h presence... yes
>>>>>> checking for sys/file.h... yes
>>>>>> checking sys/ioctl.h usability... yes
>>>>>> checking sys/ioctl.h presence... yes
>>>>>> checking for sys/ioctl.h... yes
>>>>>> checking sys/param.h usability... yes
>>>>>> checking sys/param.h presence... yes
>>>>>> checking for sys/param.h... yes
>>>>>> checking sys/socket.h usability... yes
>>>>>> checking sys/socket.h presence... yes
>>>>>> checking for sys/socket.h... yes
>>>>>> checking sys/time.h usability... yes
>>>>>> checking sys/time.h presence... yes
>>>>>> checking for sys/time.h... yes
>>>>>> checking syslog.h usability... yes
>>>>>> checking syslog.h presence... yes
>>>>>> checking for syslog.h... yes
>>>>>> checking termios.h usability... yes
>>>>>> checking termios.h presence... yes
>>>>>> checking for termios.h... yes
>>>>>> checking for unistd.h... (cached) yes
>>>>>> checking utime.h usability... yes
>>>>>> checking utime.h presence... yes
>>>>>> checking for utime.h... yes
>>>>>> checking arpa/nameser.h usability... yes
>>>>>> checking arpa/nameser.h presence... yes
>>>>>> checking for arpa/nameser.h... yes
>>>>>> checking sys/io.h usability... yes
>>>>>> checking sys/io.h presence... yes
>>>>>> checking for sys/io.h... yes
>>>>>> checking for tgetent in -ltermcap... no
>>>>>> checking for tgetent in -ltinfo... no
>>>>>> checking for initscr in -lcurses... no
>>>>>> checking for initscr in -lncurses... no
>>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>>> this typically means the ncurses development package is missing)
>>>>>>
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> ****
>>>>>> **** The configure script must be executed before running 'make'.
>>>>>> ****               Please run "./configure".
>>>>>> ****
>>>>>> make[1]: *** [makeopts] Error 1
>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>> so you are performing following steps:
>>>>>>>
>>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>>
>>>>>>>
>>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>>
>>>>>>> *and get error?*
>>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Maxim,
>>>>>>>
>>>>>>> tried without "clean" ...
>>>>>>> getting the same error
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Thank you Maxim,
>>>>>>>> found it and seems ok...
>>>>>>>>
>>>>>>>> now im trying to  -
>>>>>>>>
>>>>>>>> *Building and setting up Asterisk*
>>>>>>>> ------------------------------
>>>>>>>>
>>>>>>>> Run the commands
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>>> cleansudo ./configuresudo make*
>>>>>>>>
>>>>>>>> Shell options:
>>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>>> only)
>>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>>> ****
>>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>>> ****               Please run "./configure".
>>>>>>>> ****
>>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>>
>>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>> Hello.
>>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>>
>>>>>>>>> when -
>>>>>>>>>
>>>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>>>> Reading package lists... Done
>>>>>>>>> Building dependency tree
>>>>>>>>> Reading state information... Done
>>>>>>>>>
>>>>>>>>> getting -
>>>>>>>>>
>>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>>> E: Couldn't find any package by regex
>>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>>
>>>>>>>>> how can i solve the issue?
>>>>>>>>>
>>>>>>>>> Thank you
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> WBR
>>>>>>>> Maxim aka solomax
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Thank you very much Mr Maxim for yor Patience
1.
now  iget -
  [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

all:
      [jar] Building jar: /usr/adm/red5sip_2.1/lib/red5sip.jar

BUILD SUCCESSFUL

2. for "Insert proper values to the /opt/red5sip/settings.properties


*red5.host=127.0.0.1 # red5 server address*
the om.context=openmeetings related to webapp name?



2014-05-13 9:21 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> Fixed these 2 files
>
>
> On Tue, May 13, 2014 at 2:16 PM, Maxim Solodovnik <so...@gmail.com>wrote:
>
>> What OM version are you going to use?
>>
>>
>> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Good morning Maxim,
>>>
>>> trying to compile -
>>>
>>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>>
>>> cd red5sip_2.1
>>>
>>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>>
>>> getting - BUILD FAILED
>>> "
>>>
>>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>>> central
>>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>>> central
>>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
>>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>>> chain
>>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>>
>>> ---------------------------------------------------------------------
>>>         |                  |            modules            ||
>>> artifacts   |
>>>         |       conf       | number| search|dwnlded|evicted||
>>> number|dwnlded|
>>>
>>> ---------------------------------------------------------------------
>>>         |      default     |   18  |   0   |   0   |   0   ||   18  |
>>> 0   |
>>>
>>> ---------------------------------------------------------------------
>>> [ivy:retrieve] :: retrieving :: apache#red5sip
>>> [ivy:retrieve]  confs: [default]
>>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>>
>>> compile.only:
>>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>>     [javac] Compiling 243 source files to
>>> /usr/adm/red5sip_2.1/out/classes
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                 ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                  ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                   ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                    ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>>> unmappable character for encoding ASCII
>>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>>     [javac]                                                     ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]            ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]             ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]              ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]               ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]                ^
>>>     [javac]
>>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>>> unmappable character for encoding ASCII
>>>     [javac]     // posi??????es
>>>     [javac]                 ^
>>>     [javac] 12 errors
>>>
>>> BUILD FAILED
>>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler
>>> error output for details.
>>>
>>> "
>>>
>>>
>>>
>>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> I have it commented on my server
>>>
>>>
>>>
>>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you Maxim,
>>>> without samples & config -
>>>>
>>>> there is no problem and i start astriks...ok
>>>>
>>>> question - do i need to uncomment the line with -
>>>>
>>>> ;maxexpiry=43200
>>>>
>>>>
>>>>
>>>>
>>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> The script wrote you please perform:
>>>>> make install
>>>>>
>>>>> And you are running:
>>>>> sudo make samples
>>>>>
>>>>> Why do you need samples?
>>>>>
>>>>
>>>>
>>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you very much for your concern...
>>>>> i found the problem - missing dev pakages..
>>>>> But when sudo make samples getting error as you can see bellow..
>>>>> so -
>>>>> apt-get install ncurses-dev
>>>>> apt-get install libsqlite3-dev
>>>>>
>>>>> and now  - sudo make
>>>>> getting
>>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>>> bridges funcs tests main res addons
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>  +--------- Asterisk Build Complete ---------+
>>>>>  + Asterisk has successfully been built, and +
>>>>>  + can be installed by running:              +
>>>>>  +                                           +
>>>>>  +                make install               +
>>>>>  +-------------------------------------------+
>>>>>
>>>>> but when -
>>>>>
>>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>>> Installing adsi config files...
>>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>>> Installing configs/asterisk.adsi
>>>>> Installing configs/telcordia-1.adsi
>>>>> Installing other config files...
>>>>> Installing file configs/acl.conf.sample
>>>>> Installing file configs/adsi.conf.sample
>>>>> Installing file configs/agents.conf.sample
>>>>> Installing file configs/alarmreceiver.conf.sample
>>>>> Installing file configs/alsa.conf.sample
>>>>> Installing file configs/amd.conf.sample
>>>>> Installing file configs/app_mysql.conf.sample
>>>>> Installing file configs/app_skel.conf.sample
>>>>> Installing file configs/asterisk.conf.sample
>>>>> Installing file configs/calendar.conf.sample
>>>>> Installing file configs/ccss.conf.sample
>>>>> Installing file configs/cdr.conf.sample
>>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>>> Installing file configs/cdr_custom.conf.sample
>>>>> Installing file configs/cdr_manager.conf.sample
>>>>> Installing file configs/cdr_mysql.conf.sample
>>>>> Installing file configs/cdr_odbc.conf.sample
>>>>> Installing file configs/cdr_pgsql.conf.sample
>>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>>> Installing file configs/cdr_syslog.conf.sample
>>>>> Installing file configs/cdr_tds.conf.sample
>>>>> Installing file configs/cel.conf.sample
>>>>> Installing file configs/cel_custom.conf.sample
>>>>> Installing file configs/cel_odbc.conf.sample
>>>>> Installing file configs/cel_pgsql.conf.sample
>>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>>> Installing file configs/cel_tds.conf.sample
>>>>> Installing file configs/chan_dahdi.conf.sample
>>>>> Installing file configs/chan_mobile.conf.sample
>>>>> Installing file configs/cli.conf.sample
>>>>> Installing file configs/cli_aliases.conf.sample
>>>>> Installing file configs/cli_permissions.conf.sample
>>>>> Installing file configs/codecs.conf.sample
>>>>> Installing file configs/confbridge.conf.sample
>>>>> Installing file configs/config_test.conf.sample
>>>>> Installing file configs/console.conf.sample
>>>>> Installing file configs/dbsep.conf.sample
>>>>> Installing file configs/dnsmgr.conf.sample
>>>>> Installing file configs/dsp.conf.sample
>>>>> Installing file configs/dundi.conf.sample
>>>>> Installing file configs/enum.conf.sample
>>>>> Installing file configs/extconfig.conf.sample
>>>>> Installing file configs/extensions.ael.sample
>>>>> Installing file configs/extensions.conf.sample
>>>>> Installing file configs/extensions.lua.sample
>>>>> Installing file configs/extensions_minivm.conf.sample
>>>>> Installing file configs/features.conf.sample
>>>>> Installing file configs/festival.conf.sample
>>>>> Installing file configs/followme.conf.sample
>>>>> Installing file configs/func_odbc.conf.sample
>>>>> Installing file configs/gtalk.conf.sample
>>>>> Installing file configs/h323.conf.sample
>>>>> Installing file configs/http.conf.sample
>>>>> Installing file configs/iax.conf.sample
>>>>> Installing file configs/iaxprov.conf.sample
>>>>> Installing file configs/indications.conf.sample
>>>>> Installing file configs/jabber.conf.sample
>>>>> Installing file configs/jingle.conf.sample
>>>>> Installing file configs/logger.conf.sample
>>>>> Installing file configs/manager.conf.sample
>>>>> Installing file configs/meetme.conf.sample
>>>>> Installing file configs/mgcp.conf.sample
>>>>> Installing file configs/minivm.conf.sample
>>>>> Installing file configs/misdn.conf.sample
>>>>> Installing file configs/modules.conf.sample
>>>>> Installing file configs/motif.conf.sample
>>>>> Installing file configs/musiconhold.conf.sample
>>>>> Installing file configs/muted.conf.sample
>>>>> Installing file configs/ooh323.conf.sample
>>>>> Installing file configs/osp.conf.sample
>>>>> Installing file configs/oss.conf.sample
>>>>> Installing file configs/phone.conf.sample
>>>>> Installing file configs/phoneprov.conf.sample
>>>>> Installing file configs/queuerules.conf.sample
>>>>> Installing file configs/queues.conf.sample
>>>>> Installing file configs/res_config_mysql.conf.sample
>>>>> Installing file configs/res_config_sqlite.conf.sample
>>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>>> Installing file configs/res_corosync.conf.sample
>>>>> Installing file configs/res_curl.conf.sample
>>>>> Installing file configs/res_fax.conf.sample
>>>>> Installing file configs/res_ldap.conf.sample
>>>>> Installing file configs/res_odbc.conf.sample
>>>>> Installing file configs/res_pgsql.conf.sample
>>>>> Installing file configs/res_pktccops.conf.sample
>>>>> Installing file configs/res_snmp.conf.sample
>>>>> Installing file configs/res_stun_monitor.conf.sample
>>>>> Installing file configs/rtp.conf.sample
>>>>> Installing file configs/say.conf.sample
>>>>> Installing file configs/sip.conf.sample
>>>>> Installing file configs/sip_notify.conf.sample
>>>>> Installing file configs/skinny.conf.sample
>>>>> Installing file configs/sla.conf.sample
>>>>> Installing file configs/smdi.conf.sample
>>>>> Installing file configs/udptl.conf.sample
>>>>> Installing file configs/unistim.conf.sample
>>>>> Installing file configs/users.conf.sample
>>>>> Installing file configs/voicemail.conf.sample
>>>>> Installing file configs/vpb.conf.sample
>>>>> Installing file configs/xmpp.conf.sample
>>>>> if [ "y" = "y" ]; then \
>>>>>                 echo "Updating asterisk.conf" ; \
>>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>>> /usr/lib/asterisk/modules|' \
>>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>>> /var/lib/asterisk|' \
>>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>>> /var/lib/asterisk/agi-bin|' \
>>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>>> /var/spool/asterisk|' \
>>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>>> /var/run/asterisk|' \
>>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>>> /var/log/asterisk|' \
>>>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|'
>>>>> \
>>>>>                         "/etc/asterisk/asterisk.conf" >
>>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>                 /usr/bin/install -c -m 644
>>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>>         fi ; \
>>>>>         /usr/bin/install -c -d
>>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>>> Updating asterisk.conf
>>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>>> "//var/spool/asterisk"
>>>>> Installing file phoneprov/000000000000-directory.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>>> directory
>>>>> Installing file phoneprov/000000000000-phone.cfg
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>>> directory
>>>>> Installing file phoneprov/000000000000.cfg
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>>> Installing file phoneprov/polycom.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>>> Installing file phoneprov/polycom_line.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>>> Installing file phoneprov/snom-mac.xml
>>>>> /usr/bin/install: cannot create regular file
>>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>>> make: *** [samples] Error 1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>>
>>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>>> checking whether g++ accepts -g... yes
>>>>>> checking how to run the C preprocessor... gcc -E
>>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>>> checking for egrep... grep -E
>>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>>> checking for gawk... gawk
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether ln -s works... yes
>>>>>> checking for ranlib... ranlib
>>>>>> checking for GNU make... make
>>>>>> checking for egrep... (cached) /bin/grep -E
>>>>>> checking for strip... strip
>>>>>> checking for ar... ar
>>>>>> checking for bison... :
>>>>>> checking for cmp... /usr/bin/cmp
>>>>>> checking for flex... :
>>>>>> checking for grep... (cached) /bin/grep
>>>>>> checking for python... /usr/bin/python
>>>>>> checking for find... /usr/bin/find
>>>>>> checking for compress... :
>>>>>> checking for basename... /usr/bin/basename
>>>>>> checking for dirname... /usr/bin/dirname
>>>>>> checking for sh... /bin/sh
>>>>>> checking for ln... /bin/ln
>>>>>> checking for dot... :
>>>>>> checking for wget... /usr/bin/wget
>>>>>> checking for curl... :
>>>>>> checking for rubber... :
>>>>>> checking for catdvi... :
>>>>>> checking for kpsewhich... :
>>>>>> checking for xmllint... :
>>>>>> checking for xmlstarlet... :
>>>>>> checking for git... /usr/bin/git
>>>>>> checking for ldconfig... /sbin/ldconfig
>>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>>> checking for openssl... /usr/bin/openssl
>>>>>>  checking for bison that supports parse-param...
>>>>>> checking for soxmix... no
>>>>>> checking for md5... no
>>>>>> checking for md5sum... md5sum
>>>>>> checking for the pthreads library -lpthreads... no
>>>>>> checking whether pthreads work without any flags... no
>>>>>> checking whether pthreads work with -Kthread... no
>>>>>> checking whether pthreads work with -kthread... no
>>>>>> checking for the pthreads library -llthread... no
>>>>>> checking whether pthreads work with -pthread... yes
>>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>>> checking if more special flags are required for pthreads... no
>>>>>> checking for gawk... (cached) gawk
>>>>>> checking for curl-config... no
>>>>>> checking whether libcurl is usable... no
>>>>>> checking for working alloca.h... yes
>>>>>> checking for alloca... yes
>>>>>> checking for dirent.h that defines DIR... yes
>>>>>> checking for library containing opendir... none required
>>>>>> checking for ANSI C header files... (cached) yes
>>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>>> checking arpa/inet.h usability... yes
>>>>>> checking arpa/inet.h presence... yes
>>>>>> checking for arpa/inet.h... yes
>>>>>> checking fcntl.h usability... yes
>>>>>> checking fcntl.h presence... yes
>>>>>> checking for fcntl.h... yes
>>>>>> checking for inttypes.h... (cached) yes
>>>>>> checking libintl.h usability... yes
>>>>>> checking libintl.h presence... yes
>>>>>> checking for libintl.h... yes
>>>>>> checking limits.h usability... yes
>>>>>> checking limits.h presence... yes
>>>>>> checking for limits.h... yes
>>>>>> checking locale.h usability... yes
>>>>>> checking locale.h presence... yes
>>>>>> checking for locale.h... yes
>>>>>> checking malloc.h usability... yes
>>>>>> checking malloc.h presence... yes
>>>>>> checking for malloc.h... yes
>>>>>> checking netdb.h usability... yes
>>>>>> checking netdb.h presence... yes
>>>>>> checking for netdb.h... yes
>>>>>> checking netinet/in.h usability... yes
>>>>>> checking netinet/in.h presence... yes
>>>>>> checking for netinet/in.h... yes
>>>>>> checking stddef.h usability... yes
>>>>>> checking stddef.h presence... yes
>>>>>> checking for stddef.h... yes
>>>>>> checking for stdint.h... (cached) yes
>>>>>> checking for stdlib.h... (cached) yes
>>>>>> checking for string.h... (cached) yes
>>>>>> checking for strings.h... (cached) yes
>>>>>> checking sys/event.h usability... no
>>>>>> checking sys/event.h presence... no
>>>>>> checking for sys/event.h... no
>>>>>> checking sys/file.h usability... yes
>>>>>> checking sys/file.h presence... yes
>>>>>> checking for sys/file.h... yes
>>>>>> checking sys/ioctl.h usability... yes
>>>>>> checking sys/ioctl.h presence... yes
>>>>>> checking for sys/ioctl.h... yes
>>>>>> checking sys/param.h usability... yes
>>>>>> checking sys/param.h presence... yes
>>>>>> checking for sys/param.h... yes
>>>>>> checking sys/socket.h usability... yes
>>>>>> checking sys/socket.h presence... yes
>>>>>> checking for sys/socket.h... yes
>>>>>> checking sys/time.h usability... yes
>>>>>> checking sys/time.h presence... yes
>>>>>> checking for sys/time.h... yes
>>>>>> checking syslog.h usability... yes
>>>>>> checking syslog.h presence... yes
>>>>>> checking for syslog.h... yes
>>>>>> checking termios.h usability... yes
>>>>>> checking termios.h presence... yes
>>>>>> checking for termios.h... yes
>>>>>> checking for unistd.h... (cached) yes
>>>>>> checking utime.h usability... yes
>>>>>> checking utime.h presence... yes
>>>>>> checking for utime.h... yes
>>>>>> checking arpa/nameser.h usability... yes
>>>>>> checking arpa/nameser.h presence... yes
>>>>>> checking for arpa/nameser.h... yes
>>>>>> checking sys/io.h usability... yes
>>>>>> checking sys/io.h presence... yes
>>>>>> checking for sys/io.h... yes
>>>>>> checking for tgetent in -ltermcap... no
>>>>>> checking for tgetent in -ltinfo... no
>>>>>> checking for initscr in -lcurses... no
>>>>>> checking for initscr in -lncurses... no
>>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>>> this typically means the ncurses development package is missing)
>>>>>>
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> /bin/sh: - : invalid option
>>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>>> GNU long options:
>>>>>>         --debug
>>>>>>         --debugger
>>>>>>         --dump-po-strings
>>>>>>         --dump-strings
>>>>>>         --help
>>>>>>         --init-file
>>>>>>         --login
>>>>>>         --noediting
>>>>>>         --noprofile
>>>>>>         --norc
>>>>>>         --posix
>>>>>>         --protected
>>>>>>         --rcfile
>>>>>>         --restricted
>>>>>>         --verbose
>>>>>>         --version
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> ****
>>>>>> **** The configure script must be executed before running 'make'.
>>>>>> ****               Please run "./configure".
>>>>>> ****
>>>>>> make[1]: *** [makeopts] Error 1
>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>> so you are performing following steps:
>>>>>>>
>>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>>
>>>>>>>
>>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>>
>>>>>>> *and get error?*
>>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Maxim,
>>>>>>>
>>>>>>> tried without "clean" ...
>>>>>>> getting the same error
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Thank you Maxim,
>>>>>>>> found it and seems ok...
>>>>>>>>
>>>>>>>> now im trying to  -
>>>>>>>>
>>>>>>>> *Building and setting up Asterisk*
>>>>>>>> ------------------------------
>>>>>>>>
>>>>>>>> Run the commands
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>>> cleansudo ./configuresudo make*
>>>>>>>>
>>>>>>>> Shell options:
>>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>>> only)
>>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>>> ****
>>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>>> ****               Please run "./configure".
>>>>>>>> ****
>>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>>
>>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>> Hello.
>>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>>
>>>>>>>>> when -
>>>>>>>>>
>>>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>>>> Reading package lists... Done
>>>>>>>>> Building dependency tree
>>>>>>>>> Reading state information... Done
>>>>>>>>>
>>>>>>>>> getting -
>>>>>>>>>
>>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>>> E: Couldn't find any package by regex
>>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>>
>>>>>>>>> how can i solve the issue?
>>>>>>>>>
>>>>>>>>> Thank you
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> WBR
>>>>>>>> Maxim aka solomax
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
Fixed these 2 files


On Tue, May 13, 2014 at 2:16 PM, Maxim Solodovnik <so...@gmail.com>wrote:

> What OM version are you going to use?
>
>
> On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Good morning Maxim,
>>
>> trying to compile -
>>
>> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>>
>> cd red5sip_2.1
>>
>> /usr/adm/apache-ant-1.9.0/bin/ant...
>>
>> getting - BUILD FAILED
>> "
>>
>> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
>> central
>> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
>> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
>> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
>> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
>> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
>> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
>> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
>> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in
>> chain
>> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
>> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
>> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>>
>> ---------------------------------------------------------------------
>>         |                  |            modules            ||   artifacts
>>   |
>>         |       conf       | number| search|dwnlded|evicted||
>> number|dwnlded|
>>
>> ---------------------------------------------------------------------
>>         |      default     |   18  |   0   |   0   |   0   ||   18  |   0
>>   |
>>
>> ---------------------------------------------------------------------
>> [ivy:retrieve] :: retrieving :: apache#red5sip
>> [ivy:retrieve]  confs: [default]
>> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>>
>> compile.only:
>>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>>     [javac] Compiling 243 source files to /usr/adm/red5sip_2.1/out/classes
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                 ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                  ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                   ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                    ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
>> unmappable character for encoding ASCII
>>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>>     [javac]                                                     ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]            ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]             ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]              ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]               ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                ^
>>     [javac]
>> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
>> unmappable character for encoding ASCII
>>     [javac]     // posi??????es
>>     [javac]                 ^
>>     [javac] 12 errors
>>
>> BUILD FAILED
>> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler error
>> output for details.
>>
>> "
>>
>>
>>
>> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> I have it commented on my server
>>
>>
>>
>> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> without samples & config -
>>>
>>> there is no problem and i start astriks...ok
>>>
>>> question - do i need to uncomment the line with -
>>>
>>> ;maxexpiry=43200
>>>
>>>
>>>
>>>
>>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> The script wrote you please perform:
>>>> make install
>>>>
>>>> And you are running:
>>>> sudo make samples
>>>>
>>>> Why do you need samples?
>>>>
>>>
>>>
>>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you very much for your concern...
>>>> i found the problem - missing dev pakages..
>>>> But when sudo make samples getting error as you can see bellow..
>>>> so -
>>>> apt-get install ncurses-dev
>>>> apt-get install libsqlite3-dev
>>>>
>>>> and now  - sudo make
>>>> getting
>>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>>> bridges funcs tests main res addons
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>  +--------- Asterisk Build Complete ---------+
>>>>  + Asterisk has successfully been built, and +
>>>>  + can be installed by running:              +
>>>>  +                                           +
>>>>  +                make install               +
>>>>  +-------------------------------------------+
>>>>
>>>> but when -
>>>>
>>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>>> Installing adsi config files...
>>>> /usr/bin/install -c -d "/etc/asterisk"
>>>> Installing configs/asterisk.adsi
>>>> Installing configs/telcordia-1.adsi
>>>> Installing other config files...
>>>> Installing file configs/acl.conf.sample
>>>> Installing file configs/adsi.conf.sample
>>>> Installing file configs/agents.conf.sample
>>>> Installing file configs/alarmreceiver.conf.sample
>>>> Installing file configs/alsa.conf.sample
>>>> Installing file configs/amd.conf.sample
>>>> Installing file configs/app_mysql.conf.sample
>>>> Installing file configs/app_skel.conf.sample
>>>> Installing file configs/asterisk.conf.sample
>>>> Installing file configs/calendar.conf.sample
>>>> Installing file configs/ccss.conf.sample
>>>> Installing file configs/cdr.conf.sample
>>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>>> Installing file configs/cdr_custom.conf.sample
>>>> Installing file configs/cdr_manager.conf.sample
>>>> Installing file configs/cdr_mysql.conf.sample
>>>> Installing file configs/cdr_odbc.conf.sample
>>>> Installing file configs/cdr_pgsql.conf.sample
>>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>>> Installing file configs/cdr_syslog.conf.sample
>>>> Installing file configs/cdr_tds.conf.sample
>>>> Installing file configs/cel.conf.sample
>>>> Installing file configs/cel_custom.conf.sample
>>>> Installing file configs/cel_odbc.conf.sample
>>>> Installing file configs/cel_pgsql.conf.sample
>>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>>> Installing file configs/cel_tds.conf.sample
>>>> Installing file configs/chan_dahdi.conf.sample
>>>> Installing file configs/chan_mobile.conf.sample
>>>> Installing file configs/cli.conf.sample
>>>> Installing file configs/cli_aliases.conf.sample
>>>> Installing file configs/cli_permissions.conf.sample
>>>> Installing file configs/codecs.conf.sample
>>>> Installing file configs/confbridge.conf.sample
>>>> Installing file configs/config_test.conf.sample
>>>> Installing file configs/console.conf.sample
>>>> Installing file configs/dbsep.conf.sample
>>>> Installing file configs/dnsmgr.conf.sample
>>>> Installing file configs/dsp.conf.sample
>>>> Installing file configs/dundi.conf.sample
>>>> Installing file configs/enum.conf.sample
>>>> Installing file configs/extconfig.conf.sample
>>>> Installing file configs/extensions.ael.sample
>>>> Installing file configs/extensions.conf.sample
>>>> Installing file configs/extensions.lua.sample
>>>> Installing file configs/extensions_minivm.conf.sample
>>>> Installing file configs/features.conf.sample
>>>> Installing file configs/festival.conf.sample
>>>> Installing file configs/followme.conf.sample
>>>> Installing file configs/func_odbc.conf.sample
>>>> Installing file configs/gtalk.conf.sample
>>>> Installing file configs/h323.conf.sample
>>>> Installing file configs/http.conf.sample
>>>> Installing file configs/iax.conf.sample
>>>> Installing file configs/iaxprov.conf.sample
>>>> Installing file configs/indications.conf.sample
>>>> Installing file configs/jabber.conf.sample
>>>> Installing file configs/jingle.conf.sample
>>>> Installing file configs/logger.conf.sample
>>>> Installing file configs/manager.conf.sample
>>>> Installing file configs/meetme.conf.sample
>>>> Installing file configs/mgcp.conf.sample
>>>> Installing file configs/minivm.conf.sample
>>>> Installing file configs/misdn.conf.sample
>>>> Installing file configs/modules.conf.sample
>>>> Installing file configs/motif.conf.sample
>>>> Installing file configs/musiconhold.conf.sample
>>>> Installing file configs/muted.conf.sample
>>>> Installing file configs/ooh323.conf.sample
>>>> Installing file configs/osp.conf.sample
>>>> Installing file configs/oss.conf.sample
>>>> Installing file configs/phone.conf.sample
>>>> Installing file configs/phoneprov.conf.sample
>>>> Installing file configs/queuerules.conf.sample
>>>> Installing file configs/queues.conf.sample
>>>> Installing file configs/res_config_mysql.conf.sample
>>>> Installing file configs/res_config_sqlite.conf.sample
>>>> Installing file configs/res_config_sqlite3.conf.sample
>>>> Installing file configs/res_corosync.conf.sample
>>>> Installing file configs/res_curl.conf.sample
>>>> Installing file configs/res_fax.conf.sample
>>>> Installing file configs/res_ldap.conf.sample
>>>> Installing file configs/res_odbc.conf.sample
>>>> Installing file configs/res_pgsql.conf.sample
>>>> Installing file configs/res_pktccops.conf.sample
>>>> Installing file configs/res_snmp.conf.sample
>>>> Installing file configs/res_stun_monitor.conf.sample
>>>> Installing file configs/rtp.conf.sample
>>>> Installing file configs/say.conf.sample
>>>> Installing file configs/sip.conf.sample
>>>> Installing file configs/sip_notify.conf.sample
>>>> Installing file configs/skinny.conf.sample
>>>> Installing file configs/sla.conf.sample
>>>> Installing file configs/smdi.conf.sample
>>>> Installing file configs/udptl.conf.sample
>>>> Installing file configs/unistim.conf.sample
>>>> Installing file configs/users.conf.sample
>>>> Installing file configs/voicemail.conf.sample
>>>> Installing file configs/vpb.conf.sample
>>>> Installing file configs/xmpp.conf.sample
>>>> if [ "y" = "y" ]; then \
>>>>                 echo "Updating asterisk.conf" ; \
>>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>>> /usr/lib/asterisk/modules|' \
>>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>>> /var/lib/asterisk|' \
>>>>                         -e 's|^astagidir.*$|astagidir =>
>>>> /var/lib/asterisk/agi-bin|' \
>>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>>> /var/spool/asterisk|' \
>>>>                         -e 's|^astrundir.*$|astrundir =>
>>>> /var/run/asterisk|' \
>>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>>> /var/log/asterisk|' \
>>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>>>                         "/etc/asterisk/asterisk.conf" >
>>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>                 /usr/bin/install -c -m 644
>>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>>         fi ; \
>>>>         /usr/bin/install -c -d
>>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>>> Updating asterisk.conf
>>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>>> "//var/spool/asterisk"
>>>> Installing file phoneprov/000000000000-directory.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000-phone.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>>> directory
>>>> Installing file phoneprov/000000000000.cfg
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>>> Installing file phoneprov/polycom.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>>> Installing file phoneprov/polycom_line.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>>> Installing file phoneprov/snom-mac.xml
>>>> /usr/bin/install: cannot create regular file
>>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>>> make: *** [samples] Error 1
>>>>
>>>>
>>>>
>>>>
>>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>>
>>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>> checking whether g++ accepts -g... yes
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>> checking for egrep... grep -E
>>>>> checking for ld used by gcc... /usr/bin/ld
>>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>>> checking for gawk... gawk
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether ln -s works... yes
>>>>> checking for ranlib... ranlib
>>>>> checking for GNU make... make
>>>>> checking for egrep... (cached) /bin/grep -E
>>>>> checking for strip... strip
>>>>> checking for ar... ar
>>>>> checking for bison... :
>>>>> checking for cmp... /usr/bin/cmp
>>>>> checking for flex... :
>>>>> checking for grep... (cached) /bin/grep
>>>>> checking for python... /usr/bin/python
>>>>> checking for find... /usr/bin/find
>>>>> checking for compress... :
>>>>> checking for basename... /usr/bin/basename
>>>>> checking for dirname... /usr/bin/dirname
>>>>> checking for sh... /bin/sh
>>>>> checking for ln... /bin/ln
>>>>> checking for dot... :
>>>>> checking for wget... /usr/bin/wget
>>>>> checking for curl... :
>>>>> checking for rubber... :
>>>>> checking for catdvi... :
>>>>> checking for kpsewhich... :
>>>>> checking for xmllint... :
>>>>> checking for xmlstarlet... :
>>>>> checking for git... /usr/bin/git
>>>>> checking for ldconfig... /sbin/ldconfig
>>>>> checking for sha1sum... /usr/bin/sha1sum
>>>>> checking for openssl... /usr/bin/openssl
>>>>>  checking for bison that supports parse-param...
>>>>> checking for soxmix... no
>>>>> checking for md5... no
>>>>> checking for md5sum... md5sum
>>>>> checking for the pthreads library -lpthreads... no
>>>>> checking whether pthreads work without any flags... no
>>>>> checking whether pthreads work with -Kthread... no
>>>>> checking whether pthreads work with -kthread... no
>>>>> checking for the pthreads library -llthread... no
>>>>> checking whether pthreads work with -pthread... yes
>>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>>> checking if more special flags are required for pthreads... no
>>>>> checking for gawk... (cached) gawk
>>>>> checking for curl-config... no
>>>>> checking whether libcurl is usable... no
>>>>> checking for working alloca.h... yes
>>>>> checking for alloca... yes
>>>>> checking for dirent.h that defines DIR... yes
>>>>> checking for library containing opendir... none required
>>>>> checking for ANSI C header files... (cached) yes
>>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>>> checking arpa/inet.h usability... yes
>>>>> checking arpa/inet.h presence... yes
>>>>> checking for arpa/inet.h... yes
>>>>> checking fcntl.h usability... yes
>>>>> checking fcntl.h presence... yes
>>>>> checking for fcntl.h... yes
>>>>> checking for inttypes.h... (cached) yes
>>>>> checking libintl.h usability... yes
>>>>> checking libintl.h presence... yes
>>>>> checking for libintl.h... yes
>>>>> checking limits.h usability... yes
>>>>> checking limits.h presence... yes
>>>>> checking for limits.h... yes
>>>>> checking locale.h usability... yes
>>>>> checking locale.h presence... yes
>>>>> checking for locale.h... yes
>>>>> checking malloc.h usability... yes
>>>>> checking malloc.h presence... yes
>>>>> checking for malloc.h... yes
>>>>> checking netdb.h usability... yes
>>>>> checking netdb.h presence... yes
>>>>> checking for netdb.h... yes
>>>>> checking netinet/in.h usability... yes
>>>>> checking netinet/in.h presence... yes
>>>>> checking for netinet/in.h... yes
>>>>> checking stddef.h usability... yes
>>>>> checking stddef.h presence... yes
>>>>> checking for stddef.h... yes
>>>>> checking for stdint.h... (cached) yes
>>>>> checking for stdlib.h... (cached) yes
>>>>> checking for string.h... (cached) yes
>>>>> checking for strings.h... (cached) yes
>>>>> checking sys/event.h usability... no
>>>>> checking sys/event.h presence... no
>>>>> checking for sys/event.h... no
>>>>> checking sys/file.h usability... yes
>>>>> checking sys/file.h presence... yes
>>>>> checking for sys/file.h... yes
>>>>> checking sys/ioctl.h usability... yes
>>>>> checking sys/ioctl.h presence... yes
>>>>> checking for sys/ioctl.h... yes
>>>>> checking sys/param.h usability... yes
>>>>> checking sys/param.h presence... yes
>>>>> checking for sys/param.h... yes
>>>>> checking sys/socket.h usability... yes
>>>>> checking sys/socket.h presence... yes
>>>>> checking for sys/socket.h... yes
>>>>> checking sys/time.h usability... yes
>>>>> checking sys/time.h presence... yes
>>>>> checking for sys/time.h... yes
>>>>> checking syslog.h usability... yes
>>>>> checking syslog.h presence... yes
>>>>> checking for syslog.h... yes
>>>>> checking termios.h usability... yes
>>>>> checking termios.h presence... yes
>>>>> checking for termios.h... yes
>>>>> checking for unistd.h... (cached) yes
>>>>> checking utime.h usability... yes
>>>>> checking utime.h presence... yes
>>>>> checking for utime.h... yes
>>>>> checking arpa/nameser.h usability... yes
>>>>> checking arpa/nameser.h presence... yes
>>>>> checking for arpa/nameser.h... yes
>>>>> checking sys/io.h usability... yes
>>>>> checking sys/io.h presence... yes
>>>>> checking for sys/io.h... yes
>>>>> checking for tgetent in -ltermcap... no
>>>>> checking for tgetent in -ltinfo... no
>>>>> checking for initscr in -lcurses... no
>>>>> checking for initscr in -lncurses... no
>>>>> configure: error: *** termcap support not found (on modern systems,
>>>>> this typically means the ncurses development package is missing)
>>>>>
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> /bin/sh: - : invalid option
>>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>>> GNU long options:
>>>>>         --debug
>>>>>         --debugger
>>>>>         --dump-po-strings
>>>>>         --dump-strings
>>>>>         --help
>>>>>         --init-file
>>>>>         --login
>>>>>         --noediting
>>>>>         --noprofile
>>>>>         --norc
>>>>>         --posix
>>>>>         --protected
>>>>>         --rcfile
>>>>>         --restricted
>>>>>         --verbose
>>>>>         --version
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> ****
>>>>> **** The configure script must be executed before running 'make'.
>>>>> ****               Please run "./configure".
>>>>> ****
>>>>> make[1]: *** [makeopts] Error 1
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>> make: *** [_cleantest_all] Error 2
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>> so you are performing following steps:
>>>>>>
>>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>>
>>>>>>
>>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>>
>>>>>> *and get error?*
>>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you Maxim,
>>>>>>
>>>>>> tried without "clean" ...
>>>>>> getting the same error
>>>>>>
>>>>>>
>>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>>> try to skip this step "*sudo make clean*"
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Maxim,
>>>>>>> found it and seems ok...
>>>>>>>
>>>>>>> now im trying to  -
>>>>>>>
>>>>>>> *Building and setting up Asterisk*
>>>>>>> ------------------------------
>>>>>>>
>>>>>>> Run the commands
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>>> cleansudo ./configuresudo make*
>>>>>>>
>>>>>>> Shell options:
>>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>>> only)
>>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>>> ****
>>>>>>> **** The configure script must be executed before running 'make'.
>>>>>>> ****               Please run "./configure".
>>>>>>> ****
>>>>>>> make[1]: *** [makeopts] Error 1
>>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>>> make: *** [_cleantest_all] Error 2
>>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>>
>>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Hello.
>>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>>
>>>>>>>> when -
>>>>>>>>
>>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>>> Reading package lists... Done
>>>>>>>> Building dependency tree
>>>>>>>> Reading state information... Done
>>>>>>>>
>>>>>>>> getting -
>>>>>>>>
>>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>>> E: Couldn't find any package by regex
>>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>>
>>>>>>>> how can i solve the issue?
>>>>>>>>
>>>>>>>> Thank you
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> WBR
>>>>>>> Maxim aka solomax
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
What OM version are you going to use?


On Tue, May 13, 2014 at 2:08 PM, Mark Lin <ml...@gmail.com> wrote:

> Good morning Maxim,
>
> trying to compile -
>
> svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1
>
> cd red5sip_2.1
>
> /usr/adm/apache-ant-1.9.0/bin/ant...
>
> getting - BUILD FAILED
> "
>
> [ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
> central
> [ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
> central
> [ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
> [ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
> [ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
> [ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
> [ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
> [ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
> [ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
> [ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in chain
> [ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
> [ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
> [ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms
>
> ---------------------------------------------------------------------
>         |                  |            modules            ||   artifacts
>   |
>         |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> ---------------------------------------------------------------------
>         |      default     |   18  |   0   |   0   |   0   ||   18  |   0
>   |
>
> ---------------------------------------------------------------------
> [ivy:retrieve] :: retrieving :: apache#red5sip
> [ivy:retrieve]  confs: [default]
> [ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)
>
> compile.only:
>      [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
>     [javac] Compiling 243 source files to /usr/adm/red5sip_2.1/out/classes
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                 ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                  ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                   ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                    ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
> unmappable character for encoding ASCII
>     [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
>     [javac]                                                     ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]            ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]             ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]              ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]               ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]                ^
>     [javac]
> /usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
> unmappable character for encoding ASCII
>     [javac]     // posi??????es
>     [javac]                 ^
>     [javac] 12 errors
>
> BUILD FAILED
> /usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler error
> output for details.
>
> "
>
>
>
> 2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> I have it commented on my server
>
>
>
> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>> without samples & config -
>>
>> there is no problem and i start astriks...ok
>>
>> question - do i need to uncomment the line with -
>>
>> ;maxexpiry=43200
>>
>>
>>
>>
>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> The script wrote you please perform:
>>> make install
>>>
>>> And you are running:
>>> sudo make samples
>>>
>>> Why do you need samples?
>>>
>>
>>
>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you very much for your concern...
>>> i found the problem - missing dev pakages..
>>> But when sudo make samples getting error as you can see bellow..
>>> so -
>>> apt-get install ncurses-dev
>>> apt-get install libsqlite3-dev
>>>
>>> and now  - sudo make
>>> getting
>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>> bridges funcs tests main res addons
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>  +--------- Asterisk Build Complete ---------+
>>>  + Asterisk has successfully been built, and +
>>>  + can be installed by running:              +
>>>  +                                           +
>>>  +                make install               +
>>>  +-------------------------------------------+
>>>
>>> but when -
>>>
>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>> Installing adsi config files...
>>> /usr/bin/install -c -d "/etc/asterisk"
>>> Installing configs/asterisk.adsi
>>> Installing configs/telcordia-1.adsi
>>> Installing other config files...
>>> Installing file configs/acl.conf.sample
>>> Installing file configs/adsi.conf.sample
>>> Installing file configs/agents.conf.sample
>>> Installing file configs/alarmreceiver.conf.sample
>>> Installing file configs/alsa.conf.sample
>>> Installing file configs/amd.conf.sample
>>> Installing file configs/app_mysql.conf.sample
>>> Installing file configs/app_skel.conf.sample
>>> Installing file configs/asterisk.conf.sample
>>> Installing file configs/calendar.conf.sample
>>> Installing file configs/ccss.conf.sample
>>> Installing file configs/cdr.conf.sample
>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>> Installing file configs/cdr_custom.conf.sample
>>> Installing file configs/cdr_manager.conf.sample
>>> Installing file configs/cdr_mysql.conf.sample
>>> Installing file configs/cdr_odbc.conf.sample
>>> Installing file configs/cdr_pgsql.conf.sample
>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>> Installing file configs/cdr_syslog.conf.sample
>>> Installing file configs/cdr_tds.conf.sample
>>> Installing file configs/cel.conf.sample
>>> Installing file configs/cel_custom.conf.sample
>>> Installing file configs/cel_odbc.conf.sample
>>> Installing file configs/cel_pgsql.conf.sample
>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>> Installing file configs/cel_tds.conf.sample
>>> Installing file configs/chan_dahdi.conf.sample
>>> Installing file configs/chan_mobile.conf.sample
>>> Installing file configs/cli.conf.sample
>>> Installing file configs/cli_aliases.conf.sample
>>> Installing file configs/cli_permissions.conf.sample
>>> Installing file configs/codecs.conf.sample
>>> Installing file configs/confbridge.conf.sample
>>> Installing file configs/config_test.conf.sample
>>> Installing file configs/console.conf.sample
>>> Installing file configs/dbsep.conf.sample
>>> Installing file configs/dnsmgr.conf.sample
>>> Installing file configs/dsp.conf.sample
>>> Installing file configs/dundi.conf.sample
>>> Installing file configs/enum.conf.sample
>>> Installing file configs/extconfig.conf.sample
>>> Installing file configs/extensions.ael.sample
>>> Installing file configs/extensions.conf.sample
>>> Installing file configs/extensions.lua.sample
>>> Installing file configs/extensions_minivm.conf.sample
>>> Installing file configs/features.conf.sample
>>> Installing file configs/festival.conf.sample
>>> Installing file configs/followme.conf.sample
>>> Installing file configs/func_odbc.conf.sample
>>> Installing file configs/gtalk.conf.sample
>>> Installing file configs/h323.conf.sample
>>> Installing file configs/http.conf.sample
>>> Installing file configs/iax.conf.sample
>>> Installing file configs/iaxprov.conf.sample
>>> Installing file configs/indications.conf.sample
>>> Installing file configs/jabber.conf.sample
>>> Installing file configs/jingle.conf.sample
>>> Installing file configs/logger.conf.sample
>>> Installing file configs/manager.conf.sample
>>> Installing file configs/meetme.conf.sample
>>> Installing file configs/mgcp.conf.sample
>>> Installing file configs/minivm.conf.sample
>>> Installing file configs/misdn.conf.sample
>>> Installing file configs/modules.conf.sample
>>> Installing file configs/motif.conf.sample
>>> Installing file configs/musiconhold.conf.sample
>>> Installing file configs/muted.conf.sample
>>> Installing file configs/ooh323.conf.sample
>>> Installing file configs/osp.conf.sample
>>> Installing file configs/oss.conf.sample
>>> Installing file configs/phone.conf.sample
>>> Installing file configs/phoneprov.conf.sample
>>> Installing file configs/queuerules.conf.sample
>>> Installing file configs/queues.conf.sample
>>> Installing file configs/res_config_mysql.conf.sample
>>> Installing file configs/res_config_sqlite.conf.sample
>>> Installing file configs/res_config_sqlite3.conf.sample
>>> Installing file configs/res_corosync.conf.sample
>>> Installing file configs/res_curl.conf.sample
>>> Installing file configs/res_fax.conf.sample
>>> Installing file configs/res_ldap.conf.sample
>>> Installing file configs/res_odbc.conf.sample
>>> Installing file configs/res_pgsql.conf.sample
>>> Installing file configs/res_pktccops.conf.sample
>>> Installing file configs/res_snmp.conf.sample
>>> Installing file configs/res_stun_monitor.conf.sample
>>> Installing file configs/rtp.conf.sample
>>> Installing file configs/say.conf.sample
>>> Installing file configs/sip.conf.sample
>>> Installing file configs/sip_notify.conf.sample
>>> Installing file configs/skinny.conf.sample
>>> Installing file configs/sla.conf.sample
>>> Installing file configs/smdi.conf.sample
>>> Installing file configs/udptl.conf.sample
>>> Installing file configs/unistim.conf.sample
>>> Installing file configs/users.conf.sample
>>> Installing file configs/voicemail.conf.sample
>>> Installing file configs/vpb.conf.sample
>>> Installing file configs/xmpp.conf.sample
>>> if [ "y" = "y" ]; then \
>>>                 echo "Updating asterisk.conf" ; \
>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>> /usr/lib/asterisk/modules|' \
>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astagidir.*$|astagidir =>
>>> /var/lib/asterisk/agi-bin|' \
>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>> /var/spool/asterisk|' \
>>>                         -e 's|^astrundir.*$|astrundir =>
>>> /var/run/asterisk|' \
>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>> /var/log/asterisk|' \
>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>>                         "/etc/asterisk/asterisk.conf" >
>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>                 /usr/bin/install -c -m 644
>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>         fi ; \
>>>         /usr/bin/install -c -d
>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>> Updating asterisk.conf
>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>> "//var/spool/asterisk"
>>> Installing file phoneprov/000000000000-directory.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>> directory
>>> Installing file phoneprov/000000000000-phone.cfg
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>> directory
>>> Installing file phoneprov/000000000000.cfg
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>> Installing file phoneprov/polycom.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>> Installing file phoneprov/polycom_line.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>> Installing file phoneprov/snom-mac.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>> make: *** [samples] Error 1
>>>
>>>
>>>
>>>
>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>
>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>> checking build system type... x86_64-unknown-linux-gnu
>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>> checking whether we are using the GNU C++ compiler... yes
>>>> checking whether g++ accepts -g... yes
>>>> checking how to run the C preprocessor... gcc -E
>>>> checking how to run the C++ preprocessor... g++ -E
>>>> checking for a sed that does not truncate output... /bin/sed
>>>> checking for egrep... grep -E
>>>> checking for ld used by gcc... /usr/bin/ld
>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>> checking for gawk... gawk
>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>> checking whether ln -s works... yes
>>>> checking for ranlib... ranlib
>>>> checking for GNU make... make
>>>> checking for egrep... (cached) /bin/grep -E
>>>> checking for strip... strip
>>>> checking for ar... ar
>>>> checking for bison... :
>>>> checking for cmp... /usr/bin/cmp
>>>> checking for flex... :
>>>> checking for grep... (cached) /bin/grep
>>>> checking for python... /usr/bin/python
>>>> checking for find... /usr/bin/find
>>>> checking for compress... :
>>>> checking for basename... /usr/bin/basename
>>>> checking for dirname... /usr/bin/dirname
>>>> checking for sh... /bin/sh
>>>> checking for ln... /bin/ln
>>>> checking for dot... :
>>>> checking for wget... /usr/bin/wget
>>>> checking for curl... :
>>>> checking for rubber... :
>>>> checking for catdvi... :
>>>> checking for kpsewhich... :
>>>> checking for xmllint... :
>>>> checking for xmlstarlet... :
>>>> checking for git... /usr/bin/git
>>>> checking for ldconfig... /sbin/ldconfig
>>>> checking for sha1sum... /usr/bin/sha1sum
>>>> checking for openssl... /usr/bin/openssl
>>>>  checking for bison that supports parse-param...
>>>> checking for soxmix... no
>>>> checking for md5... no
>>>> checking for md5sum... md5sum
>>>> checking for the pthreads library -lpthreads... no
>>>> checking whether pthreads work without any flags... no
>>>> checking whether pthreads work with -Kthread... no
>>>> checking whether pthreads work with -kthread... no
>>>> checking for the pthreads library -llthread... no
>>>> checking whether pthreads work with -pthread... yes
>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>> checking if more special flags are required for pthreads... no
>>>> checking for gawk... (cached) gawk
>>>> checking for curl-config... no
>>>> checking whether libcurl is usable... no
>>>> checking for working alloca.h... yes
>>>> checking for alloca... yes
>>>> checking for dirent.h that defines DIR... yes
>>>> checking for library containing opendir... none required
>>>> checking for ANSI C header files... (cached) yes
>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>> checking arpa/inet.h usability... yes
>>>> checking arpa/inet.h presence... yes
>>>> checking for arpa/inet.h... yes
>>>> checking fcntl.h usability... yes
>>>> checking fcntl.h presence... yes
>>>> checking for fcntl.h... yes
>>>> checking for inttypes.h... (cached) yes
>>>> checking libintl.h usability... yes
>>>> checking libintl.h presence... yes
>>>> checking for libintl.h... yes
>>>> checking limits.h usability... yes
>>>> checking limits.h presence... yes
>>>> checking for limits.h... yes
>>>> checking locale.h usability... yes
>>>> checking locale.h presence... yes
>>>> checking for locale.h... yes
>>>> checking malloc.h usability... yes
>>>> checking malloc.h presence... yes
>>>> checking for malloc.h... yes
>>>> checking netdb.h usability... yes
>>>> checking netdb.h presence... yes
>>>> checking for netdb.h... yes
>>>> checking netinet/in.h usability... yes
>>>> checking netinet/in.h presence... yes
>>>> checking for netinet/in.h... yes
>>>> checking stddef.h usability... yes
>>>> checking stddef.h presence... yes
>>>> checking for stddef.h... yes
>>>> checking for stdint.h... (cached) yes
>>>> checking for stdlib.h... (cached) yes
>>>> checking for string.h... (cached) yes
>>>> checking for strings.h... (cached) yes
>>>> checking sys/event.h usability... no
>>>> checking sys/event.h presence... no
>>>> checking for sys/event.h... no
>>>> checking sys/file.h usability... yes
>>>> checking sys/file.h presence... yes
>>>> checking for sys/file.h... yes
>>>> checking sys/ioctl.h usability... yes
>>>> checking sys/ioctl.h presence... yes
>>>> checking for sys/ioctl.h... yes
>>>> checking sys/param.h usability... yes
>>>> checking sys/param.h presence... yes
>>>> checking for sys/param.h... yes
>>>> checking sys/socket.h usability... yes
>>>> checking sys/socket.h presence... yes
>>>> checking for sys/socket.h... yes
>>>> checking sys/time.h usability... yes
>>>> checking sys/time.h presence... yes
>>>> checking for sys/time.h... yes
>>>> checking syslog.h usability... yes
>>>> checking syslog.h presence... yes
>>>> checking for syslog.h... yes
>>>> checking termios.h usability... yes
>>>> checking termios.h presence... yes
>>>> checking for termios.h... yes
>>>> checking for unistd.h... (cached) yes
>>>> checking utime.h usability... yes
>>>> checking utime.h presence... yes
>>>> checking for utime.h... yes
>>>> checking arpa/nameser.h usability... yes
>>>> checking arpa/nameser.h presence... yes
>>>> checking for arpa/nameser.h... yes
>>>> checking sys/io.h usability... yes
>>>> checking sys/io.h presence... yes
>>>> checking for sys/io.h... yes
>>>> checking for tgetent in -ltermcap... no
>>>> checking for tgetent in -ltinfo... no
>>>> checking for initscr in -lcurses... no
>>>> checking for initscr in -lncurses... no
>>>> configure: error: *** termcap support not found (on modern systems,
>>>> this typically means the ncurses development package is missing)
>>>>
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> ****
>>>> **** The configure script must be executed before running 'make'.
>>>> ****               Please run "./configure".
>>>> ****
>>>> make[1]: *** [makeopts] Error 1
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>> make: *** [_cleantest_all] Error 2
>>>>
>>>>
>>>>
>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>> so you are performing following steps:
>>>>>
>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>
>>>>>
>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>
>>>>> *and get error?*
>>>>>
>>>>
>>>>
>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you Maxim,
>>>>>
>>>>> tried without "clean" ...
>>>>> getting the same error
>>>>>
>>>>>
>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>>> try to skip this step "*sudo make clean*"
>>>>>
>>>>>
>>>>>
>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you Maxim,
>>>>>> found it and seems ok...
>>>>>>
>>>>>> now im trying to  -
>>>>>>
>>>>>> *Building and setting up Asterisk*
>>>>>> ------------------------------
>>>>>>
>>>>>> Run the commands
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>> cleansudo ./configuresudo make*
>>>>>>
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> ****
>>>>>> **** The configure script must be executed before running 'make'.
>>>>>> ****               Please run "./configure".
>>>>>> ****
>>>>>> make[1]: *** [makeopts] Error 1
>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>> make: *** [_cleantest_all] Error 2
>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Hello.
>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>
>>>>>>> when -
>>>>>>>
>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>> Reading package lists... Done
>>>>>>> Building dependency tree
>>>>>>> Reading state information... Done
>>>>>>>
>>>>>>> getting -
>>>>>>>
>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>> E: Couldn't find any package by regex
>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>
>>>>>>> how can i solve the issue?
>>>>>>>
>>>>>>> Thank you
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Good morning Maxim,

trying to compile -

svn checkout http://red5phone.googlecode.com/svn/branches/red5sip_2.1

cd red5sip_2.1

/usr/adm/apache-ant-1.9.0/bin/ant...

getting - BUILD FAILED
"

[ivy:resolve]   found org.springframework#spring-beans;3.1.1.RELEASE in
central
[ivy:resolve]   found org.springframework#spring-core;3.1.1.RELEASE in
central
[ivy:resolve]   found ch.qos.logback#logback-core;1.0.3 in central
[ivy:resolve]   found ch.qos.logback#logback-classic;1.0.3 in central
[ivy:resolve]   found org.slf4j#jcl-over-slf4j;1.6.4 in central
[ivy:resolve]   found org.apache.openjpa#openjpa;2.2.1 in central
[ivy:resolve]   found org.apache.commons#commons-beanutils;1.8.3 in chain
[ivy:resolve]   found net.sf.ehcache#ehcache-core;2.5.0 in central
[ivy:resolve]   found org.apache.commons#commons-codec;1.6 in chain
[ivy:resolve]   found org.apache.commons#commons-collections;3.2.1 in chain
[ivy:resolve]   found org.bouncycastle#bcprov-jdk16;1.45 in central
[ivy:resolve]   found org.apache.commons#commons-lang3;3.1 in central
[ivy:resolve] :: resolution report :: resolve 709ms :: artifacts dl 54ms

---------------------------------------------------------------------
        |                  |            modules            ||   artifacts
|
        |       conf       | number| search|dwnlded|evicted||
number|dwnlded|

---------------------------------------------------------------------
        |      default     |   18  |   0   |   0   |   0   ||   18  |   0
|

---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: apache#red5sip
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  18 artifacts copied, 0 already retrieved (12048kB/98ms)

compile.only:
     [echo] Compile main to /usr/adm/red5sip_2.1/out/classes
    [javac] Compiling 243 source files to /usr/adm/red5sip_2.1/out/classes
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                 ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                  ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                   ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                    ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Decoder.java:47:
unmappable character for encoding ASCII
    [javac]     // Recebe um array de byte de 20 ou 30 posi??????es
    [javac]                                                     ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]            ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]             ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]              ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]               ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]                ^
    [javac]
/usr/adm/red5sip_2.1/src/java/org/red5/codecs/g729/Encoder.java:23:
unmappable character for encoding ASCII
    [javac]     // posi??????es
    [javac]                 ^
    [javac] 12 errors

BUILD FAILED
/usr/adm/red5sip_2.1/build.xml:80: Compile failed; see the compiler error
output for details.

"



2014-05-13 5:08 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> I have it commented on my server
>
>
> On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>> without samples & config -
>>
>> there is no problem and i start astriks...ok
>>
>> question - do i need to uncomment the line with -
>>
>> ;maxexpiry=43200
>>
>>
>>
>>
>> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> The script wrote you please perform:
>>> make install
>>>
>>> And you are running:
>>> sudo make samples
>>>
>>> Why do you need samples?
>>>
>>
>>
>> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you very much for your concern...
>>> i found the problem - missing dev pakages..
>>> But when sudo make samples getting error as you can see bellow..
>>> so -
>>> apt-get install ncurses-dev
>>> apt-get install libsqlite3-dev
>>>
>>> and now  - sudo make
>>> getting
>>> Building Documentation For: channels pbx apps codecs formats cdr cel
>>> bridges funcs tests main res addons
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>  +--------- Asterisk Build Complete ---------+
>>>  + Asterisk has successfully been built, and +
>>>  + can be installed by running:              +
>>>  +                                           +
>>>  +                make install               +
>>>  +-------------------------------------------+
>>>
>>> but when -
>>>
>>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>>> Installing adsi config files...
>>> /usr/bin/install -c -d "/etc/asterisk"
>>> Installing configs/asterisk.adsi
>>> Installing configs/telcordia-1.adsi
>>> Installing other config files...
>>> Installing file configs/acl.conf.sample
>>> Installing file configs/adsi.conf.sample
>>> Installing file configs/agents.conf.sample
>>> Installing file configs/alarmreceiver.conf.sample
>>> Installing file configs/alsa.conf.sample
>>> Installing file configs/amd.conf.sample
>>> Installing file configs/app_mysql.conf.sample
>>> Installing file configs/app_skel.conf.sample
>>> Installing file configs/asterisk.conf.sample
>>> Installing file configs/calendar.conf.sample
>>> Installing file configs/ccss.conf.sample
>>> Installing file configs/cdr.conf.sample
>>> Installing file configs/cdr_adaptive_odbc.conf.sample
>>> Installing file configs/cdr_custom.conf.sample
>>> Installing file configs/cdr_manager.conf.sample
>>> Installing file configs/cdr_mysql.conf.sample
>>> Installing file configs/cdr_odbc.conf.sample
>>> Installing file configs/cdr_pgsql.conf.sample
>>> Installing file configs/cdr_sqlite3_custom.conf.sample
>>> Installing file configs/cdr_syslog.conf.sample
>>> Installing file configs/cdr_tds.conf.sample
>>> Installing file configs/cel.conf.sample
>>> Installing file configs/cel_custom.conf.sample
>>> Installing file configs/cel_odbc.conf.sample
>>> Installing file configs/cel_pgsql.conf.sample
>>> Installing file configs/cel_sqlite3_custom.conf.sample
>>> Installing file configs/cel_tds.conf.sample
>>> Installing file configs/chan_dahdi.conf.sample
>>> Installing file configs/chan_mobile.conf.sample
>>> Installing file configs/cli.conf.sample
>>> Installing file configs/cli_aliases.conf.sample
>>> Installing file configs/cli_permissions.conf.sample
>>> Installing file configs/codecs.conf.sample
>>> Installing file configs/confbridge.conf.sample
>>> Installing file configs/config_test.conf.sample
>>> Installing file configs/console.conf.sample
>>> Installing file configs/dbsep.conf.sample
>>> Installing file configs/dnsmgr.conf.sample
>>> Installing file configs/dsp.conf.sample
>>> Installing file configs/dundi.conf.sample
>>> Installing file configs/enum.conf.sample
>>> Installing file configs/extconfig.conf.sample
>>> Installing file configs/extensions.ael.sample
>>> Installing file configs/extensions.conf.sample
>>> Installing file configs/extensions.lua.sample
>>> Installing file configs/extensions_minivm.conf.sample
>>> Installing file configs/features.conf.sample
>>> Installing file configs/festival.conf.sample
>>> Installing file configs/followme.conf.sample
>>> Installing file configs/func_odbc.conf.sample
>>> Installing file configs/gtalk.conf.sample
>>> Installing file configs/h323.conf.sample
>>> Installing file configs/http.conf.sample
>>> Installing file configs/iax.conf.sample
>>> Installing file configs/iaxprov.conf.sample
>>> Installing file configs/indications.conf.sample
>>> Installing file configs/jabber.conf.sample
>>> Installing file configs/jingle.conf.sample
>>> Installing file configs/logger.conf.sample
>>> Installing file configs/manager.conf.sample
>>> Installing file configs/meetme.conf.sample
>>> Installing file configs/mgcp.conf.sample
>>> Installing file configs/minivm.conf.sample
>>> Installing file configs/misdn.conf.sample
>>> Installing file configs/modules.conf.sample
>>> Installing file configs/motif.conf.sample
>>> Installing file configs/musiconhold.conf.sample
>>> Installing file configs/muted.conf.sample
>>> Installing file configs/ooh323.conf.sample
>>> Installing file configs/osp.conf.sample
>>> Installing file configs/oss.conf.sample
>>> Installing file configs/phone.conf.sample
>>> Installing file configs/phoneprov.conf.sample
>>> Installing file configs/queuerules.conf.sample
>>> Installing file configs/queues.conf.sample
>>> Installing file configs/res_config_mysql.conf.sample
>>> Installing file configs/res_config_sqlite.conf.sample
>>> Installing file configs/res_config_sqlite3.conf.sample
>>> Installing file configs/res_corosync.conf.sample
>>> Installing file configs/res_curl.conf.sample
>>> Installing file configs/res_fax.conf.sample
>>> Installing file configs/res_ldap.conf.sample
>>> Installing file configs/res_odbc.conf.sample
>>> Installing file configs/res_pgsql.conf.sample
>>> Installing file configs/res_pktccops.conf.sample
>>> Installing file configs/res_snmp.conf.sample
>>> Installing file configs/res_stun_monitor.conf.sample
>>> Installing file configs/rtp.conf.sample
>>> Installing file configs/say.conf.sample
>>> Installing file configs/sip.conf.sample
>>> Installing file configs/sip_notify.conf.sample
>>> Installing file configs/skinny.conf.sample
>>> Installing file configs/sla.conf.sample
>>> Installing file configs/smdi.conf.sample
>>> Installing file configs/udptl.conf.sample
>>> Installing file configs/unistim.conf.sample
>>> Installing file configs/users.conf.sample
>>> Installing file configs/voicemail.conf.sample
>>> Installing file configs/vpb.conf.sample
>>> Installing file configs/xmpp.conf.sample
>>> if [ "y" = "y" ]; then \
>>>                 echo "Updating asterisk.conf" ; \
>>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>>                         -e 's|^astmoddir.*$|astmoddir =>
>>> /usr/lib/asterisk/modules|' \
>>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astdbdir.*$|astdbdir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astkeydir.*$|astkeydir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astdatadir.*$|astdatadir =>
>>> /var/lib/asterisk|' \
>>>                         -e 's|^astagidir.*$|astagidir =>
>>> /var/lib/asterisk/agi-bin|' \
>>>                         -e 's|^astspooldir.*$|astspooldir =>
>>> /var/spool/asterisk|' \
>>>                         -e 's|^astrundir.*$|astrundir =>
>>> /var/run/asterisk|' \
>>>                         -e 's|^astlogdir.*$|astlogdir =>
>>> /var/log/asterisk|' \
>>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>>                         "/etc/asterisk/asterisk.conf" >
>>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>>                 /usr/bin/install -c -m 644
>>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>>         fi ; \
>>>         /usr/bin/install -c -d
>>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>>> Updating asterisk.conf
>>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>>> "//var/spool/asterisk"
>>> Installing file phoneprov/000000000000-directory.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>>> directory
>>> Installing file phoneprov/000000000000-phone.cfg
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>>> directory
>>> Installing file phoneprov/000000000000.cfg
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>>> Installing file phoneprov/polycom.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>>> Installing file phoneprov/polycom_line.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>>> Installing file phoneprov/snom-mac.xml
>>> /usr/bin/install: cannot create regular file
>>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>>> make: *** [samples] Error 1
>>>
>>>
>>>
>>>
>>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>>
>>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>>> checking build system type... x86_64-unknown-linux-gnu
>>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>>> checking whether we are using the GNU C++ compiler... yes
>>>> checking whether g++ accepts -g... yes
>>>> checking how to run the C preprocessor... gcc -E
>>>> checking how to run the C++ preprocessor... g++ -E
>>>> checking for a sed that does not truncate output... /bin/sed
>>>> checking for egrep... grep -E
>>>> checking for ld used by gcc... /usr/bin/ld
>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>> checking for gawk... gawk
>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>> checking whether ln -s works... yes
>>>> checking for ranlib... ranlib
>>>> checking for GNU make... make
>>>> checking for egrep... (cached) /bin/grep -E
>>>> checking for strip... strip
>>>> checking for ar... ar
>>>> checking for bison... :
>>>> checking for cmp... /usr/bin/cmp
>>>> checking for flex... :
>>>> checking for grep... (cached) /bin/grep
>>>> checking for python... /usr/bin/python
>>>> checking for find... /usr/bin/find
>>>> checking for compress... :
>>>> checking for basename... /usr/bin/basename
>>>> checking for dirname... /usr/bin/dirname
>>>> checking for sh... /bin/sh
>>>> checking for ln... /bin/ln
>>>> checking for dot... :
>>>> checking for wget... /usr/bin/wget
>>>> checking for curl... :
>>>> checking for rubber... :
>>>> checking for catdvi... :
>>>> checking for kpsewhich... :
>>>> checking for xmllint... :
>>>> checking for xmlstarlet... :
>>>> checking for git... /usr/bin/git
>>>> checking for ldconfig... /sbin/ldconfig
>>>> checking for sha1sum... /usr/bin/sha1sum
>>>> checking for openssl... /usr/bin/openssl
>>>>  checking for bison that supports parse-param...
>>>> checking for soxmix... no
>>>> checking for md5... no
>>>> checking for md5sum... md5sum
>>>> checking for the pthreads library -lpthreads... no
>>>> checking whether pthreads work without any flags... no
>>>> checking whether pthreads work with -Kthread... no
>>>> checking whether pthreads work with -kthread... no
>>>> checking for the pthreads library -llthread... no
>>>> checking whether pthreads work with -pthread... yes
>>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>>> checking if more special flags are required for pthreads... no
>>>> checking for gawk... (cached) gawk
>>>> checking for curl-config... no
>>>> checking whether libcurl is usable... no
>>>> checking for working alloca.h... yes
>>>> checking for alloca... yes
>>>> checking for dirent.h that defines DIR... yes
>>>> checking for library containing opendir... none required
>>>> checking for ANSI C header files... (cached) yes
>>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>>> checking arpa/inet.h usability... yes
>>>> checking arpa/inet.h presence... yes
>>>> checking for arpa/inet.h... yes
>>>> checking fcntl.h usability... yes
>>>> checking fcntl.h presence... yes
>>>> checking for fcntl.h... yes
>>>> checking for inttypes.h... (cached) yes
>>>> checking libintl.h usability... yes
>>>> checking libintl.h presence... yes
>>>> checking for libintl.h... yes
>>>> checking limits.h usability... yes
>>>> checking limits.h presence... yes
>>>> checking for limits.h... yes
>>>> checking locale.h usability... yes
>>>> checking locale.h presence... yes
>>>> checking for locale.h... yes
>>>> checking malloc.h usability... yes
>>>> checking malloc.h presence... yes
>>>> checking for malloc.h... yes
>>>> checking netdb.h usability... yes
>>>> checking netdb.h presence... yes
>>>> checking for netdb.h... yes
>>>> checking netinet/in.h usability... yes
>>>> checking netinet/in.h presence... yes
>>>> checking for netinet/in.h... yes
>>>> checking stddef.h usability... yes
>>>> checking stddef.h presence... yes
>>>> checking for stddef.h... yes
>>>> checking for stdint.h... (cached) yes
>>>> checking for stdlib.h... (cached) yes
>>>> checking for string.h... (cached) yes
>>>> checking for strings.h... (cached) yes
>>>> checking sys/event.h usability... no
>>>> checking sys/event.h presence... no
>>>> checking for sys/event.h... no
>>>> checking sys/file.h usability... yes
>>>> checking sys/file.h presence... yes
>>>> checking for sys/file.h... yes
>>>> checking sys/ioctl.h usability... yes
>>>> checking sys/ioctl.h presence... yes
>>>> checking for sys/ioctl.h... yes
>>>> checking sys/param.h usability... yes
>>>> checking sys/param.h presence... yes
>>>> checking for sys/param.h... yes
>>>> checking sys/socket.h usability... yes
>>>> checking sys/socket.h presence... yes
>>>> checking for sys/socket.h... yes
>>>> checking sys/time.h usability... yes
>>>> checking sys/time.h presence... yes
>>>> checking for sys/time.h... yes
>>>> checking syslog.h usability... yes
>>>> checking syslog.h presence... yes
>>>> checking for syslog.h... yes
>>>> checking termios.h usability... yes
>>>> checking termios.h presence... yes
>>>> checking for termios.h... yes
>>>> checking for unistd.h... (cached) yes
>>>> checking utime.h usability... yes
>>>> checking utime.h presence... yes
>>>> checking for utime.h... yes
>>>> checking arpa/nameser.h usability... yes
>>>> checking arpa/nameser.h presence... yes
>>>> checking for arpa/nameser.h... yes
>>>> checking sys/io.h usability... yes
>>>> checking sys/io.h presence... yes
>>>> checking for sys/io.h... yes
>>>> checking for tgetent in -ltermcap... no
>>>> checking for tgetent in -ltinfo... no
>>>> checking for initscr in -lcurses... no
>>>> checking for initscr in -lncurses... no
>>>> configure: error: *** termcap support not found (on modern systems,
>>>> this typically means the ncurses development package is missing)
>>>>
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>          -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> /bin/sh: - : invalid option
>>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>>         /bin/sh [GNU long option] [option] script-file ...
>>>> GNU long options:
>>>>         --debug
>>>>         --debugger
>>>>         --dump-po-strings
>>>>         --dump-strings
>>>>         --help
>>>>         --init-file
>>>>         --login
>>>>         --noediting
>>>>         --noprofile
>>>>         --norc
>>>>         --posix
>>>>         --protected
>>>>         --rcfile
>>>>         --restricted
>>>>         --verbose
>>>>         --version
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> ****
>>>> **** The configure script must be executed before running 'make'.
>>>> ****               Please run "./configure".
>>>> ****
>>>> make[1]: *** [makeopts] Error 1
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>> make: *** [_cleantest_all] Error 2
>>>>
>>>>
>>>>
>>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>> so you are performing following steps:
>>>>>
>>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>>
>>>>>
>>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>>
>>>>> *and get error?*
>>>>>
>>>>
>>>>
>>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you Maxim,
>>>>>
>>>>> tried without "clean" ...
>>>>> getting the same error
>>>>>
>>>>>
>>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>>> try to skip this step "*sudo make clean*"
>>>>>
>>>>>
>>>>>
>>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Thank you Maxim,
>>>>>> found it and seems ok...
>>>>>>
>>>>>> now im trying to  -
>>>>>>
>>>>>> *Building and setting up Asterisk*
>>>>>> ------------------------------
>>>>>>
>>>>>> Run the commands
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>>> cleansudo ./configuresudo make*
>>>>>>
>>>>>> Shell options:
>>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>>> only)
>>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>>> ****
>>>>>> **** The configure script must be executed before running 'make'.
>>>>>> ****               Please run "./configure".
>>>>>> ****
>>>>>> make[1]: *** [makeopts] Error 1
>>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>>> make: *** [_cleantest_all] Error 2
>>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>>
>>>>>>> try to manually search for linux-headers-2.6.32
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com>wrote:
>>>>>>
>>>>>>> Hello.
>>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>>
>>>>>>> when -
>>>>>>>
>>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>>> Reading package lists... Done
>>>>>>> Building dependency tree
>>>>>>> Reading state information... Done
>>>>>>>
>>>>>>> getting -
>>>>>>>
>>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>>> E: Couldn't find any package by regex
>>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>>
>>>>>>> how can i solve the issue?
>>>>>>>
>>>>>>> Thank you
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
I have it commented on my server


On Tue, May 13, 2014 at 12:11 AM, Mark Lin <ml...@gmail.com> wrote:

> Thank you Maxim,
> without samples & config -
>
> there is no problem and i start astriks...ok
>
> question - do i need to uncomment the line with -
>
> ;maxexpiry=43200
>
>
>
>
> 2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> The script wrote you please perform:
>> make install
>>
>> And you are running:
>> sudo make samples
>>
>> Why do you need samples?
>>
>
>
> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you very much for your concern...
>> i found the problem - missing dev pakages..
>> But when sudo make samples getting error as you can see bellow..
>> so -
>> apt-get install ncurses-dev
>> apt-get install libsqlite3-dev
>>
>> and now  - sudo make
>> getting
>> Building Documentation For: channels pbx apps codecs formats cdr cel
>> bridges funcs tests main res addons
>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>  +--------- Asterisk Build Complete ---------+
>>  + Asterisk has successfully been built, and +
>>  + can be installed by running:              +
>>  +                                           +
>>  +                make install               +
>>  +-------------------------------------------+
>>
>> but when -
>>
>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>> Installing adsi config files...
>> /usr/bin/install -c -d "/etc/asterisk"
>> Installing configs/asterisk.adsi
>> Installing configs/telcordia-1.adsi
>> Installing other config files...
>> Installing file configs/acl.conf.sample
>> Installing file configs/adsi.conf.sample
>> Installing file configs/agents.conf.sample
>> Installing file configs/alarmreceiver.conf.sample
>> Installing file configs/alsa.conf.sample
>> Installing file configs/amd.conf.sample
>> Installing file configs/app_mysql.conf.sample
>> Installing file configs/app_skel.conf.sample
>> Installing file configs/asterisk.conf.sample
>> Installing file configs/calendar.conf.sample
>> Installing file configs/ccss.conf.sample
>> Installing file configs/cdr.conf.sample
>> Installing file configs/cdr_adaptive_odbc.conf.sample
>> Installing file configs/cdr_custom.conf.sample
>> Installing file configs/cdr_manager.conf.sample
>> Installing file configs/cdr_mysql.conf.sample
>> Installing file configs/cdr_odbc.conf.sample
>> Installing file configs/cdr_pgsql.conf.sample
>> Installing file configs/cdr_sqlite3_custom.conf.sample
>> Installing file configs/cdr_syslog.conf.sample
>> Installing file configs/cdr_tds.conf.sample
>> Installing file configs/cel.conf.sample
>> Installing file configs/cel_custom.conf.sample
>> Installing file configs/cel_odbc.conf.sample
>> Installing file configs/cel_pgsql.conf.sample
>> Installing file configs/cel_sqlite3_custom.conf.sample
>> Installing file configs/cel_tds.conf.sample
>> Installing file configs/chan_dahdi.conf.sample
>> Installing file configs/chan_mobile.conf.sample
>> Installing file configs/cli.conf.sample
>> Installing file configs/cli_aliases.conf.sample
>> Installing file configs/cli_permissions.conf.sample
>> Installing file configs/codecs.conf.sample
>> Installing file configs/confbridge.conf.sample
>> Installing file configs/config_test.conf.sample
>> Installing file configs/console.conf.sample
>> Installing file configs/dbsep.conf.sample
>> Installing file configs/dnsmgr.conf.sample
>> Installing file configs/dsp.conf.sample
>> Installing file configs/dundi.conf.sample
>> Installing file configs/enum.conf.sample
>> Installing file configs/extconfig.conf.sample
>> Installing file configs/extensions.ael.sample
>> Installing file configs/extensions.conf.sample
>> Installing file configs/extensions.lua.sample
>> Installing file configs/extensions_minivm.conf.sample
>> Installing file configs/features.conf.sample
>> Installing file configs/festival.conf.sample
>> Installing file configs/followme.conf.sample
>> Installing file configs/func_odbc.conf.sample
>> Installing file configs/gtalk.conf.sample
>> Installing file configs/h323.conf.sample
>> Installing file configs/http.conf.sample
>> Installing file configs/iax.conf.sample
>> Installing file configs/iaxprov.conf.sample
>> Installing file configs/indications.conf.sample
>> Installing file configs/jabber.conf.sample
>> Installing file configs/jingle.conf.sample
>> Installing file configs/logger.conf.sample
>> Installing file configs/manager.conf.sample
>> Installing file configs/meetme.conf.sample
>> Installing file configs/mgcp.conf.sample
>> Installing file configs/minivm.conf.sample
>> Installing file configs/misdn.conf.sample
>> Installing file configs/modules.conf.sample
>> Installing file configs/motif.conf.sample
>> Installing file configs/musiconhold.conf.sample
>> Installing file configs/muted.conf.sample
>> Installing file configs/ooh323.conf.sample
>> Installing file configs/osp.conf.sample
>> Installing file configs/oss.conf.sample
>> Installing file configs/phone.conf.sample
>> Installing file configs/phoneprov.conf.sample
>> Installing file configs/queuerules.conf.sample
>> Installing file configs/queues.conf.sample
>> Installing file configs/res_config_mysql.conf.sample
>> Installing file configs/res_config_sqlite.conf.sample
>> Installing file configs/res_config_sqlite3.conf.sample
>> Installing file configs/res_corosync.conf.sample
>> Installing file configs/res_curl.conf.sample
>> Installing file configs/res_fax.conf.sample
>> Installing file configs/res_ldap.conf.sample
>> Installing file configs/res_odbc.conf.sample
>> Installing file configs/res_pgsql.conf.sample
>> Installing file configs/res_pktccops.conf.sample
>> Installing file configs/res_snmp.conf.sample
>> Installing file configs/res_stun_monitor.conf.sample
>> Installing file configs/rtp.conf.sample
>> Installing file configs/say.conf.sample
>> Installing file configs/sip.conf.sample
>> Installing file configs/sip_notify.conf.sample
>> Installing file configs/skinny.conf.sample
>> Installing file configs/sla.conf.sample
>> Installing file configs/smdi.conf.sample
>> Installing file configs/udptl.conf.sample
>> Installing file configs/unistim.conf.sample
>> Installing file configs/users.conf.sample
>> Installing file configs/voicemail.conf.sample
>> Installing file configs/vpb.conf.sample
>> Installing file configs/xmpp.conf.sample
>> if [ "y" = "y" ]; then \
>>                 echo "Updating asterisk.conf" ; \
>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>                         -e 's|^astmoddir.*$|astmoddir =>
>> /usr/lib/asterisk/modules|' \
>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astdbdir.*$|astdbdir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astkeydir.*$|astkeydir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astdatadir.*$|astdatadir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astagidir.*$|astagidir =>
>> /var/lib/asterisk/agi-bin|' \
>>                         -e 's|^astspooldir.*$|astspooldir =>
>> /var/spool/asterisk|' \
>>                         -e 's|^astrundir.*$|astrundir =>
>> /var/run/asterisk|' \
>>                         -e 's|^astlogdir.*$|astlogdir =>
>> /var/log/asterisk|' \
>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>                         "/etc/asterisk/asterisk.conf" >
>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>                 /usr/bin/install -c -m 644
>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>         fi ; \
>>         /usr/bin/install -c -d
>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>> Updating asterisk.conf
>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>> "//var/spool/asterisk"
>> Installing file phoneprov/000000000000-directory.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>> directory
>> Installing file phoneprov/000000000000-phone.cfg
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>> directory
>> Installing file phoneprov/000000000000.cfg
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>> Installing file phoneprov/polycom.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>> Installing file phoneprov/polycom_line.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>> Installing file phoneprov/snom-mac.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>> make: *** [samples] Error 1
>>
>>
>>
>>
>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>
>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>> checking build system type... x86_64-unknown-linux-gnu
>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether g++ accepts -g... yes
>>> checking how to run the C preprocessor... gcc -E
>>> checking how to run the C++ preprocessor... g++ -E
>>> checking for a sed that does not truncate output... /bin/sed
>>> checking for egrep... grep -E
>>> checking for ld used by gcc... /usr/bin/ld
>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>> checking for gawk... gawk
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether ln -s works... yes
>>> checking for ranlib... ranlib
>>> checking for GNU make... make
>>> checking for egrep... (cached) /bin/grep -E
>>> checking for strip... strip
>>> checking for ar... ar
>>> checking for bison... :
>>> checking for cmp... /usr/bin/cmp
>>> checking for flex... :
>>> checking for grep... (cached) /bin/grep
>>> checking for python... /usr/bin/python
>>> checking for find... /usr/bin/find
>>> checking for compress... :
>>> checking for basename... /usr/bin/basename
>>> checking for dirname... /usr/bin/dirname
>>> checking for sh... /bin/sh
>>> checking for ln... /bin/ln
>>> checking for dot... :
>>> checking for wget... /usr/bin/wget
>>> checking for curl... :
>>> checking for rubber... :
>>> checking for catdvi... :
>>> checking for kpsewhich... :
>>> checking for xmllint... :
>>> checking for xmlstarlet... :
>>> checking for git... /usr/bin/git
>>> checking for ldconfig... /sbin/ldconfig
>>> checking for sha1sum... /usr/bin/sha1sum
>>> checking for openssl... /usr/bin/openssl
>>>  checking for bison that supports parse-param...
>>> checking for soxmix... no
>>> checking for md5... no
>>> checking for md5sum... md5sum
>>> checking for the pthreads library -lpthreads... no
>>> checking whether pthreads work without any flags... no
>>> checking whether pthreads work with -Kthread... no
>>> checking whether pthreads work with -kthread... no
>>> checking for the pthreads library -llthread... no
>>> checking whether pthreads work with -pthread... yes
>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>> checking if more special flags are required for pthreads... no
>>> checking for gawk... (cached) gawk
>>> checking for curl-config... no
>>> checking whether libcurl is usable... no
>>> checking for working alloca.h... yes
>>> checking for alloca... yes
>>> checking for dirent.h that defines DIR... yes
>>> checking for library containing opendir... none required
>>> checking for ANSI C header files... (cached) yes
>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>> checking arpa/inet.h usability... yes
>>> checking arpa/inet.h presence... yes
>>> checking for arpa/inet.h... yes
>>> checking fcntl.h usability... yes
>>> checking fcntl.h presence... yes
>>> checking for fcntl.h... yes
>>> checking for inttypes.h... (cached) yes
>>> checking libintl.h usability... yes
>>> checking libintl.h presence... yes
>>> checking for libintl.h... yes
>>> checking limits.h usability... yes
>>> checking limits.h presence... yes
>>> checking for limits.h... yes
>>> checking locale.h usability... yes
>>> checking locale.h presence... yes
>>> checking for locale.h... yes
>>> checking malloc.h usability... yes
>>> checking malloc.h presence... yes
>>> checking for malloc.h... yes
>>> checking netdb.h usability... yes
>>> checking netdb.h presence... yes
>>> checking for netdb.h... yes
>>> checking netinet/in.h usability... yes
>>> checking netinet/in.h presence... yes
>>> checking for netinet/in.h... yes
>>> checking stddef.h usability... yes
>>> checking stddef.h presence... yes
>>> checking for stddef.h... yes
>>> checking for stdint.h... (cached) yes
>>> checking for stdlib.h... (cached) yes
>>> checking for string.h... (cached) yes
>>> checking for strings.h... (cached) yes
>>> checking sys/event.h usability... no
>>> checking sys/event.h presence... no
>>> checking for sys/event.h... no
>>> checking sys/file.h usability... yes
>>> checking sys/file.h presence... yes
>>> checking for sys/file.h... yes
>>> checking sys/ioctl.h usability... yes
>>> checking sys/ioctl.h presence... yes
>>> checking for sys/ioctl.h... yes
>>> checking sys/param.h usability... yes
>>> checking sys/param.h presence... yes
>>> checking for sys/param.h... yes
>>> checking sys/socket.h usability... yes
>>> checking sys/socket.h presence... yes
>>> checking for sys/socket.h... yes
>>> checking sys/time.h usability... yes
>>> checking sys/time.h presence... yes
>>> checking for sys/time.h... yes
>>> checking syslog.h usability... yes
>>> checking syslog.h presence... yes
>>> checking for syslog.h... yes
>>> checking termios.h usability... yes
>>> checking termios.h presence... yes
>>> checking for termios.h... yes
>>> checking for unistd.h... (cached) yes
>>> checking utime.h usability... yes
>>> checking utime.h presence... yes
>>> checking for utime.h... yes
>>> checking arpa/nameser.h usability... yes
>>> checking arpa/nameser.h presence... yes
>>> checking for arpa/nameser.h... yes
>>> checking sys/io.h usability... yes
>>> checking sys/io.h presence... yes
>>> checking for sys/io.h... yes
>>> checking for tgetent in -ltermcap... no
>>> checking for tgetent in -ltinfo... no
>>> checking for initscr in -lcurses... no
>>> checking for initscr in -lncurses... no
>>> configure: error: *** termcap support not found (on modern systems, this
>>> typically means the ncurses development package is missing)
>>>
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>          -irsD or -c command or -O shopt_option          (invocation
>>> only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> ****
>>> **** The configure script must be executed before running 'make'.
>>> ****               Please run "./configure".
>>> ****
>>> make[1]: *** [makeopts] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>> make: *** [_cleantest_all] Error 2
>>>
>>>
>>>
>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>> so you are performing following steps:
>>>>
>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>
>>>>
>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>
>>>> *and get error?*
>>>>
>>>
>>>
>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you Maxim,
>>>>
>>>> tried without "clean" ...
>>>> getting the same error
>>>>
>>>>
>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> try to skip this step "*sudo make clean*"
>>>>
>>>>
>>>>
>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you Maxim,
>>>>> found it and seems ok...
>>>>>
>>>>> now im trying to  -
>>>>>
>>>>> *Building and setting up Asterisk*
>>>>> ------------------------------
>>>>>
>>>>> Run the commands
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>> cleansudo ./configuresudo make*
>>>>>
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> ****
>>>>> **** The configure script must be executed before running 'make'.
>>>>> ****               Please run "./configure".
>>>>> ****
>>>>> make[1]: *** [makeopts] Error 1
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>> make: *** [_cleantest_all] Error 2
>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>>> try to manually search for linux-headers-2.6.32
>>>>>
>>>>>
>>>>>
>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Hello.
>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>
>>>>>> when -
>>>>>>
>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>> Reading package lists... Done
>>>>>> Building dependency tree
>>>>>> Reading state information... Done
>>>>>>
>>>>>> getting -
>>>>>>
>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>> E: Couldn't find any package by regex
>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>
>>>>>> how can i solve the issue?
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Thank you Maxim,
without samples & config -

there is no problem and i start astriks...ok

question - do i need to uncomment the line with -

;maxexpiry=43200




2014-05-12 14:53 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> The script wrote you please perform:
> make install
>
> And you are running:
> sudo make samples
>
> Why do you need samples?
>
>
> On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you very much for your concern...
>> i found the problem - missing dev pakages..
>> But when sudo make samples getting error as you can see bellow..
>> so -
>> apt-get install ncurses-dev
>> apt-get install libsqlite3-dev
>>
>> and now  - sudo make
>> getting
>> Building Documentation For: channels pbx apps codecs formats cdr cel
>> bridges funcs tests main res addons
>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>  +--------- Asterisk Build Complete ---------+
>>  + Asterisk has successfully been built, and +
>>  + can be installed by running:              +
>>  +                                           +
>>  +                make install               +
>>  +-------------------------------------------+
>>
>> but when -
>>
>> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
>> Installing adsi config files...
>> /usr/bin/install -c -d "/etc/asterisk"
>> Installing configs/asterisk.adsi
>> Installing configs/telcordia-1.adsi
>> Installing other config files...
>> Installing file configs/acl.conf.sample
>> Installing file configs/adsi.conf.sample
>> Installing file configs/agents.conf.sample
>> Installing file configs/alarmreceiver.conf.sample
>> Installing file configs/alsa.conf.sample
>> Installing file configs/amd.conf.sample
>> Installing file configs/app_mysql.conf.sample
>> Installing file configs/app_skel.conf.sample
>> Installing file configs/asterisk.conf.sample
>> Installing file configs/calendar.conf.sample
>> Installing file configs/ccss.conf.sample
>> Installing file configs/cdr.conf.sample
>> Installing file configs/cdr_adaptive_odbc.conf.sample
>> Installing file configs/cdr_custom.conf.sample
>> Installing file configs/cdr_manager.conf.sample
>> Installing file configs/cdr_mysql.conf.sample
>> Installing file configs/cdr_odbc.conf.sample
>> Installing file configs/cdr_pgsql.conf.sample
>> Installing file configs/cdr_sqlite3_custom.conf.sample
>> Installing file configs/cdr_syslog.conf.sample
>> Installing file configs/cdr_tds.conf.sample
>> Installing file configs/cel.conf.sample
>> Installing file configs/cel_custom.conf.sample
>> Installing file configs/cel_odbc.conf.sample
>> Installing file configs/cel_pgsql.conf.sample
>> Installing file configs/cel_sqlite3_custom.conf.sample
>> Installing file configs/cel_tds.conf.sample
>> Installing file configs/chan_dahdi.conf.sample
>> Installing file configs/chan_mobile.conf.sample
>> Installing file configs/cli.conf.sample
>> Installing file configs/cli_aliases.conf.sample
>> Installing file configs/cli_permissions.conf.sample
>> Installing file configs/codecs.conf.sample
>> Installing file configs/confbridge.conf.sample
>> Installing file configs/config_test.conf.sample
>> Installing file configs/console.conf.sample
>> Installing file configs/dbsep.conf.sample
>> Installing file configs/dnsmgr.conf.sample
>> Installing file configs/dsp.conf.sample
>> Installing file configs/dundi.conf.sample
>> Installing file configs/enum.conf.sample
>> Installing file configs/extconfig.conf.sample
>> Installing file configs/extensions.ael.sample
>> Installing file configs/extensions.conf.sample
>> Installing file configs/extensions.lua.sample
>> Installing file configs/extensions_minivm.conf.sample
>> Installing file configs/features.conf.sample
>> Installing file configs/festival.conf.sample
>> Installing file configs/followme.conf.sample
>> Installing file configs/func_odbc.conf.sample
>> Installing file configs/gtalk.conf.sample
>> Installing file configs/h323.conf.sample
>> Installing file configs/http.conf.sample
>> Installing file configs/iax.conf.sample
>> Installing file configs/iaxprov.conf.sample
>> Installing file configs/indications.conf.sample
>> Installing file configs/jabber.conf.sample
>> Installing file configs/jingle.conf.sample
>> Installing file configs/logger.conf.sample
>> Installing file configs/manager.conf.sample
>> Installing file configs/meetme.conf.sample
>> Installing file configs/mgcp.conf.sample
>> Installing file configs/minivm.conf.sample
>> Installing file configs/misdn.conf.sample
>> Installing file configs/modules.conf.sample
>> Installing file configs/motif.conf.sample
>> Installing file configs/musiconhold.conf.sample
>> Installing file configs/muted.conf.sample
>> Installing file configs/ooh323.conf.sample
>> Installing file configs/osp.conf.sample
>> Installing file configs/oss.conf.sample
>> Installing file configs/phone.conf.sample
>> Installing file configs/phoneprov.conf.sample
>> Installing file configs/queuerules.conf.sample
>> Installing file configs/queues.conf.sample
>> Installing file configs/res_config_mysql.conf.sample
>> Installing file configs/res_config_sqlite.conf.sample
>> Installing file configs/res_config_sqlite3.conf.sample
>> Installing file configs/res_corosync.conf.sample
>> Installing file configs/res_curl.conf.sample
>> Installing file configs/res_fax.conf.sample
>> Installing file configs/res_ldap.conf.sample
>> Installing file configs/res_odbc.conf.sample
>> Installing file configs/res_pgsql.conf.sample
>> Installing file configs/res_pktccops.conf.sample
>> Installing file configs/res_snmp.conf.sample
>> Installing file configs/res_stun_monitor.conf.sample
>> Installing file configs/rtp.conf.sample
>> Installing file configs/say.conf.sample
>> Installing file configs/sip.conf.sample
>> Installing file configs/sip_notify.conf.sample
>> Installing file configs/skinny.conf.sample
>> Installing file configs/sla.conf.sample
>> Installing file configs/smdi.conf.sample
>> Installing file configs/udptl.conf.sample
>> Installing file configs/unistim.conf.sample
>> Installing file configs/users.conf.sample
>> Installing file configs/voicemail.conf.sample
>> Installing file configs/vpb.conf.sample
>> Installing file configs/xmpp.conf.sample
>> if [ "y" = "y" ]; then \
>>                 echo "Updating asterisk.conf" ; \
>>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>>                         -e 's|^astmoddir.*$|astmoddir =>
>> /usr/lib/asterisk/modules|' \
>>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astdbdir.*$|astdbdir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astkeydir.*$|astkeydir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astdatadir.*$|astdatadir =>
>> /var/lib/asterisk|' \
>>                         -e 's|^astagidir.*$|astagidir =>
>> /var/lib/asterisk/agi-bin|' \
>>                         -e 's|^astspooldir.*$|astspooldir =>
>> /var/spool/asterisk|' \
>>                         -e 's|^astrundir.*$|astrundir =>
>> /var/run/asterisk|' \
>>                         -e 's|^astlogdir.*$|astlogdir =>
>> /var/log/asterisk|' \
>>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>>                         "/etc/asterisk/asterisk.conf" >
>> "/etc/asterisk/asterisk.conf.tmp" ; \
>>                 /usr/bin/install -c -m 644
>> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>>         fi ; \
>>         /usr/bin/install -c -d
>> "/var/spool/asterisk/voicemail/default/1234/INBOX"
>> Updating asterisk.conf
>> build_tools/make_sample_voicemail "//var/lib/asterisk"
>> "//var/spool/asterisk"
>> Installing file phoneprov/000000000000-directory.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
>> directory
>> Installing file phoneprov/000000000000-phone.cfg
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
>> directory
>> Installing file phoneprov/000000000000.cfg
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
>> Installing file phoneprov/polycom.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
>> Installing file phoneprov/polycom_line.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
>> Installing file phoneprov/snom-mac.xml
>> /usr/bin/install: cannot create regular file
>> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
>> make: *** [samples] Error 1
>>
>>
>>
>>
>> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>>
>>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>>> checking build system type... x86_64-unknown-linux-gnu
>>> checking host system type... x86_64-unknown-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 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 g++... g++
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether g++ accepts -g... yes
>>> checking how to run the C preprocessor... gcc -E
>>> checking how to run the C++ preprocessor... g++ -E
>>> checking for a sed that does not truncate output... /bin/sed
>>> checking for egrep... grep -E
>>> checking for ld used by gcc... /usr/bin/ld
>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>> checking for gawk... gawk
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether ln -s works... yes
>>> checking for ranlib... ranlib
>>> checking for GNU make... make
>>> checking for egrep... (cached) /bin/grep -E
>>> checking for strip... strip
>>> checking for ar... ar
>>> checking for bison... :
>>> checking for cmp... /usr/bin/cmp
>>> checking for flex... :
>>> checking for grep... (cached) /bin/grep
>>> checking for python... /usr/bin/python
>>> checking for find... /usr/bin/find
>>> checking for compress... :
>>> checking for basename... /usr/bin/basename
>>> checking for dirname... /usr/bin/dirname
>>> checking for sh... /bin/sh
>>> checking for ln... /bin/ln
>>> checking for dot... :
>>> checking for wget... /usr/bin/wget
>>> checking for curl... :
>>> checking for rubber... :
>>> checking for catdvi... :
>>> checking for kpsewhich... :
>>> checking for xmllint... :
>>> checking for xmlstarlet... :
>>> checking for git... /usr/bin/git
>>> checking for ldconfig... /sbin/ldconfig
>>> checking for sha1sum... /usr/bin/sha1sum
>>> checking for openssl... /usr/bin/openssl
>>>  checking for bison that supports parse-param...
>>> checking for soxmix... no
>>> checking for md5... no
>>> checking for md5sum... md5sum
>>> checking for the pthreads library -lpthreads... no
>>> checking whether pthreads work without any flags... no
>>> checking whether pthreads work with -Kthread... no
>>> checking whether pthreads work with -kthread... no
>>> checking for the pthreads library -llthread... no
>>> checking whether pthreads work with -pthread... yes
>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>> checking if more special flags are required for pthreads... no
>>> checking for gawk... (cached) gawk
>>> checking for curl-config... no
>>> checking whether libcurl is usable... no
>>> checking for working alloca.h... yes
>>> checking for alloca... yes
>>> checking for dirent.h that defines DIR... yes
>>> checking for library containing opendir... none required
>>> checking for ANSI C header files... (cached) yes
>>> checking for sys/wait.h that is POSIX.1 compatible... yes
>>> checking arpa/inet.h usability... yes
>>> checking arpa/inet.h presence... yes
>>> checking for arpa/inet.h... yes
>>> checking fcntl.h usability... yes
>>> checking fcntl.h presence... yes
>>> checking for fcntl.h... yes
>>> checking for inttypes.h... (cached) yes
>>> checking libintl.h usability... yes
>>> checking libintl.h presence... yes
>>> checking for libintl.h... yes
>>> checking limits.h usability... yes
>>> checking limits.h presence... yes
>>> checking for limits.h... yes
>>> checking locale.h usability... yes
>>> checking locale.h presence... yes
>>> checking for locale.h... yes
>>> checking malloc.h usability... yes
>>> checking malloc.h presence... yes
>>> checking for malloc.h... yes
>>> checking netdb.h usability... yes
>>> checking netdb.h presence... yes
>>> checking for netdb.h... yes
>>> checking netinet/in.h usability... yes
>>> checking netinet/in.h presence... yes
>>> checking for netinet/in.h... yes
>>> checking stddef.h usability... yes
>>> checking stddef.h presence... yes
>>> checking for stddef.h... yes
>>> checking for stdint.h... (cached) yes
>>> checking for stdlib.h... (cached) yes
>>> checking for string.h... (cached) yes
>>> checking for strings.h... (cached) yes
>>> checking sys/event.h usability... no
>>> checking sys/event.h presence... no
>>> checking for sys/event.h... no
>>> checking sys/file.h usability... yes
>>> checking sys/file.h presence... yes
>>> checking for sys/file.h... yes
>>> checking sys/ioctl.h usability... yes
>>> checking sys/ioctl.h presence... yes
>>> checking for sys/ioctl.h... yes
>>> checking sys/param.h usability... yes
>>> checking sys/param.h presence... yes
>>> checking for sys/param.h... yes
>>> checking sys/socket.h usability... yes
>>> checking sys/socket.h presence... yes
>>> checking for sys/socket.h... yes
>>> checking sys/time.h usability... yes
>>> checking sys/time.h presence... yes
>>> checking for sys/time.h... yes
>>> checking syslog.h usability... yes
>>> checking syslog.h presence... yes
>>> checking for syslog.h... yes
>>> checking termios.h usability... yes
>>> checking termios.h presence... yes
>>> checking for termios.h... yes
>>> checking for unistd.h... (cached) yes
>>> checking utime.h usability... yes
>>> checking utime.h presence... yes
>>> checking for utime.h... yes
>>> checking arpa/nameser.h usability... yes
>>> checking arpa/nameser.h presence... yes
>>> checking for arpa/nameser.h... yes
>>> checking sys/io.h usability... yes
>>> checking sys/io.h presence... yes
>>> checking for sys/io.h... yes
>>> checking for tgetent in -ltermcap... no
>>> checking for tgetent in -ltinfo... no
>>> checking for initscr in -lcurses... no
>>> checking for initscr in -lncurses... no
>>> configure: error: *** termcap support not found (on modern systems, this
>>> typically means the ncurses development package is missing)
>>>
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>          -irsD or -c command or -O shopt_option          (invocation
>>> only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> /bin/sh: - : invalid option
>>> Usage:  /bin/sh [GNU long option] [option] ...
>>>         /bin/sh [GNU long option] [option] script-file ...
>>> GNU long options:
>>>         --debug
>>>         --debugger
>>>         --dump-po-strings
>>>         --dump-strings
>>>         --help
>>>         --init-file
>>>         --login
>>>         --noediting
>>>         --noprofile
>>>         --norc
>>>         --posix
>>>         --protected
>>>         --rcfile
>>>         --restricted
>>>         --verbose
>>>         --version
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> ****
>>> **** The configure script must be executed before running 'make'.
>>> ****               Please run "./configure".
>>> ****
>>> make[1]: *** [makeopts] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>> make: *** [_cleantest_all] Error 2
>>>
>>>
>>>
>>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>> so you are performing following steps:
>>>>
>>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>>
>>>>
>>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>>
>>>> *and get error?*
>>>>
>>>
>>>
>>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you Maxim,
>>>>
>>>> tried without "clean" ...
>>>> getting the same error
>>>>
>>>>
>>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> try to skip this step "*sudo make clean*"
>>>>
>>>>
>>>>
>>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Thank you Maxim,
>>>>> found it and seems ok...
>>>>>
>>>>> now im trying to  -
>>>>>
>>>>> *Building and setting up Asterisk*
>>>>> ------------------------------
>>>>>
>>>>> Run the commands
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>>> cleansudo ./configuresudo make*
>>>>>
>>>>> Shell options:
>>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>>> only)
>>>>>         -abefhkmnptuvxBCHP or -o option
>>>>> ****
>>>>> **** The configure script must be executed before running 'make'.
>>>>> ****               Please run "./configure".
>>>>> ****
>>>>> make[1]: *** [makeopts] Error 1
>>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>>> make: *** [_cleantest_all] Error 2
>>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>>
>>>>>
>>>>>
>>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>>
>>>>>> try to manually search for linux-headers-2.6.32
>>>>>
>>>>>
>>>>>
>>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>>
>>>>>> Hello.
>>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>>
>>>>>> when -
>>>>>>
>>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname
>>>>>> -r` libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>>> Reading package lists... Done
>>>>>> Building dependency tree
>>>>>> Reading state information... Done
>>>>>>
>>>>>> getting -
>>>>>>
>>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>>> E: Couldn't find any package by regex
>>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>>
>>>>>> how can i solve the issue?
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WBR
>>>>> Maxim aka solomax
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
The script wrote you please perform:
make install

And you are running:
sudo make samples

Why do you need samples?


On Mon, May 12, 2014 at 5:53 PM, Mark Lin <ml...@gmail.com> wrote:

> Thank you very much for your concern...
> i found the problem - missing dev pakages..
> But when sudo make samples getting error as you can see bellow..
> so -
> apt-get install ncurses-dev
> apt-get install libsqlite3-dev
>
> and now  - sudo make
> getting
> Building Documentation For: channels pbx apps codecs formats cdr cel
> bridges funcs tests main res addons
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>  +--------- Asterisk Build Complete ---------+
>  + Asterisk has successfully been built, and +
>  + can be installed by running:              +
>  +                                           +
>  +                make install               +
>  +-------------------------------------------+
>
> but when -
>
> 16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
> Installing adsi config files...
> /usr/bin/install -c -d "/etc/asterisk"
> Installing configs/asterisk.adsi
> Installing configs/telcordia-1.adsi
> Installing other config files...
> Installing file configs/acl.conf.sample
> Installing file configs/adsi.conf.sample
> Installing file configs/agents.conf.sample
> Installing file configs/alarmreceiver.conf.sample
> Installing file configs/alsa.conf.sample
> Installing file configs/amd.conf.sample
> Installing file configs/app_mysql.conf.sample
> Installing file configs/app_skel.conf.sample
> Installing file configs/asterisk.conf.sample
> Installing file configs/calendar.conf.sample
> Installing file configs/ccss.conf.sample
> Installing file configs/cdr.conf.sample
> Installing file configs/cdr_adaptive_odbc.conf.sample
> Installing file configs/cdr_custom.conf.sample
> Installing file configs/cdr_manager.conf.sample
> Installing file configs/cdr_mysql.conf.sample
> Installing file configs/cdr_odbc.conf.sample
> Installing file configs/cdr_pgsql.conf.sample
> Installing file configs/cdr_sqlite3_custom.conf.sample
> Installing file configs/cdr_syslog.conf.sample
> Installing file configs/cdr_tds.conf.sample
> Installing file configs/cel.conf.sample
> Installing file configs/cel_custom.conf.sample
> Installing file configs/cel_odbc.conf.sample
> Installing file configs/cel_pgsql.conf.sample
> Installing file configs/cel_sqlite3_custom.conf.sample
> Installing file configs/cel_tds.conf.sample
> Installing file configs/chan_dahdi.conf.sample
> Installing file configs/chan_mobile.conf.sample
> Installing file configs/cli.conf.sample
> Installing file configs/cli_aliases.conf.sample
> Installing file configs/cli_permissions.conf.sample
> Installing file configs/codecs.conf.sample
> Installing file configs/confbridge.conf.sample
> Installing file configs/config_test.conf.sample
> Installing file configs/console.conf.sample
> Installing file configs/dbsep.conf.sample
> Installing file configs/dnsmgr.conf.sample
> Installing file configs/dsp.conf.sample
> Installing file configs/dundi.conf.sample
> Installing file configs/enum.conf.sample
> Installing file configs/extconfig.conf.sample
> Installing file configs/extensions.ael.sample
> Installing file configs/extensions.conf.sample
> Installing file configs/extensions.lua.sample
> Installing file configs/extensions_minivm.conf.sample
> Installing file configs/features.conf.sample
> Installing file configs/festival.conf.sample
> Installing file configs/followme.conf.sample
> Installing file configs/func_odbc.conf.sample
> Installing file configs/gtalk.conf.sample
> Installing file configs/h323.conf.sample
> Installing file configs/http.conf.sample
> Installing file configs/iax.conf.sample
> Installing file configs/iaxprov.conf.sample
> Installing file configs/indications.conf.sample
> Installing file configs/jabber.conf.sample
> Installing file configs/jingle.conf.sample
> Installing file configs/logger.conf.sample
> Installing file configs/manager.conf.sample
> Installing file configs/meetme.conf.sample
> Installing file configs/mgcp.conf.sample
> Installing file configs/minivm.conf.sample
> Installing file configs/misdn.conf.sample
> Installing file configs/modules.conf.sample
> Installing file configs/motif.conf.sample
> Installing file configs/musiconhold.conf.sample
> Installing file configs/muted.conf.sample
> Installing file configs/ooh323.conf.sample
> Installing file configs/osp.conf.sample
> Installing file configs/oss.conf.sample
> Installing file configs/phone.conf.sample
> Installing file configs/phoneprov.conf.sample
> Installing file configs/queuerules.conf.sample
> Installing file configs/queues.conf.sample
> Installing file configs/res_config_mysql.conf.sample
> Installing file configs/res_config_sqlite.conf.sample
> Installing file configs/res_config_sqlite3.conf.sample
> Installing file configs/res_corosync.conf.sample
> Installing file configs/res_curl.conf.sample
> Installing file configs/res_fax.conf.sample
> Installing file configs/res_ldap.conf.sample
> Installing file configs/res_odbc.conf.sample
> Installing file configs/res_pgsql.conf.sample
> Installing file configs/res_pktccops.conf.sample
> Installing file configs/res_snmp.conf.sample
> Installing file configs/res_stun_monitor.conf.sample
> Installing file configs/rtp.conf.sample
> Installing file configs/say.conf.sample
> Installing file configs/sip.conf.sample
> Installing file configs/sip_notify.conf.sample
> Installing file configs/skinny.conf.sample
> Installing file configs/sla.conf.sample
> Installing file configs/smdi.conf.sample
> Installing file configs/udptl.conf.sample
> Installing file configs/unistim.conf.sample
> Installing file configs/users.conf.sample
> Installing file configs/voicemail.conf.sample
> Installing file configs/vpb.conf.sample
> Installing file configs/xmpp.conf.sample
> if [ "y" = "y" ]; then \
>                 echo "Updating asterisk.conf" ; \
>                 sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
>                         -e 's|^astmoddir.*$|astmoddir =>
> /usr/lib/asterisk/modules|' \
>                         -e 's|^astvarlibdir.*$|astvarlibdir =>
> /var/lib/asterisk|' \
>                         -e 's|^astdbdir.*$|astdbdir => /var/lib/asterisk|'
> \
>                         -e 's|^astkeydir.*$|astkeydir =>
> /var/lib/asterisk|' \
>                         -e 's|^astdatadir.*$|astdatadir =>
> /var/lib/asterisk|' \
>                         -e 's|^astagidir.*$|astagidir =>
> /var/lib/asterisk/agi-bin|' \
>                         -e 's|^astspooldir.*$|astspooldir =>
> /var/spool/asterisk|' \
>                         -e 's|^astrundir.*$|astrundir =>
> /var/run/asterisk|' \
>                         -e 's|^astlogdir.*$|astlogdir =>
> /var/log/asterisk|' \
>                         -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
>                         "/etc/asterisk/asterisk.conf" >
> "/etc/asterisk/asterisk.conf.tmp" ; \
>                 /usr/bin/install -c -m 644
> "/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
>                 rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
>         fi ; \
>         /usr/bin/install -c -d
> "/var/spool/asterisk/voicemail/default/1234/INBOX"
> Updating asterisk.conf
> build_tools/make_sample_voicemail "//var/lib/asterisk"
> "//var/spool/asterisk"
> Installing file phoneprov/000000000000-directory.xml
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
> directory
> Installing file phoneprov/000000000000-phone.cfg
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
> directory
> Installing file phoneprov/000000000000.cfg
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
> Installing file phoneprov/polycom.xml
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
> Installing file phoneprov/polycom_line.xml
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
> Installing file phoneprov/snom-mac.xml
> /usr/bin/install: cannot create regular file
> `/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
> make: *** [samples] Error 1
>
>
>
>
> 2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:
>
>> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-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 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 g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking how to run the C preprocessor... gcc -E
>> checking how to run the C++ preprocessor... g++ -E
>> checking for a sed that does not truncate output... /bin/sed
>> checking for egrep... grep -E
>> checking for ld used by gcc... /usr/bin/ld
>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>> checking for gawk... gawk
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether ln -s works... yes
>> checking for ranlib... ranlib
>> checking for GNU make... make
>> checking for egrep... (cached) /bin/grep -E
>> checking for strip... strip
>> checking for ar... ar
>> checking for bison... :
>> checking for cmp... /usr/bin/cmp
>> checking for flex... :
>> checking for grep... (cached) /bin/grep
>> checking for python... /usr/bin/python
>> checking for find... /usr/bin/find
>> checking for compress... :
>> checking for basename... /usr/bin/basename
>> checking for dirname... /usr/bin/dirname
>> checking for sh... /bin/sh
>> checking for ln... /bin/ln
>> checking for dot... :
>> checking for wget... /usr/bin/wget
>> checking for curl... :
>> checking for rubber... :
>> checking for catdvi... :
>> checking for kpsewhich... :
>> checking for xmllint... :
>> checking for xmlstarlet... :
>> checking for git... /usr/bin/git
>> checking for ldconfig... /sbin/ldconfig
>> checking for sha1sum... /usr/bin/sha1sum
>> checking for openssl... /usr/bin/openssl
>>  checking for bison that supports parse-param...
>> checking for soxmix... no
>> checking for md5... no
>> checking for md5sum... md5sum
>> checking for the pthreads library -lpthreads... no
>> checking whether pthreads work without any flags... no
>> checking whether pthreads work with -Kthread... no
>> checking whether pthreads work with -kthread... no
>> checking for the pthreads library -llthread... no
>> checking whether pthreads work with -pthread... yes
>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>> checking if more special flags are required for pthreads... no
>> checking for gawk... (cached) gawk
>> checking for curl-config... no
>> checking whether libcurl is usable... no
>> checking for working alloca.h... yes
>> checking for alloca... yes
>> checking for dirent.h that defines DIR... yes
>> checking for library containing opendir... none required
>> checking for ANSI C header files... (cached) yes
>> checking for sys/wait.h that is POSIX.1 compatible... yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking fcntl.h usability... yes
>> checking fcntl.h presence... yes
>> checking for fcntl.h... yes
>> checking for inttypes.h... (cached) yes
>> checking libintl.h usability... yes
>> checking libintl.h presence... yes
>> checking for libintl.h... yes
>> checking limits.h usability... yes
>> checking limits.h presence... yes
>> checking for limits.h... yes
>> checking locale.h usability... yes
>> checking locale.h presence... yes
>> checking for locale.h... yes
>> checking malloc.h usability... yes
>> checking malloc.h presence... yes
>> checking for malloc.h... yes
>> checking netdb.h usability... yes
>> checking netdb.h presence... yes
>> checking for netdb.h... yes
>> checking netinet/in.h usability... yes
>> checking netinet/in.h presence... yes
>> checking for netinet/in.h... yes
>> checking stddef.h usability... yes
>> checking stddef.h presence... yes
>> checking for stddef.h... yes
>> checking for stdint.h... (cached) yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking for strings.h... (cached) yes
>> checking sys/event.h usability... no
>> checking sys/event.h presence... no
>> checking for sys/event.h... no
>> checking sys/file.h usability... yes
>> checking sys/file.h presence... yes
>> checking for sys/file.h... yes
>> checking sys/ioctl.h usability... yes
>> checking sys/ioctl.h presence... yes
>> checking for sys/ioctl.h... yes
>> checking sys/param.h usability... yes
>> checking sys/param.h presence... yes
>> checking for sys/param.h... yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> checking syslog.h usability... yes
>> checking syslog.h presence... yes
>> checking for syslog.h... yes
>> checking termios.h usability... yes
>> checking termios.h presence... yes
>> checking for termios.h... yes
>> checking for unistd.h... (cached) yes
>> checking utime.h usability... yes
>> checking utime.h presence... yes
>> checking for utime.h... yes
>> checking arpa/nameser.h usability... yes
>> checking arpa/nameser.h presence... yes
>> checking for arpa/nameser.h... yes
>> checking sys/io.h usability... yes
>> checking sys/io.h presence... yes
>> checking for sys/io.h... yes
>> checking for tgetent in -ltermcap... no
>> checking for tgetent in -ltinfo... no
>> checking for initscr in -lcurses... no
>> checking for initscr in -lncurses... no
>> configure: error: *** termcap support not found (on modern systems, this
>> typically means the ncurses development package is missing)
>>
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>          -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> /bin/sh: - : invalid option
>> Usage:  /bin/sh [GNU long option] [option] ...
>>         /bin/sh [GNU long option] [option] script-file ...
>> GNU long options:
>>         --debug
>>         --debugger
>>         --dump-po-strings
>>         --dump-strings
>>         --help
>>         --init-file
>>         --login
>>         --noediting
>>         --noprofile
>>         --norc
>>         --posix
>>         --protected
>>         --rcfile
>>         --restricted
>>         --verbose
>>         --version
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> ****
>> **** The configure script must be executed before running 'make'.
>> ****               Please run "./configure".
>> ****
>> make[1]: *** [makeopts] Error 1
>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>> make: *** [_cleantest_all] Error 2
>>
>>
>>
>> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>> so you are performing following steps:
>>>
>>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>>
>>>
>>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>>
>>> *and get error?*
>>>
>>
>>
>> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>>
>>> tried without "clean" ...
>>> getting the same error
>>>
>>>
>>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> try to skip this step "*sudo make clean*"
>>>
>>>
>>>
>>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Thank you Maxim,
>>>> found it and seems ok...
>>>>
>>>> now im trying to  -
>>>>
>>>> *Building and setting up Asterisk*
>>>> ------------------------------
>>>>
>>>> Run the commands
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>>> cleansudo ./configuresudo make*
>>>>
>>>> Shell options:
>>>>         -irsD or -c command or -O shopt_option          (invocation
>>>> only)
>>>>         -abefhkmnptuvxBCHP or -o option
>>>> ****
>>>> **** The configure script must be executed before running 'make'.
>>>> ****               Please run "./configure".
>>>> ****
>>>> make[1]: *** [makeopts] Error 1
>>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>>> make: *** [_cleantest_all] Error 2
>>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>>
>>>>
>>>>
>>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>>
>>>>> try to manually search for linux-headers-2.6.32
>>>>
>>>>
>>>>
>>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>>
>>>>> Hello.
>>>>> Trying to set *SIP-Transport Integration* according to -
>>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>>
>>>>> when -
>>>>>
>>>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>>
>>>>> getting -
>>>>>
>>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>>> E: Couldn't find any package by regex
>>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>>
>>>>> how can i solve the issue?
>>>>>
>>>>> Thank you
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>


-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Thank you very much for your concern...
i found the problem - missing dev pakages..
But when sudo make samples getting error as you can see bellow..
so -
apt-get install ncurses-dev
apt-get install libsqlite3-dev

and now  - sudo make
getting
Building Documentation For: channels pbx apps codecs formats cdr cel
bridges funcs tests main res addons
make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
 +--------- Asterisk Build Complete ---------+
 + Asterisk has successfully been built, and +
 + can be installed by running:              +
 +                                           +
 +                make install               +
 +-------------------------------------------+

but when -

16121:/usr/src/asterisk/asterisk-11.2.1# sudo make samples
Installing adsi config files...
/usr/bin/install -c -d "/etc/asterisk"
Installing configs/asterisk.adsi
Installing configs/telcordia-1.adsi
Installing other config files...
Installing file configs/acl.conf.sample
Installing file configs/adsi.conf.sample
Installing file configs/agents.conf.sample
Installing file configs/alarmreceiver.conf.sample
Installing file configs/alsa.conf.sample
Installing file configs/amd.conf.sample
Installing file configs/app_mysql.conf.sample
Installing file configs/app_skel.conf.sample
Installing file configs/asterisk.conf.sample
Installing file configs/calendar.conf.sample
Installing file configs/ccss.conf.sample
Installing file configs/cdr.conf.sample
Installing file configs/cdr_adaptive_odbc.conf.sample
Installing file configs/cdr_custom.conf.sample
Installing file configs/cdr_manager.conf.sample
Installing file configs/cdr_mysql.conf.sample
Installing file configs/cdr_odbc.conf.sample
Installing file configs/cdr_pgsql.conf.sample
Installing file configs/cdr_sqlite3_custom.conf.sample
Installing file configs/cdr_syslog.conf.sample
Installing file configs/cdr_tds.conf.sample
Installing file configs/cel.conf.sample
Installing file configs/cel_custom.conf.sample
Installing file configs/cel_odbc.conf.sample
Installing file configs/cel_pgsql.conf.sample
Installing file configs/cel_sqlite3_custom.conf.sample
Installing file configs/cel_tds.conf.sample
Installing file configs/chan_dahdi.conf.sample
Installing file configs/chan_mobile.conf.sample
Installing file configs/cli.conf.sample
Installing file configs/cli_aliases.conf.sample
Installing file configs/cli_permissions.conf.sample
Installing file configs/codecs.conf.sample
Installing file configs/confbridge.conf.sample
Installing file configs/config_test.conf.sample
Installing file configs/console.conf.sample
Installing file configs/dbsep.conf.sample
Installing file configs/dnsmgr.conf.sample
Installing file configs/dsp.conf.sample
Installing file configs/dundi.conf.sample
Installing file configs/enum.conf.sample
Installing file configs/extconfig.conf.sample
Installing file configs/extensions.ael.sample
Installing file configs/extensions.conf.sample
Installing file configs/extensions.lua.sample
Installing file configs/extensions_minivm.conf.sample
Installing file configs/features.conf.sample
Installing file configs/festival.conf.sample
Installing file configs/followme.conf.sample
Installing file configs/func_odbc.conf.sample
Installing file configs/gtalk.conf.sample
Installing file configs/h323.conf.sample
Installing file configs/http.conf.sample
Installing file configs/iax.conf.sample
Installing file configs/iaxprov.conf.sample
Installing file configs/indications.conf.sample
Installing file configs/jabber.conf.sample
Installing file configs/jingle.conf.sample
Installing file configs/logger.conf.sample
Installing file configs/manager.conf.sample
Installing file configs/meetme.conf.sample
Installing file configs/mgcp.conf.sample
Installing file configs/minivm.conf.sample
Installing file configs/misdn.conf.sample
Installing file configs/modules.conf.sample
Installing file configs/motif.conf.sample
Installing file configs/musiconhold.conf.sample
Installing file configs/muted.conf.sample
Installing file configs/ooh323.conf.sample
Installing file configs/osp.conf.sample
Installing file configs/oss.conf.sample
Installing file configs/phone.conf.sample
Installing file configs/phoneprov.conf.sample
Installing file configs/queuerules.conf.sample
Installing file configs/queues.conf.sample
Installing file configs/res_config_mysql.conf.sample
Installing file configs/res_config_sqlite.conf.sample
Installing file configs/res_config_sqlite3.conf.sample
Installing file configs/res_corosync.conf.sample
Installing file configs/res_curl.conf.sample
Installing file configs/res_fax.conf.sample
Installing file configs/res_ldap.conf.sample
Installing file configs/res_odbc.conf.sample
Installing file configs/res_pgsql.conf.sample
Installing file configs/res_pktccops.conf.sample
Installing file configs/res_snmp.conf.sample
Installing file configs/res_stun_monitor.conf.sample
Installing file configs/rtp.conf.sample
Installing file configs/say.conf.sample
Installing file configs/sip.conf.sample
Installing file configs/sip_notify.conf.sample
Installing file configs/skinny.conf.sample
Installing file configs/sla.conf.sample
Installing file configs/smdi.conf.sample
Installing file configs/udptl.conf.sample
Installing file configs/unistim.conf.sample
Installing file configs/users.conf.sample
Installing file configs/voicemail.conf.sample
Installing file configs/vpb.conf.sample
Installing file configs/xmpp.conf.sample
if [ "y" = "y" ]; then \
                echo "Updating asterisk.conf" ; \
                sed -e 's|^astetcdir.*$|astetcdir => /etc/asterisk|' \
                        -e 's|^astmoddir.*$|astmoddir =>
/usr/lib/asterisk/modules|' \
                        -e 's|^astvarlibdir.*$|astvarlibdir =>
/var/lib/asterisk|' \
                        -e 's|^astdbdir.*$|astdbdir => /var/lib/asterisk|' \
                        -e 's|^astkeydir.*$|astkeydir =>
/var/lib/asterisk|' \
                        -e 's|^astdatadir.*$|astdatadir =>
/var/lib/asterisk|' \
                        -e 's|^astagidir.*$|astagidir =>
/var/lib/asterisk/agi-bin|' \
                        -e 's|^astspooldir.*$|astspooldir =>
/var/spool/asterisk|' \
                        -e 's|^astrundir.*$|astrundir =>
/var/run/asterisk|' \
                        -e 's|^astlogdir.*$|astlogdir =>
/var/log/asterisk|' \
                        -e 's|^astsbindir.*$|astsbindir => /usr/sbin|' \
                        "/etc/asterisk/asterisk.conf" >
"/etc/asterisk/asterisk.conf.tmp" ; \
                /usr/bin/install -c -m 644
"/etc/asterisk/asterisk.conf.tmp" "/etc/asterisk/asterisk.conf" ; \
                rm -f "/etc/asterisk/asterisk.conf.tmp" ; \
        fi ; \
        /usr/bin/install -c -d
"/var/spool/asterisk/voicemail/default/1234/INBOX"
Updating asterisk.conf
build_tools/make_sample_voicemail "//var/lib/asterisk"
"//var/spool/asterisk"
Installing file phoneprov/000000000000-directory.xml
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or
directory
Installing file phoneprov/000000000000-phone.cfg
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or
directory
Installing file phoneprov/000000000000.cfg
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
Installing file phoneprov/polycom.xml
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
Installing file phoneprov/polycom_line.xml
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
Installing file phoneprov/snom-mac.xml
/usr/bin/install: cannot create regular file
`/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
make: *** [samples] Error 1




2014-05-12 12:30 GMT+02:00 Mark Lin <ml...@gmail.com>:

> -16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-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 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 g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking how to run the C++ preprocessor... g++ -E
> checking for a sed that does not truncate output... /bin/sed
> checking for egrep... grep -E
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for gawk... gawk
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for GNU make... make
> checking for egrep... (cached) /bin/grep -E
> checking for strip... strip
> checking for ar... ar
> checking for bison... :
> checking for cmp... /usr/bin/cmp
> checking for flex... :
> checking for grep... (cached) /bin/grep
> checking for python... /usr/bin/python
> checking for find... /usr/bin/find
> checking for compress... :
> checking for basename... /usr/bin/basename
> checking for dirname... /usr/bin/dirname
> checking for sh... /bin/sh
> checking for ln... /bin/ln
> checking for dot... :
> checking for wget... /usr/bin/wget
> checking for curl... :
> checking for rubber... :
> checking for catdvi... :
> checking for kpsewhich... :
> checking for xmllint... :
> checking for xmlstarlet... :
> checking for git... /usr/bin/git
> checking for ldconfig... /sbin/ldconfig
> checking for sha1sum... /usr/bin/sha1sum
> checking for openssl... /usr/bin/openssl
> checking for bison that supports parse-param...
> checking for soxmix... no
> checking for md5... no
> checking for md5sum... md5sum
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking for gawk... (cached) gawk
> checking for curl-config... no
> checking whether libcurl is usable... no
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for inttypes.h... (cached) yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for stdint.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking for unistd.h... (cached) yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking arpa/nameser.h usability... yes
> checking arpa/nameser.h presence... yes
> checking for arpa/nameser.h... yes
> checking sys/io.h usability... yes
> checking sys/io.h presence... yes
> checking for sys/io.h... yes
> checking for tgetent in -ltermcap... no
> checking for tgetent in -ltinfo... no
> checking for initscr in -lcurses... no
> checking for initscr in -lncurses... no
> configure: error: *** termcap support not found (on modern systems, this
> typically means the ncurses development package is missing)
>
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> /bin/sh: - : invalid option
> Usage:  /bin/sh [GNU long option] [option] ...
>         /bin/sh [GNU long option] [option] script-file ...
> GNU long options:
>         --debug
>         --debugger
>         --dump-po-strings
>         --dump-strings
>         --help
>         --init-file
>         --login
>         --noediting
>         --noprofile
>         --norc
>         --posix
>         --protected
>         --rcfile
>         --restricted
>         --verbose
>         --version
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> ****
> **** The configure script must be executed before running 'make'.
> ****               Please run "./configure".
> ****
> make[1]: *** [makeopts] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
> make: *** [_cleantest_all] Error 2
>
>
>
> 2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
> so you are performing following steps:
>>
>> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>>
>>
>> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>>
>> *and get error?*
>>
>
>
> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>>
>> tried without "clean" ...
>> getting the same error
>>
>>
>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> try to skip this step "*sudo make clean*"
>>
>>
>>
>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> found it and seems ok...
>>>
>>> now im trying to  -
>>>
>>> *Building and setting up Asterisk*
>>> ------------------------------
>>>
>>> Run the commands
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>> cleansudo ./configuresudo make*
>>>
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> ****
>>> **** The configure script must be executed before running 'make'.
>>> ****               Please run "./configure".
>>> ****
>>> make[1]: *** [makeopts] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>> make: *** [_cleantest_all] Error 2
>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>
>>>
>>>
>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> try to manually search for linux-headers-2.6.32
>>>
>>>
>>>
>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Hello.
>>>> Trying to set *SIP-Transport Integration* according to -
>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>
>>>> when -
>>>>
>>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>>
>>>> getting -
>>>>
>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>> E: Couldn't find any package by regex
>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>
>>>> how can i solve the issue?
>>>>
>>>> Thank you
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
-16121:/usr/src/asterisk/asterisk-11.2.1# sudo ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for GNU make... make
checking for egrep... (cached) /bin/grep -E
checking for strip... strip
checking for ar... ar
checking for bison... :
checking for cmp... /usr/bin/cmp
checking for flex... :
checking for grep... (cached) /bin/grep
checking for python... /usr/bin/python
checking for find... /usr/bin/find
checking for compress... :
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for dot... :
checking for wget... /usr/bin/wget
checking for curl... :
checking for rubber... :
checking for catdvi... :
checking for kpsewhich... :
checking for xmllint... :
checking for xmlstarlet... :
checking for git... /usr/bin/git
checking for ldconfig... /sbin/ldconfig
checking for sha1sum... /usr/bin/sha1sum
checking for openssl... /usr/bin/openssl
checking for bison that supports parse-param...
checking for soxmix... no
checking for md5... no
checking for md5sum... md5sum
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for gawk... (cached) gawk
checking for curl-config... no
checking whether libcurl is usable... no
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... no
configure: error: *** termcap support not found (on modern systems, this
typically means the ncurses development package is missing)

        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/sh: - : invalid option
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
****
**** The configure script must be executed before running 'make'.
****               Please run "./configure".
****
make[1]: *** [makeopts] Error 1
make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
make: *** [_cleantest_all] Error 2



2014-05-12 11:12 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> so you are performing following steps:
>
> *sudo tar -xvzf asterisk-11.2.1.tar.gz*
>
>
> *cd ./asterisk-11.2.1 sudo ./configuresudo make*
>
> *and get error?*
>
>
> On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>>
>> tried without "clean" ...
>> getting the same error
>>
>>
>> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> try to skip this step "*sudo make clean*"
>>
>>
>>
>> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Thank you Maxim,
>>> found it and seems ok...
>>>
>>> now im trying to  -
>>>
>>> *Building and setting up Asterisk*
>>> ------------------------------
>>>
>>> Run the commands
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>>> cleansudo ./configuresudo make*
>>>
>>> Shell options:
>>>         -irsD or -c command or -O shopt_option          (invocation only)
>>>         -abefhkmnptuvxBCHP or -o option
>>> ****
>>> **** The configure script must be executed before running 'make'.
>>> ****               Please run "./configure".
>>> ****
>>> make[1]: *** [makeopts] Error 1
>>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>>> make: *** [_cleantest_all] Error 2
>>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>>
>>>
>>>
>>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>>
>>>> try to manually search for linux-headers-2.6.32
>>>
>>>
>>>
>>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>>
>>>> Hello.
>>>> Trying to set *SIP-Transport Integration* according to -
>>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>>
>>>> when -
>>>>
>>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>>
>>>> getting -
>>>>
>>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>>> E: Couldn't find any package by regex
>>>> 'linux-headers-2.6.32-042stab084.14'
>>>>
>>>> how can i solve the issue?
>>>>
>>>> Thank you
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
so you are performing following steps:

*sudo tar -xvzf asterisk-11.2.1.tar.gz*


*cd ./asterisk-11.2.1sudo ./configuresudo make*

*and get error?*


On Mon, May 12, 2014 at 4:07 PM, Mark Lin <ml...@gmail.com> wrote:

> Thank you Maxim,
>
> tried without "clean" ...
> getting the same error
>
>
> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> try to skip this step "*sudo make clean*"
>
>
>
> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>> found it and seems ok...
>>
>> now im trying to  -
>>
>> *Building and setting up Asterisk*
>> ------------------------------
>>
>> Run the commands
>>
>>
>>
>>
>>
>>
>>
>>
>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>> cleansudo ./configuresudo make*
>>
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> ****
>> **** The configure script must be executed before running 'make'.
>> ****               Please run "./configure".
>> ****
>> make[1]: *** [makeopts] Error 1
>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>> make: *** [_cleantest_all] Error 2
>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>
>>
>>
>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> try to manually search for linux-headers-2.6.32
>>
>>
>>
>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Hello.
>>> Trying to set *SIP-Transport Integration* according to -
>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>
>>> when -
>>>
>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>>
>>> getting -
>>>
>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>> E: Couldn't find any package by regex
>>> 'linux-headers-2.6.32-042stab084.14'
>>>
>>> how can i solve the issue?
>>>
>>> Thank you
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Thank you Maxim,

tried without "clean" ...
getting the same error


2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> try to skip this step "*sudo make clean*"
>
>
> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Thank you Maxim,
>> found it and seems ok...
>>
>> now im trying to  -
>>
>> *Building and setting up Asterisk*
>> ------------------------------
>>
>> Run the commands
>>
>>
>>
>>
>>
>>
>>
>>
>> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
>> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
>> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
>> cleansudo ./configuresudo make*
>>
>> Shell options:
>>         -irsD or -c command or -O shopt_option          (invocation only)
>>         -abefhkmnptuvxBCHP or -o option
>> ****
>> **** The configure script must be executed before running 'make'.
>> ****               Please run "./configure".
>> ****
>> make[1]: *** [makeopts] Error 1
>> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
>> make: *** [_cleantest_all] Error 2
>> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>>
>>
>>
>> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>>
>>> try to manually search for linux-headers-2.6.32
>>
>>
>>
>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>>
>>> Hello.
>>> Trying to set *SIP-Transport Integration* according to -
>>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>>
>>> when -
>>>
>>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>>
>>> getting -
>>>
>>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>>> E: Couldn't find any package by regex
>>> 'linux-headers-2.6.32-042stab084.14'
>>>
>>> how can i solve the issue?
>>>
>>> Thank you
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
try to skip this step "*sudo make clean*"


On Sun, May 11, 2014 at 9:51 PM, Mark Lin <ml...@gmail.com> wrote:

> Thank you Maxim,
> found it and seems ok...
>
> now im trying to  -
>
> *Building and setting up Asterisk*
> ------------------------------
>
> Run the commands
>
>
>
>
>
>
>
>
> *sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
> <http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>
> sudo tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make
> cleansudo ./configuresudo make*
>
> Shell options:
>         -irsD or -c command or -O shopt_option          (invocation only)
>         -abefhkmnptuvxBCHP or -o option
> ****
> **** The configure script must be executed before running 'make'.
> ****               Please run "./configure".
> ****
> make[1]: *** [makeopts] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
> make: *** [_cleantest_all] Error 2
> root@server1:/usr/src/asterisk/asterisk-11.2.1#
>
>
>
> 2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:
>
>> try to manually search for linux-headers-2.6.32
>
>
>
> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Hello.
>> Trying to set *SIP-Transport Integration* according to -
>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>
>> when -
>>
>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>>
>> getting -
>>
>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>> E: Couldn't find any package by regex 'linux-headers-2.6.32-042stab084.14'
>>
>> how can i solve the issue?
>>
>> Thank you
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: SIP-Transport Integration

Posted by Mark Lin <ml...@gmail.com>.
Thank you Maxim,
found it and seems ok...

now im trying to  -

*Building and setting up Asterisk*
------------------------------

Run the commands








*sudo mkdir /usr/src/asterisk && cd /usr/src/asterisksudo wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz
<http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.2.1.tar.gz>sudo
tar -xvzf asterisk-11.2.1.tar.gzcd ./asterisk-11.2.1sudo make cleansudo
./configuresudo make*

Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
****
**** The configure script must be executed before running 'make'.
****               Please run "./configure".
****
make[1]: *** [makeopts] Error 1
make[1]: Leaving directory `/usr/src/asterisk/asterisk-11.2.1'
make: *** [_cleantest_all] Error 2
root@server1:/usr/src/asterisk/asterisk-11.2.1#



2014-05-11 14:20 GMT+02:00 Maxim Solodovnik <so...@gmail.com>:

> try to manually search for linux-headers-2.6.32
>
>
> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:
>
>> Hello.
>> Trying to set *SIP-Transport Integration* according to -
>> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>>
>> when -
>>
>> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
>> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>>
>> getting -
>>
>> E: Unable to locate package linux-headers-2.6.32-042stab084.14
>> E: Couldn't find any package by regex 'linux-headers-2.6.32-042stab084.14'
>>
>> how can i solve the issue?
>>
>> Thank you
>>
>
>
>
> --
> WBR
> Maxim aka solomax

Re: SIP-Transport Integration

Posted by Maxim Solodovnik <so...@gmail.com>.
try to manually search for linux-headers-2.6.32


On Sun, May 11, 2014 at 7:12 PM, Mark Lin <ml...@gmail.com> wrote:

> Hello.
> Trying to set *SIP-Transport Integration* according to -
> http://openmeetings.apache.org/red5sip-integration_2.1.html.
>
> when -
>
> t@server1:~# apt-get install build-essential linux-headers-`uname -r`
> libxml2-dev libncurses5-dev libsqlite3-dev sqlite3 openssl libssl-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
> getting -
>
> E: Unable to locate package linux-headers-2.6.32-042stab084.14
> E: Couldn't find any package by regex 'linux-headers-2.6.32-042stab084.14'
>
> how can i solve the issue?
>
> Thank you
>



-- 
WBR
Maxim aka solomax