Gents and ladies,
 
I am configuring as follows. On redhat 7 with gateway 1.3.2
 
 
./configure --with-defaults=speed --with-mysql --enab
le-start-stop-daemon
loading cache ./config.cache
 
Which gives me the following output:
 
Configuring for Kannel gateway version 1.3.2 ...
 
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  -rdynam
ic) works... yes
checking whether the C compiler (gcc  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE  -rdynam
ic) 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... no
checking for perl... (cached) /usr/local/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 semaphore.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) yes
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... no
checking for pthread_spinlock support... no
checking for pthread_rwlock support... no
 
Checking for libxml2 support ...
checking for xml2-config... (cached) /usr/bin/xml2-config
checking libxml version... 2.3.6
 
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) no
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... (cache
d) 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... (cach
ed) yes
Not building documentation.
 
Configuring parameters ...
checking which malloc to use... native malloc
disabling assertion checking
enabling local time
enabling cookies
 
Configuring OpenSSL support ...
checking whether to compile with SSL support... trying 
 
Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... (cached) /usr/bin/mysql_config
checking mysql version... 3.23.37
checking mysql libs...   -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm
 
checking for mysql_init in -lmysqlclient... (cached) yes
checking mysql includes... -I'/usr/include/mysql'
checking for mysql/mysql.h... (cached) yes
checking for mysql/mysql_version.h... (cached) yes
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
 
Generating output files ...
creating ./config.status
creating gwlib/gw_uuid_types.h
creating Makefile
creating gw-config.h
gw-config.h is unchanged
 
However when I run make I get:
 
[EMAIL PROTECTED] gateway-1.3.2]# make
gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -DBROKEN_PTHREADS
=1 -I/usr/include/libxml -I/usr/include -I'/usr/include/mysql' -o gw/bb_alog.o -
c gw/bb_alog.c
In file included from gwlib/gwlib.h:104,
                 from gw/bb_alog.c:64:
gwlib/gw-rwlock.h:69: parse error before `pthread_rwlock_t'
gwlib/gw-rwlock.h:69: warning: no semicolon at end of struct or union
gwlib/gw-rwlock.h:71: parse error before `}'
gwlib/gw-rwlock.h:71: warning: data definition has no type or storage class
gwlib/gw-rwlock.h:76: parse error before `*'
gwlib/gw-rwlock.h:76: warning: data definition has no type or storage class
gwlib/gw-rwlock.h:77: parse error before `*'
gwlib/gw-rwlock.h:78: parse error before `*'
gwlib/gw-rwlock.h:79: parse error before `*'
gwlib/gw-rwlock.h:80: parse error before `*'
gwlib/gw-rwlock.h:81: parse error before `*'
make: *** [gw/bb_alog.o] Error 1
 
ANy help on why this is failing is greatly appriciated :) TYIA
Mike
 
 
THIS TRANSMISSION CONTAINS PROPRIETARY AND CONFIDENTIAL INFORMATION.This information is intended to be for the exclusive use of the individual or entity named above.  If you are not the intended recipient, be advised that any disclosure, copying, distribution or other use of this information is strictly prohibited.  If you have received this transmission in error, please notify us by telephone at +16717881000 or by email to [EMAIL PROTECTED] immediately.

Reply via email to