Facing issues while configuring SqlBox.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Facing issues while configuring SqlBox.

vedant Singh
[root@localhost sqlbox]# ./configure --with-kannel-dir=/usr/local/src/gateway-1.4.4

checking svn checkout revision... 58

Configuring for Kannel sqlbox version svn-r58 ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... 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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) 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
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 OpenSSL support ...
checking whether to compile with SSL support... trying  

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
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/dtds/decls/xml.dcl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/dtds/decls/xml.dcl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.*/dtds/decls/xml.dcl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/dtds/decls/xml.dcl... no
checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/dtds/decls/xml.dcl... no
checking for /usr/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl... no
checking for /usr/share/sgml/dsssl/docbook-dsssl-nwalsh/dtds/decls/xml.dcl... no
checking for /usr/share/dsssl/docbook-dsssl/dtds/decls/xml.dcl... no
checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/dtds/decls/xml.dcl... no
checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/dtds/decls/xml.dcl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/dtds/decls/xml.dcl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/dtds/decls/xml.dcl... no
checking for /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/dtds/decls/xml.dcl... no
checking for /usr/local/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl... no
checking for /usr/local/share/sgml/dsssl/docbook-dsssl-nwalsh/dtds/decls/xml.dcl... no
checking for /usr/local/share/dsssl/docbook-dsssl/dtds/decls/xml.dcl... no
checking for /sw/lib/sgml/stylesheet/dsssl/docbook/nwalsh/dtds/decls/xml.dcl... no
checking for /sw/lib/sgml/stylesheets/nwalsh-modular/dtds/decls/xml.dcl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets-1.*/dtds/decls/xml.dcl... no
checking for /sw/share/sgml/docbook/dsssl-stylesheets/dtds/decls/xml.dcl... no
checking for /sw/share/sgml/docbook/stylesheet/dsssl/modular/dtds/decls/xml.dcl... no
checking for /sw/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl... no
checking for /sw/share/sgml/dsssl/docbook-dsssl-nwalsh/dtds/decls/xml.dcl... no
checking for /sw/share/dsssl/docbook-dsssl/dtds/decls/xml.dcl... no
checking for /opt/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/dtds/decls/xml.dcl... no
checking for /opt/local/lib/sgml/stylesheets/nwalsh-modular/dtds/decls/xml.dcl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets-1.*/dtds/decls/xml.dcl... no
checking for /opt/local/share/sgml/docbook/dsssl-stylesheets/dtds/decls/xml.dcl... no
checking for /opt/local/share/sgml/docbook/stylesheet/dsssl/modular/dtds/decls/xml.dcl... no
checking for /opt/local/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl... no
checking for /opt/local/share/sgml/dsssl/docbook-dsssl-nwalsh/dtds/decls/xml.dcl... no
checking for /opt/local/share/dsssl/docbook-dsssl/dtds/decls/xml.dcl... no
Not building documentation.

Configuring Kannel and DB dependancies ...
checking for Ct-Lib support... no
checking for FreeTDS Ct-Lib support... no
checking for gw-config... /usr/local/src/gateway-1.4.4/gw-config
checking Kannel version... 1.4.4
checking Kannel libs... -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lrt -lresolv -lnsl -lm  -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -ldl
checking Kannel includes... -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
checking for cfg_create in -lgwlib... yes
checking for Kannel's DB support... ok

Generating output files ...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gw/Makefile
config.status: creating rpm/sqlbox.spec
config.status: creating sb-config.h
config.status: sb-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

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.
[root@localhost sqlbox]#

[root@localhost sqlbox]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox'
Making all in gw
make[2]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o sqlbox.o sqlbox.c
sqlbox.c: In function ‘run_sqlbox’:
sqlbox.c:466:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     fd = (int)arg;
          ^
In file included from /usr/local/include/kannel/gwlib/gwlib.h:82:0,
                 from sqlbox.c:66:
sqlbox.c: In function ‘wait_for_connections’:
sqlbox.c:506:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             gwthread_create(function, (void *)fd);
                                       ^
/usr/local/include/kannel/gwlib/gwthread.h:91:50: note: in definition of macro ‘gwthread_create’
  (gwthread_create_real(func, __FILE__ ":" #func, arg))
                                                  ^
sqlbox.c: In function ‘sqlboxc_run’:
sqlbox.c:712:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     port = (int)arg;
            ^
mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo -c -o sqlbox_mssql.o sqlbox_mssql.c
mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo -c -o sqlbox_mysql.o sqlbox_mysql.c
mv -f .deps/sqlbox_mysql.Tpo .deps/sqlbox_mysql.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_pgsql.o -MD -MP -MF .deps/sqlbox_pgsql.Tpo -c -o sqlbox_pgsql.o sqlbox_pgsql.c
mv -f .deps/sqlbox_pgsql.Tpo .deps/sqlbox_pgsql.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_sdb.o -MD -MP -MF .deps/sqlbox_sdb.Tpo -c -o sqlbox_sdb.o sqlbox_sdb.c
mv -f .deps/sqlbox_sdb.Tpo .deps/sqlbox_sdb.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_sqlite.o -MD -MP -MF .deps/sqlbox_sqlite.Tpo -c -o sqlbox_sqlite.o sqlbox_sqlite.c
mv -f .deps/sqlbox_sqlite.Tpo .deps/sqlbox_sqlite.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_sqlite3.o -MD -MP -MF .deps/sqlbox_sqlite3.Tpo -c -o sqlbox_sqlite3.o sqlbox_sqlite3.c
mv -f .deps/sqlbox_sqlite3.Tpo .deps/sqlbox_sqlite3.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_oracle.o -MD -MP -MF .deps/sqlbox_oracle.Tpo -c -o sqlbox_oracle.o sqlbox_oracle.c
mv -f .deps/sqlbox_oracle.Tpo .deps/sqlbox_oracle.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -MT sqlbox_sql.o -MD -MP -MF .deps/sqlbox_sql.Tpo -c -o sqlbox_sql.o sqlbox_sql.c
mv -f .deps/sqlbox_sql.Tpo .deps/sqlbox_sql.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql  -rdynamic -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -lgwlib  -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lrt -lresolv -lnsl -lm  -lpthread -lxml2 -lz -lm -ldl -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -ldl
libtool: link: gcc -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -rdynamic -o sqlbox sqlbox.o sqlbox_mssql.o sqlbox_mysql.o sqlbox_pgsql.o sqlbox_sdb.o sqlbox_sqlite.o sqlbox_sqlite3.o sqlbox_oracle.o sqlbox_sql.o  -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lmysqlclient_r -lrt -lresolv -lnsl -lxml2 -lz -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -ldl
make[2]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
make[2]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox'
make[2]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox'
make[1]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox'








[root@localhost sqlbox]# make install
Making install in gw
make[1]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
make[2]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
 /bin/mkdir -p '/usr/local/sbin'
  /bin/sh ../libtool   --mode=install /bin/install -c sqlbox '/usr/local/sbin'
libtool: install: /bin/install -c sqlbox /usr/local/sbin/sqlbox
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
make[1]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox/gw'
make[1]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox'
make[2]: Entering directory `/usr/local/src/gateway-1.4.4/sqlbox'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox'
make[1]: Leaving directory `/usr/local/src/gateway-1.4.4/sqlbox'
[root@localhost sqlbox]#

Loading...