[asterisk-bugs] [JIRA] (ASTERISK-27638) BuildSystem: Enable Lua in FreeBSD.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Feb 13 09:44:13 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Traud updated ASTERISK-27638:
---------------------------------------

    Attachment:     (was: FreeBSD_enable_lua.patch)

> BuildSystem: Enable Lua in FreeBSD.
> -----------------------------------
>
>                 Key: ASTERISK-27638
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27638
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_lua
>    Affects Versions: 13.19.0
>         Environment: FreeBSD 11.1
>            Reporter: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: FreeBSD_enable_lua.patch
>
>
> {{./configure}} does not detect the external package Lua on FreeBSD, because the shared library and the path of the header files is different, compared to Debian/Ubuntu and RHEL/CentOS/Fedora. Lua is required for the module _pbx_lua_ which was added in November 2007 with ASTERISK-10667.
> Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves:{code}fetch --no-verify-peer https://issues.asterisk.org/jira/secure/attachment/57045/FreeBSD_enable_lua.patch
> patch -p0 <./FreeBSD_enable_lua.patch
> ./bootstrap.sh
> ./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general. An alternative approach would be to use [ax_lua...|https://www.gnu.org/s/autoconf-archive/ax_lua.html]
> That approach should have been used in ASTERISK-23011 and ASTERISK-27592 already. Hopefully someone actually using Lua, shares his time to do this change here.



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



More information about the asterisk-bugs mailing list