[Asterisk-Users] Re: 1.2.1 Compile Error
Peder at NetworkOblivion
peder at networkoblivion.com
Wed Dec 14 12:50:34 MST 2005
Oops, my bad. 5 minutes after I sent it, I realized I was missing
ncurses-devel.
Peder @ NetworkOblivion wrote:
> I'm trying to compile 1.2.1 for the first time and I am getting a
> compile error that I can't figure out. I've compiled 1.0.x many times
> without this issue, although it has been on different boxes. The error
> is "configure: error: termcap support not found", which is odd because
> when I do a "rpm -qa", termcap and libtermcap are both there. Any
> ideas? Below is the output of the make and the rpm. I'm using Trustix
> linux, which is the same version I've used on all of my other installs.
> Thanks.
>
>
> root at Astertest /usr/src/asterisk/asterisk-1.2.1# make
> build_tools/make_version_h > include/asterisk/version.h.tmp
> if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ;
> then echo; else \
> mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
> fi
>
> rm -f include/asterisk/version.h.tmp
> if cmp -s .cleancount .lastclean ; then echo ; else \
> make clean; cp -f .cleancount .lastclean;\
> fi
>
> build_tools/make_defaults_h > defaults.h.tmp
> if cmp -s defaults.h.tmp defaults.h ; then echo ; else \
> mv defaults.h.tmp defaults.h ; \
> fi
>
> rm -f defaults.h.tmp
> for x in res channels pbx apps codecs formats agi cdr funcs utils
> stdtime; do make -C $x depend || exit 1 ; done
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/res'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/res'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/channels'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/channels'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/pbx'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/pbx'
> /bin/sh: line 1: curl-config: command not found
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/apps'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/apps'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/codecs'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/codecs'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/formats'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/formats'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/agi'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/agi'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/cdr'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/cdr'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/funcs'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/funcs'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/utils'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/utils'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2.1/stdtime'
> make[1]: Nothing to be done for `depend'.
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2.1/stdtime'
> cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking host system type... i586-pc-linux-gnu
> checking for a BSD compatible install... install
> checking for ranlib... ranlib
> checking for ar... /usr/bin/ar
> checking for tgetent in -ltermcap... no
> checking for tgetent in -ltinfo... no
> checking for tgetent in -lcurses... no
> checking for tgetent in -lncurses... no
> configure: error: termcap support not found
> make: *** [editline/libedit.a] Error 1
> root at Astertest /usr/src/asterisk/asterisk-1.2.1#
> root at Astertest /usr/src/asterisk/asterisk-1.2.1#
>
>
> root at Astertest /usr/src/asterisk/asterisk-1.2.1# rpm -qa | grep termcap
> libtermcap-2.0.8-27tr
> termcap-11.0.1-7tr
> root at Astertest /usr/src/asterisk/asterisk-1.2.1#
>
--
Network stuff you didn't know....
http://www.networkoblivion.com
More information about the asterisk-users
mailing list