Forum Clubic

Installation de kannel - mon serveur de sms

salut a tous et bien je pense qu’il ya des dificultés en vu car je voudrai bien faire fonctioner kannel sur ma machine mai aprés avoir fait les mise à jour requise lorque je lance
tar –zxvf gateway-1.3.2.tar.gz
cd gateway
./configure –with-mysql –with-mysql-dir=/usr/local/mysql

voici ce je reçoit

loading cache ./config.cache

Configuring for Kannel gateway version 1.4.0 …

Running system checks …
checking host system type… i686-pc-linux-gnu
checking for gcc… (cached) gcc
checking whether the C compiler (gcc -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -rdynamic) works… yes
checking whether the C compiler (gcc -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -rdynamic) is a cross-compiler… no
checking whether we are using GNU C… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for a BSD compatible install… (cached) /usr/bin/install -c
checking for ranlib… (cached) ranlib
checking for bison… (cached) bison -y
checking for flex… (cached) flex
checking for yywrap in -lfl… (cached) yes
checking for convert… (cached) /usr/bin/convert
checking for perl… (cached) /usr/bin/perl
checking size of short… (cached) 2
checking size of int… (cached) 4
checking size of long… (cached) 4
checking size of long long… (cached) 8
checking for log in -lm… (cached) yes
checking for accept in -lsocket… (cached) no
checking for inet_ntoa in -lnsl… (cached) yes
checking for inet_ntop in -lresolv… (cached) yes
checking for inet_ntop in -lbind… (cached) no
checking for pthread_exit in -lpthread… (cached) yes
checking for libiconv in -liconv… (cached) no
checking how to run the C preprocessor… (cached) gcc -E
checking for ANSI C header files… (cached) yes
checking for sys/ioctl.h… (cached) yes
checking for sys/time.h… (cached) yes
checking for sys/types.h… (cached) yes
checking for unistd.h… (cached) yes
checking for sys/poll.h… (cached) yes
checking for pthread.h… (cached) yes
checking for getopt.h… (cached) yes
checking for syslog.h… (cached) yes
checking for iconv.h… (cached) yes
checking for zlib.h… (cached) yes
checking for execinfo.h… (cached) yes
checking for stdlib.h… (cached) yes
checking for sys/socket.h… (cached) yes
checking for sys/sockio.h… (cached) no
checking for net/if.h… (cached) yes
checking for netinet/in.h… (cached) yes
checking for gettimeofday… (cached) yes
checking for select… (cached) yes
checking for socket… (cached) yes
checking for strdup… (cached) yes
checking for getopt_long… (cached) yes
checking for localtime_r… (cached) yes
checking for gmtime_r… (cached) yes
checking for backtrace… (cached) yes
checking for srandom… (cached) yes
checking for getopt… (cached) yes
checking for gethostbyname_r… (cached) yes
checking for which type of gethostbyname_r… (cached) 6
checking for socklen_t in <sys/socket.h>… (cached) yes
checking for getopt in <stdio.h>… (cached) no
checking for getopt in <unistd.h>… (cached) yes
checking for regex.h… (cached) yes
checking for regcomp… (cached) yes

Checking for POSIX threads support …
checking for working pthreads… yes
checking for pthread_spinlock support… yes
checking for pthread_rwlock support… yes
checking for sem_init in -lrt… (cached) yes
checking for semaphore support… yes

Checking for libxml2 support …
checking for xml2-config… (cached) /usr/bin/xml2-config
checking libxml version… 2.5.4

Configuring for PCRE support …
checking whether to compile with PCRE support… disabled

Configuring DocBook support …
checking for jade… (cached) jade
checking for jadetex… (cached) jadetex
checking for pdfjadetex… (cached) pdfjadetex
checking for dvips… (cached) dvips
checking for fig2dev… (cached) fig2dev
checking for convert… (cached) /usr/bin/convert
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl… (cached) no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl… (cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl…
(cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl…
(cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl… (cached) yes
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl…
(cached) no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl… (cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl… (cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl… (cached) no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl… (cached) yes
Documentation will be built as well.

Configuring parameters …
checking which malloc to use… native malloc
enabling local time
enabling cookies

Configuring OpenSSL support …
checking whether to compile with SSL support… trying /usr/lib /usr/include/openssl
checking for openssl… (cached) /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto… (cached) yes
checking for SSL_library_init in -lssl… (cached) yes
checking for SSL_connect in -lssl… (cached) yes
checking for openssl/x509.h… (cached) yes
checking for openssl/rsa.h… (cached) yes
checking for openssl/crypto.h… (cached) yes
checking for openssl/pem.h… (cached) yes
checking for openssl/ssl.h… (cached) no
checking for openssl/err.h… (cached) yes
checking whether the OpenSSL library is multithread-enabled… yes
checking whether to compile with SSL support… yes

Configuring DB support …
checking whether to compile with MySQL support… searching
checking for mysql_config… /usr/bin/mysql_config
checking mysql version… 3.23.54
checking mysql libs… -L’/usr/lib/mysql’ -lmysqlclient -lz -lcrypt -lnsl -lm
checking for mysql_init in -lmysqlclient… no
configure: error: Unable to find MySQL client libraries

je ne sai pa ce que je doit faire pour specifier le chemin vers les libraries mysql clientes .quelqun peut il m’aider c’est assez urgent
Merci d’avance

Tu dois installer les paquets MySQL--devel- avec les headers de Mysql.

Il s’installeront dans /usr/include/mysql probablement, mais le ./configure sera capable de le détecter.

escuse moi pour mon ignorance mai qu’est ce ce tu veut dire lorque tu parle des headers?

Headers : les entêtes de programmation en C, les définition des fonctions.

En programmation on distingue la définition de la fonction, c’est à dire ce qu’elle prend en entrée et ce qu’elle retourne en sortie, de la fonction elle même, qui est le code qui s’exécute. Ce n’est pas toujours utile de le distinguer, mais ca l’est particulièrement quand un programme X veut utiliser une bibliothèque Y qui existe déjà, par exemple. Dans ce cas le prgrammeur s’appuie sur ces définitions pour utiliser correctement la bibliothèque; et souvent les compilateurs ont besoin de ces définitions pour vérifier que l’usage des fonctions est correctement fait.

En langage C et C++, les définition des fonctions des fonctions sont obligatoires et sont habituellement stockées dans des fichiers "headers" (en-tête) ou .h

Quand tu développes (compile) une applications, en utilisant des composants qui existes déjà, tu tu installes ces en-têtes. Sous linux, ce sont habituellement les paquets nommés "-devel-" qui fournissent ces fichiers.

Une fois la compilation terminée, ces fichiers ne servent plus

Je ne sais pas si je suis assez clair?

pour être clair tu l’a été mais s’il sagit simplement d’installer le paquetage mysql-devel-** c’est deja fait et je pense que la ne se trouve pas le probleme dans la mesure ou je vient de faire une mise a jour de celui ci et le probléme démeure
merci pour ta patience