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 <[email protected]> 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 <[email protected]>: > >> 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 <[email protected]> wrote: > >> Thank you Maxim, >> >> tried without "clean" ... >> getting the same error >> >> >> 2014-05-11 17:01 GMT+02:00 Maxim Solodovnik <[email protected]>: >> >>> try to skip this step "*sudo make clean*" >> >> >> >> On Sun, May 11, 2014 at 9:51 PM, Mark Lin <[email protected]> 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 <[email protected]>: >>> >>>> try to manually search for linux-headers-2.6.32 >>> >>> >>> >>> On Sun, May 11, 2014 at 7:12 PM, Mark Lin <[email protected]> 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
