Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/10/2010, à 14:46

discipletrevor

Problème Configuration d'Asterisk sur Ubuntu 10.04 LTS

Salut chers amis,je suis sur rapport qui m'oblige à installer Asterisk et pour se faire j'ai pris des tutos d'installation d'asterisk sur Debian (le cas de lenny)pour cerner les différentes étapes de l'installations mais j'arrive pas à configurer mon serveur asterisk quand je suis à cette étape :

root@Trevor-laptop:/usr/src/asterisk/asterisk-1.6.2.13# ./configure
Il me génère le message ci -après donc je pris de m'aider a avoir le processus d'installation sur la version Ubuntu 10.04 LTS:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 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... /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 strip... strip
checking for ar... ar
checking for sha1sum... sha1sum
checking for bison... :
checking for flex... :
checking for grep... (cached) /bin/grep
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/bash
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 xmlstarlet... :
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/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 winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for utime.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 return type of signal handlers... void
checking whether lstat correctly handles 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 closefrom... no
checking for dup2... yes
checking for eaccess... yes
checking for endpwent... yes
checking for euidaccess... yes
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 glob... yes
checking for ioperm... 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 putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
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 strtod... (cached) yes
checking for strtol... yes
checking for strtold... yes
checking for strtoq... yes
checking for unsetenv... yes
checking for utime... yes
checking for vasprintf... yes
checking for getpeereid... no
checking for sysctl... yes
checking for swapctl... no
checking for sqrt in -lm... yes
checking for exp2l... yes
checking for log2l... yes
checking for exp10l... yes
checking for log10l... yes
checking for sinl... yes
checking for cosl... yes
checking for tanl... yes
checking for asinl... yes
checking for acosl... yes
checking for atanl... yes
checking for atan2l... yes
checking for powl... yes
checking for sqrtl... yes
checking for rintl... yes
checking for expl... yes
checking for logl... yes
checking for remainderl... yes
checking for fmodl... yes
checking for roundl... yes
checking for truncl... yes
checking for floorl... yes
checking for ceill... yes
checking for exp2... yes
checking for log2... yes
checking for exp10... yes
checking for log10... yes
checking for sin... yes
checking for cos... yes
checking for tan... yes
checking for asin... yes
checking for acos... yes
checking for atan... yes
checking for atan2... yes
checking for pow... yes
checking for rint... yes
checking for exp... yes
checking for log... yes
checking for remainder... yes
checking for fmod... yes
checking for round... yes
checking for trunc... yes
checking for floor... yes
checking for ceil... yes
checking for timersub in time.h... yes
checking for sys/poll.h... (cached) yes
checking for funopen... no
checking for fopencookie... yes
checking for inet_aton... yes
checking for IP_PKTINFO... yes
checking for library containing gethostbyname_r... none required
checking for gethostbyname_r with 6 arguments... yes
checking for gethostbyname_r with 5 arguments... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for __swap16 variant of <sys/endian.h> byteswapping macros... no
checking for bswap16 variant of <sys/endian.h> byteswapping macros... no
checking for /dev/urandom... yes
checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes
checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes
checking for pthread_rwlock_timedwrlock() in pthread.h... yes
checking if PTHREAD_ONCE_INIT needs braces... no
checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes
checking whether we can compare a mutex to its initial value... no
checking for compiler atomic operations... yes
checking if your system printf is NULL-safe.... (null)yes
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 compiler 'attribute deprecated' support... yes
checking for compiler 'attribute sentinel' support... yes
checking for compiler 'attribute warn_unused_result' support... yes
checking for compiler 'attribute weak' support... yes
checking for compiler 'attribute weak_import' support... no
checking for compiler 'attribute alias' support... yes
checking for -ffunction-sections support... yes
checking for --gc-sections support... yes
checking for -Wdeclaration-after-statement support... yes
checking for _FORTIFY_SOURCE support... yes
checking for -fno-strict-overflow... yes
checking for -Wshadow... yes
checking for sysinfo... yes
checking for library containing res_9_ninit... no
checking for res_ninit... yes
checking for library containing res_9_ndestroy... no
checking for res_ndestroy... no
checking for IP_MTU_DISCOVER in netinet/in.h... yes
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking size of int... 4
checking for snd_spcm_init in -lasound... no
checking for initscr in -lcurses... no
checking for cap_from_text in -lcap... no
checking for DAHDI_RESET_COUNTERS in dahdi/user.h... yes
checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... yes
checking for enhanced dahdi vmwi support... yes
checking for getifaddrs() support... yes
checking for timerfd support... yes
checking for gsm_create in -lgsm... no
checking for iconv_open in -liconv... no
checking for iconv_close in -lc... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iks_start_sasl in -liksemel... no
checking for UW IMAP Toolkit c-client library... no
checking for system c-client library...... no
checking for SQLConnect in -liodbc... no
checking for inotify_init in -lc... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for jack_activate in -ljack... no
checking for lt_dlinit in -lltdl... no
checking for ldap_initialize in -lldap... no
checking for xml2-config... no
configure: *** XML documentation will not be available because the 'libxml2' development package is missing.
configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option
configure: *** or install the 'libxml2' development package.
root@Trevor-laptop:/usr/src/asterisk/asterisk-1.6.2.13# apt-get install -y libxml2
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
libxml2 est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 4 non mis à jour.
root@Trevor-laptop:/usr/src/asterisk/asterisk-1.6.2.13# apt-get install -y --disable-xmldoc

Dernière modification par slasher-fun (Le 17/10/2010, à 23:33)

Hors ligne

#2 Le 14/10/2010, à 15:53

Merrick

Re : Problème Configuration d'Asterisk sur Ubuntu 10.04 LTS

Il faudrait installer libxml2-dev (en règle générale, quand tu compiles quelque chose à la main et qu'il demande un paquet, c'est le -dev qu'il faut installer)

Hors ligne