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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Jan 30 02:42:13 CST 2018


Alexander Traud created ASTERISK-27638:
------------------------------------------

             Summary: 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
         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://
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