[asterisk-bugs] [JIRA] (ASTERISK-27721) [patch] BuildSystem: Enable PortAudio in NetBSD.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Mar 6 06:22:13 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242454#comment-242454 ] 

Asterisk Team commented on ASTERISK-27721:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> [patch] BuildSystem: Enable PortAudio in NetBSD.
> ------------------------------------------------
>
>                 Key: ASTERISK-27721
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27721
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.2, 15.2.2
>         Environment: NetBSD 7.1.1
>            Reporter: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: NetBSD_enable_portaudio.patch
>
>
> The channel driver {{chan_console}} has a dependency on the external library PortAudio. The script {{./configure}} assumes PortAudio 2.x. In NetBSD, PortAudio 1.x is the default. The newer version is available and can be installed side by side, but gets placed in a 'portaudio2' subdirectory:
> * {{/usr/pkg/lib/portaudio2/libportaudio.so}}
> * {{/usr/pkg/include/portaudio2/portaudio.h}}
> Therefore, {{./configure}} was not able to detect PortAudio on NetBSD. Lukily, PortAudio is listed via the tool {{pkg-config}}. That way, Asterisk is able to determine the path of the headers and libraries automatically. The attached patch leverages this.
> As with Python, one cannot specify a version with pkg-config in NetBSD. Why ever. This works in Ubuntu. Therefore, this explicit string 'portaudio-2.0' is required for NetBSD. Consequently, the previous check must stay.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list