try to add the following directive parameter to the ./configure command

--with-mysql-dir=/usr/lib64/mysql/

verify the path /usr/lib64/mysql/ according to your box configuration



Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak <http://www.colorle.com>



On Tue, Mar 1, 2011 at 8:36 PM, Adan Canales <[email protected]> wrote:

> Hi everyone
>
> I was reading diferent postings about this error message and tried some
> options with no success. I´m new to kannel.
>
> I installed evertyhing in my opensuse version 11.3 runing on a virtual box
> machine X64 version or the 64 bit version which I choosed.
>
> when I run the sudo ./configure --with-mysql-dir=/opt/lampp/var/mysql/  from
> my folder where I have the installation files it gives me the following
> errors:
>
> *Note that I have installed xampp for linux and that´s why the mysql is
> installed in that folder*.
>
>
>  Configuring for Kannel gateway version 1.4.3 ...
>
> Running system checks ...
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-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 for gcc option to accept ISO C99... -std=gnu99
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for flex... no
> checking for lex... no
> checking for ar... ar
> checking for convert... /usr/bin/convert
> checking for perl... /usr/bin/perl
> checking for inline... inline
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking how to run the C preprocessor... gcc -std=gnu99 -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 size of short... 2
> checking size of int... 4
> checking size of long... 8
> checking size of long long... 8
> checking for log in -lm... yes
> checking for accept in -lsocket... no
> checking for inet_ntoa in -lnsl... yes
> checking for inet_ntop in -lresolv... yes
> checking for inet_ntop in -lbind... no
> checking for pthread_exit in -lpthread... yes
> checking for libiconv in -liconv... no
> checking for ANSI C header files... (cached) yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking execinfo.h usability... yes
> checking execinfo.h presence... yes
> checking for execinfo.h... yes
> checking for stdlib.h... (cached) yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/sockio.h usability... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking for net/if.h... yes
> checking for gettimeofday... yes
> checking for select... yes
> checking for socket... yes
> checking for strdup... yes
> checking for getopt_long... yes
> checking for localtime_r... yes
> checking for gmtime_r... yes
> checking for backtrace... yes
> checking for srandom... yes
> checking for getopt... yes
> checking for gethostbyname_r... yes
> checking for which type of gethostbyname_r... 6
> checking for socklen_t in <sys/socket.h>... yes
> checking for getopt in <stdio.h>... no
> checking for getopt in <unistd.h>... yes
> checking regex.h usability... yes
> checking regex.h presence... yes
> checking for regex.h... yes
> checking for regcomp... 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... yes
> checking for semaphore support... yes
>
> Checking for libxml2 support ...
> checking for xml2-config... /usr/bin/xml2-config
> checking libxml version... 2.7.7
>
> Configuring for PCRE support ...
> checking whether to compile with PCRE support... disabled
>
> Configuring DocBook support ...
> checking for jade... no
> checking for jadetex... no
> checking for pdfjadetex... no
> checking for dvips... no
> checking for fig2dev... no
> checking for convert... /usr/bin/convert
> 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/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/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
> /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/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/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
> Not building documentation.
>
> Configuring parameters ...
> checking which malloc to use... native malloc
> enabling local time
> enabling cookies
> enabling HTTP/1.1 keep-alive
>
> Configuring OpenSSL support ...
> checking whether to compile with SSL support... trying
>
> Configuring DB support ...
> checking whether to compile with MySQL support... disabled
> checking whether to compile with LibSDB support... disabled
> checking whether to compile with SQLite2 support... disabled
> checking whether to compile with SQLite3 support... disabled
> checking whether to compile with Oracle support... disabled
> checking whether to compile with PostgresSQL support... disabled
>
> Generating output files ...
> configure: creating ./config.status
> config.status: creating gwlib/gw_uuid_types.h
> config.status: creating Makefile
> config.status: creating gw-config.h
> config.status: gw-config.h is unchanged
>
> I tried to write to the blog but I couldn´t log in.
>
> Thanks in advance.
>
> Adan
>

Reply via email to