** installing asterisk on Suse 9.2

Hi,

I have been trying to install Astrisk on Linux box, SUSE 9.2
I have downloaded asterisk-1.4.7.1
extracted all OK !

but I’m getting some errors that won’t let me complete “make install”

then I use ./config
and the text below is what i get

Please advice what to do.

champ@linux:~/asterisk-1.4.7.1> ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for AIX… no
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for uname… /bin/uname
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking for g++… 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… /usr/bin/sed
checking for egrep… grep -E
checking for ld used by gcc… /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/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 strip… /usr/bin/strip
checking for ar… /usr/bin/ar
checking for grep… (cached) /usr/bin/grep
checking for find… /usr/bin/find
checking for compress… :
checking for basename… /usr/bin/basename
checking for id… /usr/bin/id
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 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 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/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 for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking for stdbool.h that conforms to C99… yes
checking for _Bool… yes
checking for an ANSI C-conforming const… yes
checking for uid_t in sys/types.h… yes
checking for inline… inline
checking for mode_t… yes
checking for off_t… yes
checking for pid_t… yes
checking for size_t… yes
checking for struct stat.st_blksize… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking for working volatile… yes
checking for ptrdiff_t… yes
checking for unistd.h… (cached) yes
checking for working chown… yes
checking whether closedir returns void… no
checking for error_at_line… yes
checking vfork.h usability… no
checking vfork.h presence… no
checking for vfork.h… no
checking for fork… yes
checking for vfork… yes
checking for working fork… yes
checking for working vfork… (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files… no
checking whether gcc needs -traditional… no
checking for working memcmp… yes
checking for sys/time.h… (cached) yes
checking for unistd.h… (cached) yes
checking for utime.h… (cached) yes
checking for alarm… yes
checking for working mktime… no
checking for stdlib.h… (cached) yes
checking for unistd.h… (cached) yes
checking for getpagesize… yes
checking for working mmap… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/socket.h… (cached) yes
checking types of arguments for select… int,fd_set ,struct timeval *
checking for function prototypes… yes
checking whether setvbuf arguments are reversed… no
checking return type of signal handlers… void
checking whether lstat dereferences a symlink specified with a trailing slash… yes
checking whether stat accepts an empty string… no
checking for working strcoll… yes
checking for strftime… yes
checking for working strnlen… yes
checking for working strtod… yes
checking whether utime accepts a null argument… yes
checking for vprintf… yes
checking for _doprnt… no
checking for asprintf… yes
checking for atexit… yes
checking for bzero… yes
checking for dup2… yes
checking for endpwent… yes
checking for floor… no
checking for ftruncate… yes
checking for getcwd… yes
checking for gethostbyname… yes
checking for gethostname… yes
checking for getloadavg… yes
checking for gettimeofday… yes
checking for inet_ntoa… yes
checking for isascii… yes
checking for localtime_r… yes
checking for memchr… yes
checking for memmove… yes
checking for memset… yes
checking for mkdir… yes
checking for munmap… yes
checking for pow… no
checking for putenv… yes
checking for re_comp… yes
checking for regcomp… yes
checking for rint… no
checking for select… yes
checking for setenv… yes
checking for socket… yes
checking for sqrt… no
checking for strcasecmp… yes
checking for strcasestr… yes
checking for strchr… yes
checking for strcspn… yes
checking for strdup… yes
checking for strerror… yes
checking for strlcat… no
checking for strlcpy… no
checking for strncasecmp… yes
checking for strndup… yes
checking for strnlen… yes
checking for strrchr… yes
checking for strsep… yes
checking for strspn… yes
checking for strstr… yes
checking for strtol… yes
checking for strtoq… yes
checking for unsetenv… yes
checking for utime… yes
checking for vasprintf… yes
checking for gethostbyname_r… yes
checking for PTHREAD_RWLOCK_INITIALIZER… yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP… yes
checking for compiler atomic operations… no
checking for compiler ‘attribute pure’ support… yes
checking for compiler ‘attribute malloc’ support… yes
checking for compiler ‘attribute const’ support… yes
checking for compiler ‘attribute unused’ support… yes
checking for compiler ‘attribute always_inline’ support… yes
checking for -ffunction-sections support… yes
checking for --gc-sections support… yes
checking for -Wdeclaration-after-statement support… no
checking for res_ninit… yes
checking for RTLD_NOLOAD… yes
checking for IP_MTU_DISCOVER… yes
checking libkern/OSAtomic.h usability… no
checking libkern/OSAtomic.h presence… no
checking for libkern/OSAtomic.h… no
checking for int… yes
checking size of int… 4
checking for snd_spcm_init in -lasound… yes
checking alsa/asoundlib.h usability… no
checking alsa/asoundlib.h presence… no
checking for alsa/asoundlib.h… no
checking for initscr in -lcurses… no
checking for gsm_create in -lgsm… no
checking for iks_start_sasl in -liksemel… no
checking for UW IMAP Toolkit c-client library… no
checking for lt_dlinit in -lltdl… yes
checking ltdl.h usability… yes
checking ltdl.h presence… yes
checking for ltdl.h… yes
checking for crashHandler in -lkdecore… no
checking for mISDN_open in -lmISDN… no
checking for nbs_connect in -lnbs… no
checking for initscr in -lncurses… no
checking for net-snmp-config… /usr/bin/net-snmp-config
checking for snmp_register_callback in -lnetsnmp… no
checking for newtBell in -lnewt… no
checking for SQLConnect in -lodbc… yes
checking sql.h usability… no
checking sql.h presence… no
checking for sql.h… no
checking for ogg_sync_init in -logg… no
checking linux/soundcard.h usability… yes
checking linux/soundcard.h presence… yes
checking for linux/soundcard.h… yes
checking for pg_config… no
checking for poptStrerror in -lpopt… no
checking for pri_keypad_facility in -lpri… no
checking /home/Champ/pwlib/include/ptlib.h usability… no
checking /home/Champ/pwlib/include/ptlib.h presence… no
checking for /home/Champ/pwlib/include/ptlib.h… no
checking /usr/local/include/ptlib.h usability… no
checking /usr/local/include/ptlib.h presence… no
checking for /usr/local/include/ptlib.h… no
checking /usr/include/ptlib.h usability… no
checking /usr/include/ptlib.h presence… no
checking for /usr/include/ptlib.h… no
checking for QDate in -lqt… no
checking for rc_read_config in -lradiusclient-ng… no
checking for speex_encode in -lspeex… no
checking for sqlite_exec in -lsqlite… no
checking for ssl2_connect in -lssl… no
checking for tds_version in -ltds… no
checking for tgetent in -ltermcap… no
checking for tgetent in -ltinfo… no
checking for tone_zone_find in -ltonezone… no
checking for vorbis_info_init in -lvorbis… no
checking for vpb_open in -lvpb… no
checking for compress in -lz… no
checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h… no
configure: error: *** termcap support not found
champ@linux:~/asterisk-1.4.7.1> make clean; make install
rm -f .o astman smsq stereorize streamplayer aelparse muted check_expr
rm -f .
.o.d .
.oo.d
rm -f md5.c strcompat.c ast_expr2.c ast_expr2f.c pbx_ael.c
rm -f aelparse.c aelbison.c
rm -f .so .o look eagi-test eagi-sphinx-test
rm -f .
.o.d .
.oo.d
rm -f strcompat.c
rm -f .so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f snmp/
.o
rm -f *.so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f busy.h ringtone.h gentone
make -C misdn clean
rm -rf *.a .o .so portinfo
rm -f .so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f ael/
.o
rm -f .so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f .so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
make -C gsm clean
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
rm -rf lib
rm -f .
.d
make -C lpc10 clean
rm -f .o ./liblpc10.a ..d
make -C ilbc clean
rm -f libilbc.a .o ..d
rm -f *.so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f *.so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f *.so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f .so .o .oo
rm -f .
.o.d .
.oo.d
rm -f modules.link
rm -f asterisk
rm -f db1-ast/.
.d
rm -f libdb1.a libdb.so.2 hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o hash/hash.os hash/hash_bigkey.os hash/hash_buf.os hash/hash_func.os hash/hash_log2.os hash/hash_page.os hash/ndbm.os btree/bt_close.os btree/bt_conv.os btree/bt_debug.os btree/bt_delete.os btree/bt_get.os btree/bt_open.os btree/bt_overflow.os btree/bt_page.os btree/bt_put.os btree/bt_search.os btree/bt_seq.os btree/bt_split.os btree/bt_utils.os db/db.os mpool/mpool.os recno/rec_close.os recno/rec_delete.os recno/rec_get.os recno/rec_open.os recno/rec_put.os recno/rec_search.os recno/rec_seq.os recno/rec_utils.os
rm -f .depend
rm -f libtime.a *.o test
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f include/asterisk/version.h
make[1]: Entering directory /home/Champ/asterisk-1.4.7.1/menuselect' rm -f menuselect gmenuselect *.o make[1]: Leaving directory/home/Champ/asterisk-1.4.7.1/menuselect’
cp -f .cleancount .lastclean


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


make: *** [makeopts] Error 1
champ@linux:~/asterisk-1.4.7.1> su

When you run the “configure” script it tells you the termcap library is missing, install it and then run “configure” again, if there are no errors you can go on.

Bye.

I’m new at this so could you please tell me where would i be able to find “termcap library”

Thanks

Just use Yast2 to install the termcap package.

Bye.

Any particular reason why you’re using such an old version of suse?

open suse is so much newer

i had SUSE 9.2 on dvd from a few years back so i used that.
I have downloaed AsteriskNOW. is it any good, how easy is it?