gmail/gtalk is not working .

Ponnambalam M A <perlpons-/[email protected]> Wed, 13 Jun 2007 04:51:45 -0700 (PDT)
Newsgroups gmane.network.centericq,gmane.network.centerim.user
Message-ID <[email protected]>
--===============8874868250873524985==
Content-Type: multipart/alternative; boundary="0-1819492281-1181735505=:55205"
Content-Transfer-Encoding: 7bit

--0-1819492281-1181735505=:55205
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi All,

Even after doing this patch and compilation , I could not connect to gtal=
k .
Could you please help me on this.

my settings
&#9472; Serverg:gmail.com:5222                                           =
                                                            Secured:no   =
                                                                         =
                                      Login:[email protected]
Password:*******                                                         =
                                                   Priority:3   =20

Thanks,
Pons.                                                                    =
                                          cicq-request-xGejAJT2w6wWP6gT/[email protected]=
g wrote: Send Cicq mailing list submissions to
 cicq-xGejAJT2w6wWP6gT/[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
 http://chlor.kofeina.net/mailman/listinfo/cicq
or, via email, send a message with subject or body 'help' to
 cicq-request-xGejAJT2w6wWP6gT/[email protected]

You can reach the person managing the list at
 cicq-owner-xGejAJT2w6wWP6gT/[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cicq digest..."


Today's Topics:

   1. gnutls support is ready (Anibal Avelar)
   2. Re: gnutls support is ready (Anibal Avelar)


----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Jun 2007 09:58:15 -0500
From: "Anibal Avelar"=20
Subject: [cicq] gnutls support is ready
To: "CenterIM users discussion list" ,
 "CenterIM developers discussion list" ,
 "CenterICQ List"=20
Message-ID:
=20
Content-Type: text/plain; charset=3D"iso-8859-1"

Hi everybody.

Because I saw centerim has problems to work with gnutls I made the
definitive support to GNUTLS library. The normal way was to use
openssl  instead gnutls.
But at least into Debian, the openssl license is GPL non-compatible,
for that is better to use gnutls support.

Whom were affected?

 + Jabber with SSL support (necessary to gTalk)
 + Gadu Gadu with SSL support

I proved with this:

./configure --with-ssl

Installing  libgnutls-dev instead libssl-dev, Jabber/gTalk does not work.

I check what was the problem and I found it.

When you gives the --with-ssl parameter centerim to find for OpenSSL
by default, it didn't find it, check for gnutls support. This is good.

But the problem is:

Inside connwrap/configure.ac and libgadu/configure.ac files aren't
prepare to receive this parameters, for example in
connwrap/configure.ac:

if test -n "$with_ssl" -a x"$with_ssl" !=3D xno; then
    AC_DEFINE(HAVE_SSL)
    if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; then
        AC_DEFINE(HAVE_OPENSSL)
        AC_CHECK_LIB(crypto, main, [
            AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [
                AC_DEFINE(HAVE_SSLEAY)
            ])
            ])
  fi
fi

We don't have defined the HAVE_GNUTLS var, then when I want to use it
inside connwrap/ files, it's not defined.

The correct would be:


if test -n "$with_ssl" -a x"$with_ssl" !=3D xno; then
    AC_DEFINE(HAVE_SSL)
    if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; then
        AC_DEFINE(HAVE_OPENSSL)
        AC_CHECK_LIB(crypto, main, [
            AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [
                AC_DEFINE(HAVE_SSLEAY)
            ])
            ])
    else
         AC_MSG_RESULT([not found or disabled])
         with_ssl=3D"no"

          AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
          AC_CHECK_LIB(lzo, lzo1x_1_compress, [], [
                            echo "lzo compression is required.";
                            exit -1
                            ] )
                       CXXFLAGS=3D"$CXXFLAGS $LIBGNUTLS_CFLAGS"
                       LIBS=3D"$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
                       AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
          with_ssl=3D"yes"
          ac_configure_args=3D"$ac_configure_args --with-ssl"
          ])
  fi
fi

Is strange that in the top directory on centerim has defined it, but
not below (is exactly the same problem inside libgadu dir).

I fixed both files (connwrap/configure.ac and libgadu/configure.ac)
and after I did the porting to gnutls.

Now, we have both supports without problems: Openssl and GNUTLS. Also
are mutually excluded to avoid problems.

To work you need:

If you have OpenSSL
./configure --with-ssl

If you have Gnutls
./configure --with-ssl --with-openssl=3Dno

This is because by default is --with-openssl=3Dyes

The second reason because I had to do this is because Julien Lemoine
tried to use the backward compatiblity to openssl from gnutls using
gnutls/openssl.h header, but it not work (I tried). Also if you want
to use the gnutls backward compatiblity gnutls/openssl.h, you need to
link the libgnutls-openssl.so library in addition to libgnutls.so.

Now all work fine with both.

I send the patch. Of course to apply the configure.ac, you need to do
run automake command.

I hope this patch would be included in the offcial centerim branch.
With this I can build the official debian package, because I can't do
with the Openssl support by the license problems mentioned above.

Please, I hope your comments.

Regards.










--=20
Anibal Avelar (FixXxeR) http://fixxxer.cc
GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B6 4656
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-gnutls
Type: application/octet-stream
Size: 15125 bytes
Desc: not available
Url : http://chlor.kofeina.net/pipermail/cicq/attachments/20070612/4c22e6=
fd/attachment-0001.obj=20

------------------------------

Message: 2
Date: Tue, 12 Jun 2007 16:58:34 -0500
From: "Anibal Avelar"=20
Subject: Re: [cicq] gnutls support is ready
To: "CenterIM users discussion list" ,
 "CenterIM developers discussion list" ,
 "CenterICQ List"=20
Message-ID:
=20
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed

Hi everybody again.

While wait for the patch I have ready a experimental version for
centerim with gnutls (effective) support in my personal debian
unstable repository [1]:

deb http://fixxxer.cc/debian unstable/
deb-src http://fixxxer.cc/debian unstable/

Regards.

[1] http://fixxxer.cc/blog-en/?page_id=3D13

On 6/12/07, Anibal Avelar  wrote:
> Hi everybody.
>
> Because I saw centerim has problems to work with gnutls I made the
> definitive support to GNUTLS library. The normal way was to use
> openssl  instead gnutls.
> But at least into Debian, the openssl license is GPL non-compatible,
> for that is better to use gnutls support.
>
> Whom were affected?
>
>  + Jabber with SSL support (necessary to gTalk)
>  + Gadu Gadu with SSL support
>
> I proved with this:
>
> ./configure --with-ssl
>
> Installing  libgnutls-dev instead libssl-dev, Jabber/gTalk does not wor=
k.
>
> I check what was the problem and I found it.
>
> When you gives the --with-ssl parameter centerim to find for OpenSSL
> by default, it didn't find it, check for gnutls support. This is good.
>
> But the problem is:
>
> Inside connwrap/configure.ac and libgadu/configure.ac files aren't
> prepare to receive this parameters, for example in
> connwrap/configure.ac:
>
> if test -n "$with_ssl" -a x"$with_ssl" !=3D xno; then
>     AC_DEFINE(HAVE_SSL)
>     if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; then
>         AC_DEFINE(HAVE_OPENSSL)
>         AC_CHECK_LIB(crypto, main, [
>             AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [
>                 AC_DEFINE(HAVE_SSLEAY)
>             ])
>             ])
>   fi
> fi
>
> We don't have defined the HAVE_GNUTLS var, then when I want to use it
> inside connwrap/ files, it's not defined.
>
> The correct would be:
>
>
> if test -n "$with_ssl" -a x"$with_ssl" !=3D xno; then
>     AC_DEFINE(HAVE_SSL)
>     if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; then
>         AC_DEFINE(HAVE_OPENSSL)
>         AC_CHECK_LIB(crypto, main, [
>             AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [
>                 AC_DEFINE(HAVE_SSLEAY)
>             ])
>             ])
>     else
>          AC_MSG_RESULT([not found or disabled])
>          with_ssl=3D"no"
>
>           AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [
>           AC_CHECK_LIB(lzo, lzo1x_1_compress, [], [
>                             echo "lzo compression is required.";
>                             exit -1
>                             ] )
>                        CXXFLAGS=3D"$CXXFLAGS $LIBGNUTLS_CFLAGS"
>                        LIBS=3D"$LIBS $LIBGNUTLS_LIBS -lgnutls-extra"
>                        AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls])
>           with_ssl=3D"yes"
>           ac_configure_args=3D"$ac_configure_args --with-ssl"
>           ])
>   fi
> fi
>
> Is strange that in the top directory on centerim has defined it, but
> not below (is exactly the same problem inside libgadu dir).
>
> I fixed both files (connwrap/configure.ac and libgadu/configure.ac)
> and after I did the porting to gnutls.
>
> Now, we have both supports without problems: Openssl and GNUTLS. Also
> are mutually excluded to avoid problems.
>
> To work you need:
>
> If you have OpenSSL
> ./configure --with-ssl
>
> If you have Gnutls
> ./configure --with-ssl --with-openssl=3Dno
>
> This is because by default is --with-openssl=3Dyes
>
> The second reason because I had to do this is because Julien Lemoine
> tried to use the backward compatiblity to openssl from gnutls using
> gnutls/openssl.h header, but it not work (I tried). Also if you want
> to use the gnutls backward compatiblity gnutls/openssl.h, you need to
> link the libgnutls-openssl.so library in addition to libgnutls.so.
>
> Now all work fine with both.
>
> I send the patch. Of course to apply the configure.ac, you need to do
> run automake command.
>
> I hope this patch would be included in the offcial centerim branch.
> With this I can build the official debian package, because I can't do
> with the Openssl support by the license problems mentioned above.
>
> Please, I hope your comments.
>
> Regards.
>
>
>
>
>
>
>
>
>
>
> --
> Anibal Avelar (FixXxeR) http://fixxxer.cc
> GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B6 4656
>
>


--=20
Anibal Avelar (FixXxeR) http://fixxxer.cc
GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B6 4656


------------------------------

_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://chlor.kofeina.net/mailman/listinfo/cicq


End of Cicq Digest, Vol 44, Issue 1
***********************************


=20
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
--0-1819492281-1181735505=:55205
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi All,<br><br>Even after doing this patch and compilation , I could not =
connect to gtalk .<br>Could you please help me on this.<br><br>my setting=
s<br>&#9472; Serverg:gmail.com:5222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>c=
icq-request-xGejAJT2w6wWP6gT/[email protected]</i></b> wrote:<blockquote class=3D"replbq=
" style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; pad=
ding-left: 5px;"> Send Cicq mailing list submissions to<br> cicq@mailman.=
linuxpl.org<br><br>To subscribe or unsubscribe via the World Wide Web, vi=
sit<br>
 http://chlor.kofeina.net/mailman/listinfo/cicq<br>or, via email, send a =
message with subject or body 'help' to<br> cicq-request-xGejAJT2w6wWP6gT/[email protected]=
rg<br><br>You can reach the person managing the list at<br> cicq-owner@ma=
ilman.linuxpl.org<br><br>When replying, please edit your Subject line so =
it is more specific<br>than "Re: Contents of Cicq digest..."<br><br><br>T=
oday's Topics:<br><br>   1. gnutls support is ready (Anibal Avelar)<br>  =
 2. Re: gnutls support is ready (Anibal Avelar)<br><br><br>--------------=
--------------------------------------------------------<br><br>Message: =
1<br>Date: Tue, 12 Jun 2007 09:58:15 -0500<br>From: "Anibal Avelar" <debi=
[email protected]><br>Subject: [cicq] gnutls support is ready<br>To: "Center=
IM users discussion list" <centerim-users-Cffqi/[email protected]>,<br> "CenterIM de=
velopers discussion list" <centerim-devel-Cffqi/[email protected]>,<br> "CenterICQ L=
ist" <cicq-xGejAJT2w6wWP6gT/[email protected]><br>Message-ID:<br>
 <ad3a81110706120758k6f0b6d97ha51f8ea1fadcdb4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org><br>Content-=
Type: text/plain; charset=3D"iso-8859-1"<br><br>Hi everybody.<br><br>Beca=
use I saw centerim has problems to work with gnutls I made the<br>definit=
ive support to GNUTLS library. The normal way was to use<br>openssl  inst=
ead gnutls.<br>But at least into Debian, the openssl license is GPL non-c=
ompatible,<br>for that is better to use gnutls support.<br><br>Whom were =
affected?<br><br> + Jabber with SSL support (necessary to gTalk)<br> + Ga=
du Gadu with SSL support<br><br>I proved with this:<br><br>./configure --=
with-ssl<br><br>Installing  libgnutls-dev instead libssl-dev, Jabber/gTal=
k does not work.<br><br>I check what was the problem and I found it.<br><=
br>When you gives the --with-ssl parameter centerim to find for OpenSSL<b=
r>by default, it didn't find it, check for gnutls support. This is good.<=
br><br>But the problem is:<br><br>Inside connwrap/configure.ac and libgad=
u/configure.ac files aren't<br>prepare to
 receive this parameters, for example in<br>connwrap/configure.ac:<br><br=
>if test -n "$with_ssl" -a x"$with_ssl" !=3D xno; then<br>    AC_DEFINE(H=
AVE_SSL)<br>    if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; =
then<br>        AC_DEFINE(HAVE_OPENSSL)<br>        AC_CHECK_LIB(crypto, m=
ain, [<br>            AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [<b=
r>                AC_DEFINE(HAVE_SSLEAY)<br>            ])<br>           =
 ])<br>  fi<br>fi<br><br>We don't have defined the HAVE_GNUTLS var, then =
when I want to use it<br>inside connwrap/ files, it's not defined.<br><br=
>The correct would be:<br><br><br>if test -n "$with_ssl" -a x"$with_ssl" =
!=3D xno; then<br>    AC_DEFINE(HAVE_SSL)<br>    if test -n "$with_openss=
l" -a x"$with_openssl" !=3D xno; then<br>        AC_DEFINE(HAVE_OPENSSL)<=
br>        AC_CHECK_LIB(crypto, main, [<br>            AC_CHECK_LIB(crypt=
o, SSLeay_add_all_algorithms, [<br>                AC_DEFINE(HAVE_SSLEAY)=
<br>            ])<br>            ])<br>  =20
 else<br>         AC_MSG_RESULT([not found or disabled])<br>         with=
_ssl=3D"no"<br><br>          AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [<br>        =
  AC_CHECK_LIB(lzo, lzo1x_1_compress, [], [<br>                          =
  echo "lzo compression is required.";<br>                            exi=
t -1<br>                            ] )<br>                       CXXFLAG=
S=3D"$CXXFLAGS $LIBGNUTLS_CFLAGS"<br>                       LIBS=3D"$LIBS=
 $LIBGNUTLS_LIBS -lgnutls-extra"<br>                       AC_DEFINE(HAVE=
_GNUTLS, 1, [use gnutls])<br>          with_ssl=3D"yes"<br>          ac_c=
onfigure_args=3D"$ac_configure_args --with-ssl"<br>          ])<br>  fi<b=
r>fi<br><br>Is strange that in the top directory on centerim has defined =
it, but<br>not below (is exactly the same problem inside libgadu dir).<br=
><br>I fixed both files (connwrap/configure.ac and libgadu/configure.ac)<=
br>and after I did the porting to gnutls.<br><br>Now, we have both suppor=
ts without problems: Openssl and GNUTLS.
 Also<br>are mutually excluded to avoid problems.<br><br>To work you need=
:<br><br>If you have OpenSSL<br>./configure --with-ssl<br><br>If you have=
 Gnutls<br>./configure --with-ssl --with-openssl=3Dno<br><br>This is beca=
use by default is --with-openssl=3Dyes<br><br>The second reason because I=
 had to do this is because Julien Lemoine<br>tried to use the backward co=
mpatiblity to openssl from gnutls using<br>gnutls/openssl.h header, but i=
t not work (I tried). Also if you want<br>to use the gnutls backward comp=
atiblity gnutls/openssl.h, you need to<br>link the libgnutls-openssl.so l=
ibrary in addition to libgnutls.so.<br><br>Now all work fine with both.<b=
r><br>I send the patch. Of course to apply the configure.ac, you need to =
do<br>run automake command.<br><br>I hope this patch would be included in=
 the offcial centerim branch.<br>With this I can build the official debia=
n package, because I can't do<br>with the Openssl support by the license =
problems mentioned above.<br><br>Please, I
 hope your comments.<br><br>Regards.<br><br><br><br><br><br><br><br><br><=
br><br>-- <br>Anibal Avelar (FixXxeR) http://fixxxer.cc<br>GPG: 83B64656 =
- C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B6 4656<br>-------------- ne=
xt part --------------<br>A non-text attachment was scrubbed...<br>Name: =
patch-gnutls<br>Type: application/octet-stream<br>Size: 15125 bytes<br>De=
sc: not available<br>Url : http://chlor.kofeina.net/pipermail/cicq/attach=
ments/20070612/4c22e6fd/attachment-0001.obj <br><br>---------------------=
---------<br><br>Message: 2<br>Date: Tue, 12 Jun 2007 16:58:34 -0500<br>F=
rom: "Anibal Avelar" <[email protected]><br>Subject: Re: [cicq] gnutls s=
upport is ready<br>To: "CenterIM users discussion list" <centerim-users@c=
enterim.org>,<br> "CenterIM developers discussion list" <centerim-devel@c=
enterim.org>,<br> "CenterICQ List" <cicq-xGejAJT2w6wWP6gT/[email protected]><br>Message-=
ID:<br> <ad3a81110706121458ma377009m6f0a5ab3eef6e024-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org><br>C=
ontent-Type: text/plain;
 charset=3DISO-8859-1; format=3Dflowed<br><br>Hi everybody again.<br><br>=
While wait for the patch I have ready a experimental version for<br>cente=
rim with gnutls (effective) support in my personal debian<br>unstable rep=
ository [1]:<br><br>deb http://fixxxer.cc/debian unstable/<br>deb-src htt=
p://fixxxer.cc/debian unstable/<br><br>Regards.<br><br>[1] http://fixxxer=
.cc/blog-en/?page_id=3D13<br><br>On 6/12/07, Anibal Avelar <debianmx@gmai=
l.com> wrote:<br>&gt; Hi everybody.<br>&gt;<br>&gt; Because I saw centeri=
m has problems to work with gnutls I made the<br>&gt; definitive support =
to GNUTLS library. The normal way was to use<br>&gt; openssl  instead gnu=
tls.<br>&gt; But at least into Debian, the openssl license is GPL non-com=
patible,<br>&gt; for that is better to use gnutls support.<br>&gt;<br>&gt=
; Whom were affected?<br>&gt;<br>&gt;  + Jabber with SSL support (necessa=
ry to gTalk)<br>&gt;  + Gadu Gadu with SSL support<br>&gt;<br>&gt; I prov=
ed with this:<br>&gt;<br>&gt; ./configure
 --with-ssl<br>&gt;<br>&gt; Installing  libgnutls-dev instead libssl-dev,=
 Jabber/gTalk does not work.<br>&gt;<br>&gt; I check what was the problem=
 and I found it.<br>&gt;<br>&gt; When you gives the --with-ssl parameter =
centerim to find for OpenSSL<br>&gt; by default, it didn't find it, check=
 for gnutls support. This is good.<br>&gt;<br>&gt; But the problem is:<br=
>&gt;<br>&gt; Inside connwrap/configure.ac and libgadu/configure.ac files=
 aren't<br>&gt; prepare to receive this parameters, for example in<br>&gt=
; connwrap/configure.ac:<br>&gt;<br>&gt; if test -n "$with_ssl" -a x"$wit=
h_ssl" !=3D xno; then<br>&gt;     AC_DEFINE(HAVE_SSL)<br>&gt;     if test=
 -n "$with_openssl" -a x"$with_openssl" !=3D xno; then<br>&gt;         AC=
_DEFINE(HAVE_OPENSSL)<br>&gt;         AC_CHECK_LIB(crypto, main, [<br>&gt=
;             AC_CHECK_LIB(crypto, SSLeay_add_all_algorithms, [<br>&gt;  =
               AC_DEFINE(HAVE_SSLEAY)<br>&gt;             ])<br>&gt;     =
        ])<br>&gt;   fi<br>&gt;
 fi<br>&gt;<br>&gt; We don't have defined the HAVE_GNUTLS var, then when =
I want to use it<br>&gt; inside connwrap/ files, it's not defined.<br>&gt=
;<br>&gt; The correct would be:<br>&gt;<br>&gt;<br>&gt; if test -n "$with=
_ssl" -a x"$with_ssl" !=3D xno; then<br>&gt;     AC_DEFINE(HAVE_SSL)<br>&=
gt;     if test -n "$with_openssl" -a x"$with_openssl" !=3D xno; then<br>=
&gt;         AC_DEFINE(HAVE_OPENSSL)<br>&gt;         AC_CHECK_LIB(crypto,=
 main, [<br>&gt;             AC_CHECK_LIB(crypto, SSLeay_add_all_algorith=
ms, [<br>&gt;                 AC_DEFINE(HAVE_SSLEAY)<br>&gt;             =
])<br>&gt;             ])<br>&gt;     else<br>&gt;          AC_MSG_RESULT=
([not found or disabled])<br>&gt;          with_ssl=3D"no"<br>&gt;<br>&gt=
;           AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [<br>&gt;           AC_CHECK_L=
IB(lzo, lzo1x_1_compress, [], [<br>&gt;                             echo =
"lzo compression is required.";<br>&gt;                             exit =
-1<br>&gt;                             ]
 )<br>&gt;                        CXXFLAGS=3D"$CXXFLAGS $LIBGNUTLS_CFLAGS=
"<br>&gt;                        LIBS=3D"$LIBS $LIBGNUTLS_LIBS -lgnutls-e=
xtra"<br>&gt;                        AC_DEFINE(HAVE_GNUTLS, 1, [use gnutl=
s])<br>&gt;           with_ssl=3D"yes"<br>&gt;           ac_configure_arg=
s=3D"$ac_configure_args --with-ssl"<br>&gt;           ])<br>&gt;   fi<br>=
&gt; fi<br>&gt;<br>&gt; Is strange that in the top directory on centerim =
has defined it, but<br>&gt; not below (is exactly the same problem inside=
 libgadu dir).<br>&gt;<br>&gt; I fixed both files (connwrap/configure.ac =
and libgadu/configure.ac)<br>&gt; and after I did the porting to gnutls.<=
br>&gt;<br>&gt; Now, we have both supports without problems: Openssl and =
GNUTLS. Also<br>&gt; are mutually excluded to avoid problems.<br>&gt;<br>=
&gt; To work you need:<br>&gt;<br>&gt; If you have OpenSSL<br>&gt; ./conf=
igure --with-ssl<br>&gt;<br>&gt; If you have Gnutls<br>&gt; ./configure -=
-with-ssl --with-openssl=3Dno<br>&gt;<br>&gt;
 This is because by default is --with-openssl=3Dyes<br>&gt;<br>&gt; The s=
econd reason because I had to do this is because Julien Lemoine<br>&gt; t=
ried to use the backward compatiblity to openssl from gnutls using<br>&gt=
; gnutls/openssl.h header, but it not work (I tried). Also if you want<br=
>&gt; to use the gnutls backward compatiblity gnutls/openssl.h, you need =
to<br>&gt; link the libgnutls-openssl.so library in addition to libgnutls=
.so.<br>&gt;<br>&gt; Now all work fine with both.<br>&gt;<br>&gt; I send =
the patch. Of course to apply the configure.ac, you need to do<br>&gt; ru=
n automake command.<br>&gt;<br>&gt; I hope this patch would be included i=
n the offcial centerim branch.<br>&gt; With this I can build the official=
 debian package, because I can't do<br>&gt; with the Openssl support by t=
he license problems mentioned above.<br>&gt;<br>&gt; Please, I hope your =
comments.<br>&gt;<br>&gt;
 Regards.<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;=
<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Anibal Avelar (FixXxeR) http://fixxxe=
r.cc<br>&gt; GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B=
6 4656<br>&gt;<br>&gt;<br><br><br>-- <br>Anibal Avelar (FixXxeR) http://f=
ixxxer.cc<br>GPG: 83B64656 - C143 4AD8 B017 53FA B742  D6AA CEEA F9F3 83B=
6 4656<br><br><br>------------------------------<br><br>_________________=
______________________________<br>Cicq mailing list<br>Cicq-xGejAJT2w6yQN3pWzqx/[email protected]=
pl.org<br>http://chlor.kofeina.net/mailman/listinfo/cicq<br><br><br>End o=
f Cicq Digest, Vol 44, Issue
 1<br>***********************************<br></[email protected]></ad3a8=
1110706121458ma377009m6f0a5ab3eef6e024-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org></[email protected]=
xpl.org></centerim-devel-Cffqi/[email protected]></centerim-users-Cffqi/[email protected]></deb=
[email protected]></ad3a81110706120758k6f0b6d97ha51f8ea1fadcdb4-JsoAwUIsXotQFR93xxRIaA@public.gmane.org=
com></cicq-xGejAJT2w6wWP6gT/[email protected]></centerim-devel-Cffqi/[email protected]></centerim-u=
sers-Cffqi/[email protected]></[email protected]></blockquote><br><p>&#32;

<hr size=3D1>TV dinner still cooling?<br><a href=3D"http://us.rd.yahoo.co=
m/evt=3D49979/*http://tv.yahoo.com/">Check out "Tonight's Picks"</a> on Y=
ahoo! TV.
--0-1819492281-1181735505=:55205--

--===============8874868250873524985==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/
--===============8874868250873524985==--