I finally got Asterisk to compile under RH9. It looks like
SSL+KRB5 is broken under RH9. This was something that wasn't in RH8, and
probably added with OpenSSL 0.9.7 (also not in RH8) and not debugged before
release.
So, all that has to be done is to disable KRB5 support in
OpenSSL by adding a compile-time declaration to the Makefile for
res_crypto.c:
Under asterisk/res, edit the Makefile and add an additional
CFLAGS+= line:
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
I
finally got Asterisk to compile under RH9. It looks like SSL+KRB5 =
is
broken under RH9. This was something that wasn’t in RH8, and
probably added with OpenSSL 0.9.7 (also not in RH8) and not debugged =
before
release…</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
So,
all that has to be done is to disable KRB5 support in OpenSSL by adding =
a
compile-time declaration to the Makefile for =
res_crypto.c:</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
Under
asterisk/res, edit the Makefile and add an additional CFLAGS+=3D =
line:</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> =
This
will work until RH9 fixes the problem…</span></font></p>
Posted: Tue Apr 08, 2003 7:45 pm Post subject: [Asterisk-Dev] Asterisk on RedHat 9.0 - fix
Additionally (and the more 'correct' way), you can add a CFLAGS +=
`pkg-config --cflags openssl` which will ensure that the /usr/include/krb5
directory is in the include path and everything builds properly. The long
term approach may be to see if pkg-config for openssl is available and if
so, use it to get the CFLAGS. This behavior is not likely to revert to
the old way.
On Mon, 7 Apr 2003, Wade Weppler wrote:
Quote:
Hi all,
I finally got Asterisk to compile under RH9. It looks like
SSL+KRB5 is broken under RH9. This was something that wasn't in RH8, and
probably added with OpenSSL 0.9.7 (also not in RH8) and not debugged before
release.
So, all that has to be done is to disable KRB5 support in
OpenSSL by adding a compile-time declaration to the Makefile for
res_crypto.c:
Under asterisk/res, edit the Makefile and add an additional
CFLAGS+= line:
Posted: Tue Apr 08, 2003 8:06 pm Post subject: [Asterisk-Dev] Asterisk on RedHat 9.0 - fix
I installed RH9.0 and done a fresh checkout of Asterisk. I then typed "make" and had no problems. You may have missed a packaged during install?
-----Original Message-----
From: David Hollis [mailto:dhollis@davehollis.com]
Sent: Tuesday, April 08, 2003 3:45 PM
To: asterisk-dev@lists.digium.com
Subject: Re: [Asterisk-Dev] Asterisk on RedHat 9.0 - fix
Additionally (and the more 'correct' way), you can add a CFLAGS +=
`pkg-config --cflags openssl` which will ensure that the /usr/include/krb5
directory is in the include path and everything builds properly. The long
term approach may be to see if pkg-config for openssl is available and if
so, use it to get the CFLAGS. This behavior is not likely to revert to
the old way.
On Mon, 7 Apr 2003, Wade Weppler wrote:
Quote:
Hi all,
I finally got Asterisk to compile under RH9. It looks like
SSL+KRB5 is broken under RH9. This was something that wasn't in RH8, and
probably added with OpenSSL 0.9.7 (also not in RH8) and not debugged before
release.
So, all that has to be done is to disable KRB5 support in
OpenSSL by adding a compile-time declaration to the Makefile for
res_crypto.c:
Under asterisk/res, edit the Makefile and add an additional
CFLAGS+= line:
Posted: Tue Apr 08, 2003 8:19 pm Post subject: [Asterisk-Dev] Asterisk on RedHat 9.0 - fix
No, Mark already make a change to asterisk/res/Makefile :)
Martin
On Tue, 8 Apr 2003, DUSTIN WILDES wrote:
Quote:
I installed RH9.0 and done a fresh checkout of Asterisk. I then typed "make" and had no problems. You may have missed a packaged during install?
-----Original Message-----
From: David Hollis [mailto:dhollis@davehollis.com]
Sent: Tuesday, April 08, 2003 3:45 PM
To: asterisk-dev@lists.digium.com
Subject: Re: [Asterisk-Dev] Asterisk on RedHat 9.0 - fix
Additionally (and the more 'correct' way), you can add a CFLAGS +=
`pkg-config --cflags openssl` which will ensure that the /usr/include/krb5
directory is in the include path and everything builds properly. The long
term approach may be to see if pkg-config for openssl is available and if
so, use it to get the CFLAGS. This behavior is not likely to revert to
the old way.
On Mon, 7 Apr 2003, Wade Weppler wrote:
> Hi all,
>
>
>
> I finally got Asterisk to compile under RH9. It looks like
> SSL+KRB5 is broken under RH9. This was something that wasn't in RH8, and
> probably added with OpenSSL 0.9.7 (also not in RH8) and not debugged before
> release.
>
>
>
> So, all that has to be done is to disable KRB5 support in
> OpenSSL by adding a compile-time declaration to the Makefile for
> res_crypto.c:
>
>
>
> Under asterisk/res, edit the Makefile and add an additional
> CFLAGS+= line:
>
>
>
> CFLAGS+=-DOPENSSL_NO_KRB5
>
>
>
> This will work until RH9 fixes the problem.
>
>
>
> -wade
>
>
>
>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum