perhaps you needs to add lua to DEPENDS as well.

On Fri, Mar 4, 2022 at 11:18 AM Gary Huband via lists.yoctoproject.org
<[email protected]> wrote:
>
> How can I enable lua support for suricata?  According to
> https://suricata.readthedocs.io/en/suricata-6.0.0/install.html
> I can add --enable-lua, so I created a suricata_%.bbappend file with
>
> # Add lua
> DEPENDS += "lua-native"
> RDEPENDS_${PN} += "lua"
> EXTRA_OECONF += "--enable-lua"
>
> But when I bitbake suricata I get this error
>
> | checking for magic.h... yes
> | checking for magic_open in -lmagic... yes
> | checking for LUA... no
> | checking for LUA... no
> | checking for LUA... no
> | checking for LUA... no
> | checking lualib.h usability... no
> | checking lualib.h presence... no
> | checking for lualib.h... no
> |
> |    ERROR!  liblua headers not found, go get them
> |    from http://lua.org/index.html or your distribution:
> |
> |    Ubuntu: apt-get install liblua5.1-dev
> |    Fedora: dnf install lua-devel
> |    CentOS/RHEL: yum install lua-devel
> |
> |    If you installed software in a non-standard prefix
> |    consider adjusting the PKG_CONFIG_PATH environment variable
> |    or use --with-liblua-includes and --with-liblua-libraries
> |    configure option.
>
> lua and lua-native appear to build.
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56369): https://lists.yoctoproject.org/g/yocto/message/56369
Mute This Topic: https://lists.yoctoproject.org/mt/89556445/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to