Hello experts, to avoid any unknown problems with my Linux installation I have now as a last resort method installed SuSE Linux 9.0 a new and have downloaded a fresh copy of Asterisk via CVS. Then I followed the steps of the "Getting started with Asterisk" and compiled successfully zaptel and libpri (as far as I can see). But when I compile asterisk I get an error. I have attached the sysout log below. Any hint and help highly appreciated. What is wrong. Franz ---- the sysout log during "make clean" and "make install" of asterisk ----- linux:/usr/src/asterisk # make clean for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x clean || exit 1 ; done make[1]: Entering directory `/usr/src/asterisk/res' rm -f *.so *.o .depend make[1]: Leaving directory `/usr/src/asterisk/res' make[1]: Entering directory `/usr/src/asterisk/channels' rm -f *.so *.o .depend rm -f busy.h ringtone.h gentone gentone-ulaw make[1]: Leaving directory `/usr/src/asterisk/channels' make[1]: Entering directory `/usr/src/asterisk/pbx' rm -f *.so *.o .depend make[1]: Leaving directory `/usr/src/asterisk/pbx' make[1]: Entering directory `/usr/src/asterisk/apps' rm -f *.so *.o look .depend make[1]: Leaving directory `/usr/src/asterisk/apps' make[1]: Entering directory `/usr/src/asterisk/codecs' rm -f *.so *.o .depend ! [ -d g723.1 ] || make -C g723.1 clean ! [ -d g723.1b ] || make -C g723.1b clean make -C gsm clean make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' rm -f */*.o \ ./tst/lin2cod ./tst/lin2txt \ ./tst/cod2lin ./tst/cod2txt \ ./tst/gsm2cod \ ./tst/*.*.* find . \( -name core -o -name foo \) \ -print | xargs rm -f rm -f ./lib/libgsm.a ./add-test/add \ ./bin/toast ./bin/tcat ./bin/untoast \ ./gsm-1.0.tar.Z make[2]: Leaving directory `/usr/src/asterisk/codecs/gsm' make -C lpc10 clean make[2]: Entering directory `/usr/src/asterisk/codecs/lpc10' rm -f *.o ./liblpc10.a make[2]: Leaving directory `/usr/src/asterisk/codecs/lpc10' make -C ilbc clean make[2]: Entering directory `/usr/src/asterisk/codecs/ilbc' rm -f libilbc.a *.o make[2]: Leaving directory `/usr/src/asterisk/codecs/ilbc' make[1]: Leaving directory `/usr/src/asterisk/codecs' make[1]: Entering directory `/usr/src/asterisk/formats' rm -f *.so *.o .depend make[1]: Leaving directory `/usr/src/asterisk/formats' make[1]: Entering directory `/usr/src/asterisk/agi' rm -f *.so *.o look .depend make[1]: Leaving directory `/usr/src/asterisk/agi' make[1]: Entering directory `/usr/src/asterisk/cdr' rm -f *.so *.o .depend make[1]: Leaving directory `/usr/src/asterisk/cdr' make[1]: Entering directory `/usr/src/asterisk/astman' rm -f *.o astman .depend make[1]: Leaving directory `/usr/src/asterisk/astman' make[1]: Entering directory `/usr/src/asterisk/stdtime' rm -f libtime.a *.o test .depend make[1]: Leaving directory `/usr/src/asterisk/stdtime' rm -f *.o *.so asterisk .depend rm -f build.h rm -f ast_expr.c make -C db1-ast clean make[1]: Entering directory `/usr/src/asterisk/db1-ast' rm -f libdb1.a libdb.so.2 hash.o hash_bigkey.o hash_buf.o hash_func.o hash_log2.o hash_page.o ndbm.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o db.o mpool.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o hash.os hash_bigkey.os hash_buf.os hash_func.os hash_log2.os hash_page.os ndbm.os bt_close.os bt_conv.os bt_debug.os bt_delete.os bt_get.os bt_open.os bt_overflow.os bt_page.os bt_put.os bt_search.os bt_seq.os bt_split.os bt_utils.os db.os mpool.os rec_close.os rec_delete.os rec_get.os rec_open.os rec_put.os rec_search.os rec_seq.os rec_utils.os make[1]: Leaving directory `/usr/src/asterisk/db1-ast' make -C stdtime clean make[1]: Entering directory `/usr/src/asterisk/stdtime' rm -f libtime.a *.o test .depend make[1]: Leaving directory `/usr/src/asterisk/stdtime' linux:/usr/src/asterisk # make install ./mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:14\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP `ls *.c` cli.c:31:19: build.h: No such file or directory dlfcn.c:40:25: mach-o/dyld.h: No such file or directory dlfcn.c:41:26: mach-o/nlist.h: No such file or directory dlfcn.c:42:28: mach-o/getsect.h: No such file or directory for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x depend || exit 1 ; done make[1]: Entering directory `/usr/src/asterisk/res' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC `ls *.c` res_crypto.c:25:25: openssl/ssl.h: No such file or directory res_crypto.c:26:25: openssl/err.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/res' make[1]: Entering directory `/usr/src/asterisk/channels' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC `ls *.c` chan_alsa.c:29:28: alsa/asoundlib.h: No such file or directory chan_alsa.c:30:18: busy.h: No such file or directory chan_alsa.c:31:22: ringtone.h: No such file or directory chan_nbs.c:33:17: nbs.h: No such file or directory chan_oss.c:43:18: busy.h: No such file or directory chan_oss.c:44:22: ringtone.h: No such file or directory chan_vpb.c:34:20: vpbapi.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/channels' make[1]: Entering directory `/usr/src/asterisk/pbx' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -fPIC `ls *.c` pbx_gtkconsole.c:38:21: gtk/gtk.h: No such file or directory pbx_gtkconsole.c:39:18: glib.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/pbx' make[1]: Entering directory `/usr/src/asterisk/apps' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -fPIC `ls *.c` app_sql_postgres.c:30:22: libpq-fe.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/apps' make[1]: Entering directory `/usr/src/asterisk/codecs' Makefile:88: .depend: No such file or directory ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -fPIC `ls *.c` codec_g723_1.c:46:28: g723.1/typedef.h: No such file or directory codec_g723_1.c:47:28: g723.1/cst_lbc.h: No such file or directory codec_g723_1.c:48:26: g723.1/coder.h: No such file or directory codec_g723_1.c:49:26: g723.1/decod.h: No such file or directory codec_g723_1.c:50:28: g723.1/dec_cng.h: No such file or directory codec_g723_1.c:51:28: g723.1/cod_cng.h: No such file or directory codec_g723_1.c:52:24: g723.1/vad.h: No such file or directory codec_speex.c:34:19: speex.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/codecs' make[1]: Entering directory `/usr/src/asterisk/codecs' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/src/asterisk/codecs' make[1]: Entering directory `/usr/src/asterisk/formats' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -fPIC `ls *.c` make[1]: Leaving directory `/usr/src/asterisk/formats' make[1]: Entering directory `/usr/src/asterisk/agi' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP `ls *.c` make[1]: Leaving directory `/usr/src/asterisk/agi' make[1]: Entering directory `/usr/src/asterisk/cdr' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -fPIC `ls *.c` cdr_odbc.c:31:17: sql.h: No such file or directory cdr_odbc.c:32:20: sqlext.h: No such file or directory cdr_odbc.c:33:22: sqltypes.h: No such file or directory cdr_pgsql.c:33:22: libpq-fe.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/cdr' make[1]: Entering directory `/usr/src/asterisk/astman' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -DNO_AST_MM `ls *.c` astman.c:8:18: newt.h: No such file or directory make[1]: Leaving directory `/usr/src/asterisk/astman' make[1]: Entering directory `/usr/src/asterisk/stdtime' ../mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-01/20/04-10:14:17\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP *.c make[1]: Leaving directory `/usr/src/asterisk/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... i686-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 linux:/usr/src/asterisk #
Franz Edler wrote:>Hello experts, > >to avoid any unknown problems with my Linux installation I have now as a >last resort method installed SuSE Linux 9.0 a new and have downloaded a >fresh copy of Asterisk via CVS. > > >IIRC there have been many who have tried and failed to build Asterisk on SuSE.. Have you tried to install it on RH9, I have never had a problem with RH9.. and apparently Fedora Core 1 is also working well.. If you want an RH9 install guide you can look at.. http://members.lycos.co.uk/wipe_out/asterisk Later..
On Tue, 2004-01-20 at 13:27, Franz Edler wrote:> configure: error: termcap support not found > make: *** [editline/libedit.a] Error 1 > linux:/usr/src/asterisk # >Did you actually read the error message and try to understand & solve the problem? The very first answer from google gives you the exact same question and an answer: http://www.google.nl/search?q=site%3Alists.digium.com+configure%3A+error%3A+termcap+support+not+found&ie=UTF-8&oe=UTF-8&hl=nl&btnG=Google+zoeken&lr Hint: install termcap devel package (and all other prerequisite devel packages in case you get more errors). Patrick
> From: Patrick > Sent: Tuesday, January 20, 2004 2:29 PM> Did you actually read the error message and try to understand & solve > the problem?No, being a Linux newbee and under a stress condition, I did not. But meanwhile I did and I installed several additional packages and now the compilation came to an end and brought an executable asterisk code. There were also various warnings during compilation which I generously ignored for this time Thanks for your patience with a stressed newbee.> Patrick > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users