RE: WapKannel/openssl!urgent!
"Ivone Uribe" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Mark!
Thanks....! I set the LD_FLAGS and the kannel configuration recognize it!
I got this :)
Running system checks ...
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -L/usr/local/ssl/lib) works... yes
checking whether the C compiler (gcc -L/usr/local/ssl/lib) is a
cross-compiler... no
checking whether we are using GNU C... yes
..........
..........
checking for convert... /usr/X11R6/bin/convert
checking for perl... /usr/bin/perl
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 pthread_exit in -lc_r... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for getopt... yes
checking for socklen_t in <sys/socket.h>... yes
checking for getopt in <stdio.h>... no
checking for getopt in <unistd.h>... yes
......
.....
Checking POSIX threads support ...
checking for working pthreads... no
.............
..........
Configuring OpenSSL support ...
checking whether to compile with SSL support... trying /usr/local/ssl/lib
/usr/local/ssl/include
checking for openssl... /usr/local/ssl/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 for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... 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 WTLS support ...
checking for WTLS library... openssl
checking for RSA_new in -lcrypto... yes
checking for openssl/objects.h... yes
checking for openssl/rc5.h... yes
But when I did the touch .depend, "make depend" I got this warnings :(
[root@WAP_GATEWAY gateway-1.2.0]# make depend
for dir in gw gwlib test utils wmlscript checks wap; do \
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1
-I/usr/include/libxml -I/usr/include -I/usr/local/ssl/include -MM $dir/*.c |
sed "s:^[^ ]:$dir/&:"; done > .depend
In file included from gw/wapbox.c:28:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
In file included from gwlib/pki.c:20:
and in the make I got this warnings:
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/local/ssl/include -o gw/wapbox.o -c gw/wapbox.c In
file included from gw/wapbox.c:28:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/local/ssl/include -o gw/wap-error.o -c gw/wap-error.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/local/ssl/include -o gwlib/parse.o -c gwlib/parse.c
..........................
...........................
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/local/ssl/include -o gwlib/pki.o -c gwlib/pki.c In
file included from gwlib/pki.c:20:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/local/ssl/include -o gwlib/protected.o -c
gwlib/protected.c
Although this, I installed the kannel....and apparently it is installed ok.
My question is, why do I get this warnings? It could affect the kannel
performace?
>From: Pate Mark-marpate1 <[email protected]>
>To: "'Ivone Uribe'" <[email protected]>
>CC: [email protected], [email protected]
>Subject: RE: WapKannel/openssl!urgent!
>Date: Wed, 23 Oct 2002 07:47:10 +0100
>
>Hi Ivone,
>
>Firstly, I would try :
>
>You could also try going back to the openssl source directory and type :
>"make test"
>
>This will perform a series of tests on the compiled openssl and return any
>problems. If the rc5 test passes, it would appear that your kannel
>compilation is picking up openssl from a different source.
>
>If openssl is OK, then you can try (exactly as shown) :
>
>"rm config.cache"
>"make clean"
>"export LD_FLAGS=-L/usr/local/ssl/lib"
>"./configure --prefix=/usr/local/kannel_test --with-wtls=openssl
>--enable-start-stop-daemon --disable-docs"
>
>Assuming all is OK above
>"make"
>
>Assuming all is OK above
>"make install"
>
>This is all that I can offer, as my experience of compiling from source is
>still quite basic.
>
>Hope this helps,
>Mark
>
>
>
>-----Original Message-----
>From: Ivone Uribe [mailto:[email protected]]
>Sent: 22 October 2002 18:22
>To: Mark Pate
>Cc: [email protected]; [email protected]
>Subject: RE: WapKannel/openssl!urgent!
>
>
>Hi Mark!
>
>Thanks for your advice...
>
>I removed the openssl0.9.6rpm and I just download openssl source code
>0.9.6g
>
>and compile this to usr/local/ssl .... I did the config, the make and the
>make install and I think it is ok.
>
>But when I configure the gateway with
>./configure
>--prefix=/usr/local/kannel_test
>--with-ssl=/usr/local/ssl
>--with-wtls=openssl
>--enable-start-stop-daemon
>--enable-ssl
>--disable-docs
>
>
>I get this:
>
>.......................
>Configuring OpenSSL support ...
>checking whether to compile with SSL support... trying /usr/local/ssl/lib
>/usr/local/ssl/include
>checking for openssl... /usr/local/ssl/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 for openssl/x509.h... no
>checking for openssl/rsa.h... no
>checking for openssl/crypto.h... no
>checking for openssl/pem.h... no
>checking for openssl/ssl.h... no
>checking for openssl/err.h... no
>checking whether the OpenSSL library is multithread-enabled... yes
>checking whether to compile with SSL support... yes
>
>Configuring MySQL support ...
>checking whether to compile with MySQL support... disabled
>
>Configuring WTLS support ...
>checking for WTLS library... openssl
>checking for RSA_new in -lcrypto... yes
>checking for openssl/objects.h... no
>configure: warning: OpenSSL installation seems to lack RC5 algorithm!
>checking for openssl/rc5.h... no
>configure: warning: OpenSSL installation seems to lack RC5 algorithm!
>
>--------------------
>
>but the:
>openssl/x509.h,openssl/rsa.h,openssl/crypto.h,openssl/pem.h,openssl/ssl.h,
>openssl/err.h, openssl/objects.h and the openssl/rc5
>are in the directory usr/local/ssl/include/openssl, so I don't know why the
>kannel don't recognize it.
>
>Please, anybody could help me with this problem? any idea?
>
>I have another question, if I install the kannel with these warnings, I
>could have some problems, couldn't I?
>
>
>Regards,
>Ivone
_________________________________________________________________
MSN. Más Ãtil Cada DÃa http://www.msn.es/intmap/