[asterisk-bugs] [JIRA] (ASTERISK-21760) Asterisk autoconf script does not check for pkg-config as a dependency
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Fri May 4 09:05:55 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-21760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243312#comment-243312 ]
Alexander Traud commented on ASTERISK-21760:
--------------------------------------------
[~okrief], thanks for reporting this. It is a bug for sure because the error message is not descriptive. I stumbled about the same issue and commented about this in ASTERISK-27555: {{pkg-config}} is now part of of the installation script for the prerequisites {{contrib/scripts/install_prereq}}. This is not a resolution to this bug here but makes this issue more unlikely. By the way: You have to go for {{./bootstrap.sh}} (and install {{autoconf}}) only when you edit/patch the file {{configure.ac}}.
> Asterisk autoconf script does not check for pkg-config as a dependency
> ----------------------------------------------------------------------
>
> Key: ASTERISK-21760
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21760
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 11.3.0
> Environment: Debian Squeeze
> Reporter: Olivier Krief
> Severity: Minor
> Attachments: configure, configure.log
>
>
> On a fresh Debian Squeeze system, run:
> {{apt-get update}}
> {{apt-get upgrade}}
> {{apt-get install gcc g++ make libncurses5-dev bison libssl-dev libnewt-dev zlib1g-dev libxml2-dev libsqlite3-dev libmemcached-dev autoconf}}
> {{cd /usr/src}}
> {{wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11.3.0.tar.gz}}
> {{tar zxf asterisk-11.3.0.tar.gz}}
> {{sh -x ./bootstrap.sh}}
> {{./configure}}
> The last command fails with:
> checking for gsm_create in -lgsm... no
> ./configure: line 17928: syntax error near unexpected token `ILBC,'
> ./configure: line 17928: ` PKG_CHECK_MODULES(ILBC, libilbc,'
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list