Rspamd: [BUG] Debian/aarch64 Build - Lua not found, lua support is required

Created on 28 Jun 2019  路  3Comments  路  Source: rspamd/rspamd

Hello,

I'm trying to compile rspamd for aarch64 (RK3399) by following the instructions available at https://rspamd.com/downloads.html. Unfortunately it doesn't seem to work:

root@mx10:/mnt/SU1/rspam/rspamd.build# cmake ../rspamd                                                                                                                           -- Hyperscan support is possible only for x86_64 architecture
-- Configuring for Linux
-- Check for luajit 5.1
-- Fallback from luajit to plain lua
-- Check for lua 5.1
CMake Error at CMakeLists.txt:616 (MESSAGE):
  Lua not found, lua support is required

Now, as you can see lua is installed:

root@mx10:/mnt/SU1/rspam/rspamd.build# lua -v                                                                                                                                    Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

Is this related to my architecture or am I missing something?

Distributor ID: Debian
Description:    Debian GNU/Linux 9.9 (stretch)
Release:        9.9
Codename:       stretch

Thank you.

bug

All 3 comments

Hello there,

You likely just need the dev version of lua. I don't have Debian readily handy here but I suspect it would be liblua-dev.

Good luck.

@lhorace thank you for the tip. Here is the complete list of packages I had to install to make it work: apt install ragel libevent-dev lua5.1 liblua5.1-dev cmake sqlite3 libmagic-dev libsqlite3-dev libicu-dev.

Learn your system's commands: apt-get build-dep

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dothebart picture dothebart  路  3Comments

TPWareHouseManager picture TPWareHouseManager  路  6Comments

mguesdon picture mguesdon  路  5Comments

tomassrnka picture tomassrnka  路  7Comments

tleuxner picture tleuxner  路  5Comments