I have installed MySQL. It seems that it has nothing to do with the database but with the patched configure

---------------------------------------------------------------------------------------------------------------------
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) yes
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.6.19

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) no
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
Not building documentation.

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) yes
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... (cached) /usr/local/mysql/bin/mysql_config
checking mysql version... 5.0.21
checking mysql reentrant libs...  -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread
checking for mysql_init in -lmysqlclient_r... (cached) no
checking mysql libs...  -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
checking for mysql_init in -lmysqlclient... (cached) yes
checking mysql includes... -I/usr/local/mysql/include/mysql
checking for mysql/mysql.h... (cached) no
checking for mysql/mysql_version.h... (cached) no
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
checking for Ct-Lib support... no
checking for FreeTDS Ct-Lib support... no

Generating output files ...
creating ./config.status
creating gwlib/gw_uuid_types.h
creating Makefile
creating gw-config.h
gw-config.h is unchanged

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.
-----------------------------------------------------------------------------------------------------------------------

Please note where check says no.

Running System checks
(a)  checking whether the C compiler (gcc  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE  -rdynamic) is a cross-compiler ... no

              question number 1: what environment variable will i use (CPPFLAGS,
              CXX, etc..) so that configure will detect that gcc is a cross-compiler?
              flagging environment variables wont work, do i need some
              dependencies?

(b)  checking for accept in -lsocket... (cached) no
               
              question number 2: what does this mean? what is -lsocket?      

(c)  checking for libiconv in -liconv... (cached) no

              question number 3: As far as I know, libiconv is for cross-language
              support (correct me if I'm wrong). Will it be okay even if I don't have
              this? I'm using English anyway, all throughout the project.

(d)  checking for sys/sockio.h... (cached) no

               question number 4: where include or library is this?

(e) checking for getopt in <stdio.h>... (cached) no

               question number 5: again, what is getopt in <stdio.h>? will it
               significantly affect installation or operation of kannel if i don't have
               this?

Configuring DocBook Support

                i guess it doesn't affect system operation of kannel. Nevermind.

Configuring DB Support
(a) checking for mysql/mysql.h... (cached) no
(b) checking for mysql/mysql_version.h... (cached) no

                question number 6: i know i have both of these in
                $MYSQL_DIR/include/mysql? how come they are not detected? was
                it with the cross-compiling capability? i guess it's very crucial in
                gw/dlr_mysql.c ... what will i do with this?

(c) checking for Ct-Lib support... no
(d) checking for FreeTDS Ct-Lib support... no
         
             question number 7: I've read in freeTDS userguide that freeTDS can
             replace (Sybase) Ct-Lib. So, do I just need to have FreeTDS even
             without the CTLib? Or do I still need both? What is the significance of
             having (or not having this/these) given that sqlbox patch adds this in
             configure?

Thanks in advanced.


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice.

Reply via email to