RE: WapKannel/openssl!urgent!

Pate Mark-marpate1 <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <A125B3D81974D311BDE60008C7E6EEF205D433D3@zuk28exm03.ecid.cig.mot.com>
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:[email protected]]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.