[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
Mon Mar 5 06:43:13 CST 2018


Alexander Traud created ASTERISK-27717:
------------------------------------------

             Summary: [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
    Affects Versions: 15.2.2, 13.19.2
         Environment: NetBSD 7.1.1
            Reporter: Alexander Traud
            Severity: Minor
         Attachments: NetBSD_enable_python.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