[asterisk-bugs] [JIRA] (ASTERISK-29867) configure fails if libsrtp dev files are not installed
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Jan 17 14:29:07 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Bright updated ASTERISK-29867:
-----------------------------------
PJSIP Bundled: Yes
> configure fails if libsrtp dev files are not installed
> ------------------------------------------------------
>
> Key: ASTERISK-29867
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29867
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Third-Party/pjproject
> Affects Versions: GIT
> Reporter: Sean Bright
>
> 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}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list