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




From: Pate Mark-marpate1 <[EMAIL PROTECTED]>
To: "'Ivone Uribe'" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: WapKannel/openssl!urgent!
Date: Mon, 21 Oct 2002 07:48:12 +0100

Hi Ivone,

I have not seen this error before, but I'm guessing that your openssl
installation is not complete for some reason - it is strange that it is
reported that you have rc5.h, yet does not support the rc5 algorithm.

What I would suggest (and this may not be the best thing to do), is download
a fresh copy of the openssl source code 0.9.6g (http://www.openssl.org) and
compile this to a new directory (i.e. not /usr/share/ssl).

You should then recompile kannel again, having done "rm config.cache" and
"make clean".

Can someone please explain what to do with the wtls patches that can be
downloaded from the kannel site? Where do we put them and how do we compile
them into the kannel source?

Mark


-----Original Message-----
From: Ivone Uribe [mailto:ivoneu@;hotmail.com]
Sent: 19 October 2002 00:20
To: Mark Pate
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: WapKannel/openssl!urgent!


Hi Mark! Hi all!

Thanks to all for your feedbacks....Really Thanks!

Well, now I'm trying to install the gateway-1.2.0

I m writing ./configure --prefix=/usr/local/kannel_test
--with-ssl=/usr/share/ssl --with-wtls=openssl --enable-ssl
--disable-docs

then:

touch .depend
make depend
but in this step I get an error like that:

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

Generating output files ...
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

[root@WAP_GATEWAY gateway-1.2.0]# touch .depend

[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/share/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:
gwlib/pki.h:18:8: warning: extra tokens at end of #endif directive
wap/wtls_statesupport.c:15:2: #error "your OpenSSL installation lacks RC5
algorithm support"

when I did make I get that error too

gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/share/ssl/include -o wap/wtls.o -c wap/wtls.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/share/ssl/include -o wap/wtls_pdu.o -c wap/wtls_pdu.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/share/ssl/include -o wap/wtls_pdusupport.o -c
wap/wtls_pdusupport.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/share/ssl/include -o wap/wtls-secmgr.o -c
wap/wtls-secmgr.c
gcc -D_REENTRANT=1 -I. -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml
-I/usr/include -I/usr/share/ssl/include -o wap/wtls_statesupport.o -c
wap/wtls_statesupport.c
wap/wtls_statesupport.c:15:2: #error "your OpenSSL installation lacks RC5
algorithm support"
make: *** [wap/wtls_statesupport.o] Error 1

I have the openssl-0.9.6b-8 and openssl and the openssl-devel-0.9.6b-8
I install the openssl-0.9.6b.tar.gz in other directory like usr/local,
trying to solve the problem, but I can't solve it!

Any idea? What can I do? Please help me!

Thanks in advance,
Ivone

_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx


Reply via email to