Ok, i see the problem. I can not install it correctly after compiling kannel.
*Step 1 : * smpptest:/usr/local/include/kannel# ./configure --with-mysql --with-mysql-dir=/usr/local/mysql -enable-ssl --enable-localtime --enable-mutex-stats --enable-start-stop-daemon (....) License information ... +--------------------------------------------------------------------+ | License: | | This software is subject to the Kannel Software License, available | | in this distribution in the file LICENSE. By continuing this | | installation process, you are bound by the terms of this license | | agreement. If you do not agree with the terms of this license, you | | must abort the installation process at this point. | | | | The Kannel Group <http://www.kannel.org/> | +--------------------------------------------------------------------+ Thank you for using Kannel. smpptest:/usr/local/include/kannel# *Step 2 : * smpptest:/usr/local/include/kannel# make (...) gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -rdynamic -o checks/check_octstr checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lcrypto -lssl ./utils/foobar-config.sh "-I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl" \ "-L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib -lcrypto -lssl " \ "svn-r4838" > gw-config chmod 0755 gw-config smpptest:/usr/local/include/kannel# *OK ?* *Step 3 : * smpptest:/usr/local/include/kannel# make install /usr/bin/install -c -d /usr/local/bin for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch utils/decode_emimsg gw-config; do \ /usr/bin/install -c $prog \ /usr/local/bin/`basename $prog`; \ done test -r /usr/local/bin/gw-config || \ ln -sf gw-config /usr/local/bin/gw-config /usr/bin/install -c -d /usr/local/sbin for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \ /usr/bin/install -c $prog \ /usr/local/sbin/`basename $prog`; \ done /usr/bin/install -c -d /usr/local/share/man/man1 /usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 wmlscript/wmlsdasm.1 /usr/local/share/man/man1 /usr/bin/install -c -d /usr/local/share/man/man8 /usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 /usr/local/share/man/man8 /usr/bin/install -c -d /usr/local/include/kannel/gwlib /usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib /usr/bin/install: `./gwlib/accesslog.h' et `/usr/local/include/kannel/gwlib/accesslog.h' identifient le même fichier. /usr/bin/install: `./gwlib/cfg.h' et `/usr/local/include/kannel/gwlib/cfg.h' identifient le même fichier. /usr/bin/install: `./gwlib/charset.h' et `/usr/local/include/kannel/gwlib/charset.h' identifient le même fichier. /usr/bin/install: `./gwlib/conn.h' et `/usr/local/include/kannel/gwlib/conn.h' identifient le même fichier. /usr/bin/install: `./gwlib/counter.h' et `/usr/local/include/kannel/gwlib/counter.h' identifient le même fichier. /usr/bin/install: `./gwlib/date.h' et `/usr/local/include/kannel/gwlib/date.h' identifient le même fichier. /usr/bin/install: `./gwlib/dbpool.h' et `/usr/local/include/kannel/gwlib/dbpool.h' identifient le même fichier. /usr/bin/install: `./gwlib/dbpool_p.h' et `/usr/local/include/kannel/gwlib/dbpool_p.h' identifient le même fichier. /usr/bin/install: `./gwlib/dict.h' et `/usr/local/include/kannel/gwlib/dict.h' identifient le même fichier. /usr/bin/install: `./gwlib/fdset.h' et `/usr/local/include/kannel/gwlib/fdset.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwassert.h' et `/usr/local/include/kannel/gwlib/gwassert.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw-getopt.h' et `/usr/local/include/kannel/gwlib/gw-getopt.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwlib.h' et `/usr/local/include/kannel/gwlib/gwlib.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwmem.h' et `/usr/local/include/kannel/gwlib/gwmem.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwpoll.h' et `/usr/local/include/kannel/gwlib/gwpoll.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw-prioqueue.h' et `/usr/local/include/kannel/gwlib/gw-prioqueue.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw-rwlock.h' et `/usr/local/include/kannel/gwlib/gw-rwlock.h' identifient le même fichier. /usr/bin/install: `./gwlib/gwthread.h' et `/usr/local/include/kannel/gwlib/gwthread.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw_uuid.h' et `/usr/local/include/kannel/gwlib/gw_uuid.h' identifient le même fichier. /usr/bin/install: `./gwlib/gw_uuid_types.h' et `/usr/local/include/kannel/gwlib/gw_uuid_types.h' identifient le même fichier. /usr/bin/install: `./gwlib/http.h' et `/usr/local/include/kannel/gwlib/http.h' identifient le même fichier. /usr/bin/install: `./gwlib/latin1_to_gsm.h' et `/usr/local/include/kannel/gwlib/latin1_to_gsm.h' identifient le même fichier. /usr/bin/install: `./gwlib/list.h' et `/usr/local/include/kannel/gwlib/list.h' identifient le même fichier. /usr/bin/install: `./gwlib/log.h' et `/usr/local/include/kannel/gwlib/log.h' identifient le même fichier. /usr/bin/install: `./gwlib/md5.h' et `/usr/local/include/kannel/gwlib/md5.h' identifient le même fichier. /usr/bin/install: `./gwlib/mime.h' et `/usr/local/include/kannel/gwlib/mime.h' identifient le même fichier. /usr/bin/install: `./gwlib/octstr.h' et `/usr/local/include/kannel/gwlib/octstr.h' identifient le même fichier. /usr/bin/install: `./gwlib/parse.h' et `/usr/local/include/kannel/gwlib/parse.h' identifient le même fichier. /usr/bin/install: `./gwlib/pcre.h' et `/usr/local/include/kannel/gwlib/pcre.h' identifient le même fichier. /usr/bin/install: `./gwlib/pki.h' et `/usr/local/include/kannel/gwlib/pki.h' identifient le même fichier. /usr/bin/install: `./gwlib/protected.h' et `/usr/local/include/kannel/gwlib/protected.h' identifient le même fichier. /usr/bin/install: `./gwlib/regex.h' et `/usr/local/include/kannel/gwlib/regex.h' identifient le même fichier. /usr/bin/install: `./gwlib/semaphore.h' et `/usr/local/include/kannel/gwlib/semaphore.h' identifient le même fichier. /usr/bin/install: `./gwlib/socket.h' et `/usr/local/include/kannel/gwlib/socket.h' identifient le même fichier. /usr/bin/install: `./gwlib/ssl.h' et `/usr/local/include/kannel/gwlib/ssl.h' identifient le même fichier. /usr/bin/install: `./gwlib/thread.h' et `/usr/local/include/kannel/gwlib/thread.h' identifient le même fichier. /usr/bin/install: `./gwlib/utils.h' et `/usr/local/include/kannel/gwlib/utils.h' identifient le même fichier. /usr/bin/install: `./gwlib/xmlrpc.h' et `/usr/local/include/kannel/gwlib/xmlrpc.h' identifient le même fichier. *make: *** [install] Erreur 1* smpptest:/usr/local/include/kannel# :-( 2010/9/7 Rene Kluwen <[email protected]> The procedure is as follows: > > > > Checkout Kannel and smppbox sources in their own folders in your homedir. > > Then for each module, in turn, do: > > > > ./configure [options] > > make > > make install > > > > After that, header files and libraries will be installed in /usr/local. > > > > == Rene > > > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *BeCauet > *Sent:* Tuesday, 07 September, 2010 00:14 > *To:* users > *Subject:* Re: configure: error: Kannel gwlib is required! > > > > Hello Rene, > None of the two solutions work ... another idea? > > My sources of Kannel (binaries) are in /usr/local/include/kannel and > smppbox is in /usr/local/include/smppbox > > Mickael > > 2010/9/6 Rene Kluwen <[email protected]> > > Try: > > > > ./configure –with-kannel-dir=/usr/local or even without even specifying > –with-kannel-dir. > > If you just installed kannel, then it should find the sources > automagically. > > > > == Rene > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *BeCauet > *Sent:* Monday, 06 September, 2010 21:39 > *To:* users > *Subject:* configure: error: Kannel gwlib is required! > > > > Hello, I Have a problem with smppbox compilation: > > smpptest:/usr/local/include/smppbox# ./configure > --with-kannel-dir=/usr/local/include/kannel > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking svn checkout revision... -1:48M > > Configuring for smppbox version svn-r-1:48M ... > checking for style of include used by make... 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 ANSI C... none needed > checking dependency style of gcc... gcc3 > 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 /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking for g++... no > checking for c++... no > checking for gpp... no > checking for aCC... no > checking for CC... no > checking for cxx... no > checking for cc++... no > checking for cl... no > checking for FCC... no > checking for KCC... no > checking for RCC... no > checking for xlC_r... no > checking for xlC... no > checking whether we are using the GNU C++ compiler... no > checking whether g++ accepts -g... no > checking dependency style of g++... none > checking for g77... no > checking for f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... no > checking for fort... no > checking for xlf95... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for gfortran... no > checking whether we are using the GNU Fortran 77 compiler... no > checking whether accepts -g... no > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/bin/ld) supports shared libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > appending configuration tag "F77" to libtool > 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 for an ANSI C-conforming const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for working volatile... yes > checking whether closedir returns void... no > checking for error_at_line... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for working memcmp... yes > > Configuring PAM support ... > checking whether to compile with PAM support... checking whether to compile > with SSL support... trying /usr/lib /usr/include/openssl > checking for openssl... /usr/bin/openssl > checking for CRYPTO_lock in -lcrypto... yes > checking for SSL_library_init in -lssl... yes > checking for SSL_connect in -lssl... yes > checking openssl/x509.h usability... yes > checking openssl/x509.h presence... yes > checking for openssl/x509.h... yes > checking openssl/rsa.h usability... yes > checking openssl/rsa.h presence... yes > checking for openssl/rsa.h... yes > checking openssl/crypto.h usability... yes > checking openssl/crypto.h presence... yes > checking for openssl/crypto.h... yes > checking openssl/pem.h usability... yes > checking openssl/pem.h presence... yes > checking for openssl/pem.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking whether the OpenSSL library is multithread-enabled... yes > checking whether to compile with SSL support... yes > > Configuring DocBook support ... > checking for jade... no > checking for openjade... no > checking for jadetex... no > checking for pdfjadetex... no > checking for dvips... no > checking for fig2dev... no > checking for convert... no > checking for > /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no > checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... > no > checking for /usr/share/dsssl/docbook-dsssl/html/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... > no > checking for > /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no > checking for > /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no > checking for > /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no > checking for /usr/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... > no > checking for > /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no > checking for > /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no > checking for > /opt/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no > checking for /opt/local/share/dsssl/docbook-dsssl/html/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... > no > checking for > /opt/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no > checking for > /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no > checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... > no > checking for /usr/share/dsssl/docbook-dsssl/print/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... > no > checking for > /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no > checking for > /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no > checking for > /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no > checking for /usr/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... > no > checking for > /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no > checking for > /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no > checking for > /opt/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no > checking for /opt/local/share/dsssl/docbook-dsssl/print/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no > checking for > /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... > no > checking for > /opt/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no > Not building documentation. > checking for Ct-Lib support... no > checking for FreeTDS Ct-Lib support... no > checking for gw-config... /usr/local/include/kannel/gw-config > checking Kannel version... svn-r4838 > checking Kannel libs... -L/usr/local/lib/kannel -lgw -lwap -lgwlib > -lmysqlclient_r -lssl -lrt -lresolv -lnsl -lm -lpthread -lxml2 -L/usr/lib > -lcrypto -lssl -L/usr/lib/mysql -lmysqlclient_r > checking Kannel includes... -I/usr/local/include/kannel -g -O2 > -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES= > -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include/mysql > checking for cfg_create in -lgwlib... no > *configure: error: Kannel gwlib is required!* > > > Please help. > > >
