[Home]

Summary:ASTERISK-29867: configure fails if libsrtp dev files are not installed
Reporter:Sean Bright (seanbright)Labels:
Date Opened:2022-01-17 14:27:12.000-0600Date Closed:2022-01-19 08:38:39.000-0600
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Third-Party/pjproject
Versions:GIT Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:When running {{./configure}} on a machine that doesn't have libsrtp development files installed, the following error is encountered:

{noformat}
...
checking for embedded pjproject (may have to download)... configuring
[pjproject]  Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.10/pjproject-2.10.tar.bz2 to /tmp/pjproject-2.10.tar.bz2
[pjproject]  Verifying /tmp/pjproject-2.10.tar.bz2
[pjproject]  Verify successful
[pjproject]  Verifying /tmp/pjproject-2.10.tar.bz2
[pjproject]  Verify successful
[pjproject]  Unpacking /tmp/pjproject-2.10.tar.bz2
[pjproject]  Applying patches /home/ubuntu/build/asterisk/third-party/pjproject/patches /home/ubuntu/build/asterisk/third-party/pjproject/source
[pjproject]  Applying user.mak
[pjproject]  Rebuilding
[pjproject]  Applying custom include file patches/config_site.h
[pjproject]  Applying custom include file patches/asterisk_malloc_debug.h
[pjproject]  Configuring with --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec --disable-bcg729 --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-opencore-amr --disable-silk --disable-opus --disable-video --disable-v4l2 --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc --without-external-pa --with-external-srtp --disable-resample --disable-g711-codec --enable-epoll
aconfigure: error: Unable to use SRTP. If SRTP development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths
make: *** [Makefile:121: source/build.mak] Error 1
failed
configure: Unable to configure third-party/pjproject
configure: error: Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.
{noformat}
Comments:By: George Joseph (gjoseph) 2022-01-18 10:59:58.768-0600

[~seanbright] Give the review a test when you get a chance.


By: Sean Bright (seanbright) 2022-01-18 11:16:36.262-0600

WFM

By: Friendly Automation (friendly-automation) 2022-01-19 08:38:40.566-0600

Change 17895 merged by Friendly Automation:
bundled_pjproject: Fix srtp detection

[https://gerrit.asterisk.org/c/asterisk/+/17895|https://gerrit.asterisk.org/c/asterisk/+/17895]

By: Friendly Automation (friendly-automation) 2022-01-19 08:48:26.765-0600

Change 17894 merged by Joshua Colp:
bundled_pjproject: Fix srtp detection

[https://gerrit.asterisk.org/c/asterisk/+/17894|https://gerrit.asterisk.org/c/asterisk/+/17894]

By: Friendly Automation (friendly-automation) 2022-01-19 08:48:41.702-0600

Change 17873 merged by Joshua Colp:
bundled_pjproject: Fix srtp detection

[https://gerrit.asterisk.org/c/asterisk/+/17873|https://gerrit.asterisk.org/c/asterisk/+/17873]

By: Friendly Automation (friendly-automation) 2022-01-19 08:48:54.958-0600

Change 17896 merged by Joshua Colp:
bundled_pjproject: Fix srtp detection

[https://gerrit.asterisk.org/c/asterisk/+/17896|https://gerrit.asterisk.org/c/asterisk/+/17896]