[asterisk-bugs] [JIRA] (ASTERISK-27717) [patch] BuildSystem: In NetBSD, the Python Programming Language is python-2.7.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Apr 13 16:56:25 CDT 2020


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

Friendly Automation commented on ASTERISK-27717:
------------------------------------------------

Change 14175 merged by Friendly Automation:
BuildSystem: Search for Python/C API when possibly needed only.

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

> [patch] BuildSystem: In NetBSD, the Python Programming Language is python-2.7.
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27717
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27717
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem, Tests/testsuite
>    Affects Versions: 13.20.0, 15.3.0
>         Environment: Arch Linux (rolling release)
> DragonFly BSD 5.2
> Gentoo Linux 17.0
> NetBSD 7.1.1
> Ubuntu 18.04 LTS
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: patch, pjsip
>         Attachments: NetBSD_enable_python.patch, NetBSD_enable_python_revision_2.patch, NetBSD_enable_python_revision_3.patch
>
>
> The script {{./configure}} assumes that Python 2.x has a tool named 'python' and is listed in the tool {{pkg-config}} as 'python'. However, on some platforms, no default Python package exists. Python 2.x and Python 3.x can be installed side by side and each gets its own path/name. For example in NetBSD, the package python27 installs
> * {{/usr/pkg/bin/python2.7}} (without a dash) and
> * {{/usr/pkg/lib/pkgconf/python-2.7.pc}}.
> Therefore, Python could not be used by Asterisk in NetBSD.



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



More information about the asterisk-bugs mailing list