[Home]

Summary:ASTERISK-16739: chan_sip doesn't get built if missing OpenSSL dependencies
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2010-09-27 09:00:05Date Closed:2010-09-27 13:39:07
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Per kpfleming:

"one report on asterisk-users of someone who built 1.8.0-rc2 and chan_sip didn't get built, because they didn't have openssl-devel installed. that's going to be nasty for a lot of people. in the past, i have thought about having menuselect output a list of modules that will *not* be built due to dependency failures (and what they are) after the user exits from the UI... that might help."

"it's chan_sip (with srtp) -> res_crypto -> openssl

Although the res_crypto stuff is supposed to be optional... it certainly warrants some investigation"
Comments:By: Russell Bryant (russell) 2010-09-27 11:48:05

I was able to reproduce this failure on my personal Asterisk box which runs Ubuntu 10.04.  I ran the configure script with --without-ssl and chan_sip can not be built due to a failed dependency on res_crypto.


russell@pbx:~/src/asterisk/1.8.0-rc2$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

russell@pbx:~/src/asterisk/1.8.0-rc2$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

By: Digium Subversion (svnbot) 2010-09-27 13:37:42

Repository: asterisk
Revision: 288961

U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r288961 | tilghman | 2010-09-27 13:37:41 -0500 (Mon, 27 Sep 2010) | 5 lines

Still build SIP, even if res_crypto cannot be built (use, not depend).

(closes issue ASTERISK-16739)
Reported by: a user on the mailing list

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

http://svn.digium.com/view/asterisk?view=rev&revision=288961

By: Digium Subversion (svnbot) 2010-09-27 13:39:06

Repository: asterisk
Revision: 288962

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r288962 | tilghman | 2010-09-27 13:39:06 -0500 (Mon, 27 Sep 2010) | 12 lines

Merged revisions 288961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r288961 | tilghman | 2010-09-27 13:37:41 -0500 (Mon, 27 Sep 2010) | 5 lines
 
 Still build SIP, even if res_crypto cannot be built (use, not depend).
 
 (closes issue ASTERISK-16739)
  Reported by: a user on the mailing list
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=288962