[asterisk-bugs] [JIRA] (ASTERISK-29867) configure fails if libsrtp dev files are not installed

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Feb 3 06:47:09 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29867:
-------------------------------------

    Target Release Version/s: 16.24.0

> 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
>            Assignee: Sean Bright
>      Target Release: 16.24.0
>
>
> 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