RE: WapKannel/openssl!urgent!

"Ivone Uribe" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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




>This will create a Makefile to enable the source to be compiled with wtls.
>It will also install kannel in a different directory. Type
>
>make
>









>From: Pate Mark-marpate1 <[email protected]>
>To: "'Ivone Uribe'" <[email protected]>
>Subject: RE: WAPKANNEL Configuration_9203/openssl/Urgent!
>Date: Fri, 18 Oct 2002 09:10:24 +0100
>
>Hi Ivone,
>
>I think that the Kannel RPM may not have the wtls option installed. I think
>that you need to re-compile from source.
>
>Have you ever compiled software from the source code instead of using an
>rpm? If not, this may help.
>
>Download the current stable version of Kannel into your home
>directory(preferably an a different server to your existing configuration -
>http://www.kannel.org/download/1.2.0/gateway-1.2.0.tar.gz
>
>type :
>
>tar -zvxf gateway-1.2.0.tar.gz
>
>This will uncompress and extract the source code from the archive. Now cd 
>to
>the gateway-1.2.0 directory. There will be many files in here. Type :
>
>./configure --prefix=/usr/local/kannel_test --with-wtls=openssl
>--disable-docs
>
>This will create a Makefile to enable the source to be compiled with wtls.
>It will also install kannel in a different directory. Type
>
>make
>
>If this completes with no errors, then you are doing better than me!
>
>as user root:
>
>make install
>
>If you get this far, then hopefully it should work.
>
>cd /usr/local/kannel_test/sbin
>
>run the bearerbox and wapbox with the original config files.
>
>Thanks,
>Mark
>
>-----Original Message-----
>From: Ivone Uribe [mailto:[email protected]]
>Sent: 17 October 2002 19:07
>To: [email protected]; Mark Pate
>Cc: [email protected]; [email protected]
>Subject: Re: WAPKANNEL Configuration_9203/openssl/Urgent!
>
>
>Hi Mark an Stipe!
>thanks!
>
>Well, we have severals types of motorola handsets, but I'm using the
>motorola i550plus and the i30sx for the proves.
>
>My OS is the Red Hat 7.2,  I had problems when I  installed the Kannel, I
>got this message :
>
>" libcrypto.so.0.9.6 and  libssl.so.0.9.6 needed by kennel-1.2.01" and
>conflicts with the chkconfig.
>
>For Red Hat 7.2  I have the openssl-0.9.6b-28 and openssl-devel-0.9.6b-28
>and it has /lib/libcrypto.so.0.9.6b and the /lib/libssl.so.0.9.6b, but not
>the "/lib/libssl.so.0.9.6"
>
>So, I wrote  --force --nodeps  for the installation of the kannel rpm.
>So I'm thinking it could be a cause why I can't open the port 9203 WTLS.
>
>What do you mean, I have to write in the installation $ ./configure
>--with-wtls=openssl for avoid this message in the installation of the 
>kannel
>
>rpm:
>" libcrypto.so.0.9.6 and  libssl.so.0.9.6 needed by kennel-1.2.01" and
>"conflicts with the chkconfig"
>?
>
>I'm thinking installing the libcrypto.so.0.9.6 and  libssl.so.0.9.6 needed
>by kennel-1.2.01,
>but  the libssl.so.0.9.6 are in openssl-0.9.6-1.i386.html (Secure Sockets
>Layer and cryptography libraries and tools Libc6 Contribs for i386/
>openssl-0.9.6-1.i386.rpm ), the problem is that the distribution is not by
>RedHat, could it be a problem?
>Does the  openssl-0.9.6-1.i386.html is supported by the RedHat 7.2 or 6.2?
>I'm thinking installing the kannel 6.2, but I don't know if the Kannel will
>have conflicts with the openssl, too.
>
>Please Help Me!! What can I do? :(
>
>Regards,
>Ivone
>
>
>
>
>
> >From: Stipe Tolj <[email protected]>
> >To: Ivone Uribe <[email protected]>
> >CC: [email protected], [email protected]
> >Subject: Re: WAP KANNEL Configuration_9203
> >Date: Tue, 15 Oct 2002 23:30:45 +0200
> >
> > > Unfortunately, it's impossible for us to set the phone to be 9201.
> >
> >that's why I don't like Motorola phones at all :)
> >
> > > So, what can I do to use the WAP secure session service 9203 
>(Protocol:
> > > WSP/WTP/WTLS/Datagram)?
> > > Kannel only listens to the ports 9200, 9201 and 9202 but if I want 
>that
> > > Kannel supports the "WAP secure session service": 9203 what can I do?
> > > Where can I have to do the changes?
> >
> >Kannel has a WTLS stack implemented and this can be activated at
> >configure time using the
> >
> >   $ ./configure --with-wtls=openssl
> >
> >as example. BEWARE: the WTLS stack is yet not fully functional and
> >should be considered as alpha quality in the code.
> >
> >Stipe
> >
> >[email protected]
> >-------------------------------------------------------------------
> >Wapme Systems AG
> >
> >Vogelsanger Weg 80
> >40470 Düsseldorf
> >
> >Tel: +49-211-74845-0
> >Fax: +49-211-74845-299
> >
> >E-Mail: [email protected]
> >Internet: http://www.wapme-systems.de
> >-------------------------------------------------------------------
> >wapme.net - wherever you are
>
>
>_________________________________________________________________
>MSN Fotos: la forma más fácil de compartir e imprimir fotos.
>http://photos.msn.es/support/worldwide.aspx

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.microsoft.com/es
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.