[Dnsmasq-discuss] Failed to compile dnsmasq latest git version with `-DHAVE_LUASCRIPT' on Manjaro.

Geert Stappers stappers at stappers.nl
Sat Nov 9 07:16:13 GMT 2019


On Sat, Nov 09, 2019 at 02:27:49PM +0800, Hongyi Zhao wrote:
> Hi,
> 
> See the following:
> 
> $ uname -a
> Linux Manjaro 5.3.7-2-MANJARO #1 SMP PREEMPT Tue Oct 22 18:56:05 UTC
> 2019 x86_64 GNU/Linux
> 
> $ yay -S lua52
> 
> $ make COPTS="-DHAVE_DBUS -DHAVE_IDN -DHAVE_LUASCRIPT -DHAVE_CONNTRACK
> -DHAVE_DNSSEC" -j24
> Package lua5.2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `lua5.2.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'lua5.2', required by 'virtual:world', not found
> Package lua5.2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `lua5.2.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'lua5.2', required by 'virtual:world', not found
> make[1]: Entering directory
      ...
> make[1]: *** [/home/data/software/dnsmasq.git/Makefile:164: dnsmasq] Error 1
> make[1]: Leaving directory '/home/data/software/dnsmasq.git/src'
> make: *** [Makefile:86: all] Error 2
> 
> 
> How to solve this issue?

Install the Manjaro equivalent of the Debian package `liblua5.2-dev`

AFAIK has Manjaro the yellowdog update manager so start with
 yum search lua
to find the actual package name, then install that package.

Yes, it is appricated to report milage.


Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the Dnsmasq-discuss mailing list