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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Wed Jun 6 07:14:54 CDT 2018


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

Alexander Traud commented on ASTERISK-27717:
--------------------------------------------

In Ubuntu 18.04 LTS, AC_PATH_PROG fails for 'python' because [python-minimal|https://packages.ubuntu.com/bionic/python-minimal] is not installed on default anymore. However, [python3|https://packages.ubuntu.com/bionic/python3] is. Consequently, a search for 'python3.6' would succeed.

> [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
>            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