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

ProgAndy admin at progandy.de
Sat Nov 9 08:28:50 UTC 2019


Am 09.11.19 um 08:42 schrieb Ralf Mardorf via arch-general:
...
> 
>>> Package lua5.2 was not found in the pkg-config search path.
> 
...
> Regards,
> Ralf
> 

Hello,

In this case the issue is a difference in packaging between debian and arch based distros. 
Debain provides lua5.2.pc as well as lua52.pc, while arch only has the latter.

Lua itself does not provide any pkgconfig files, so those are added by the maintainers.

If you use git packages, you should be able to detect such errors and create patches.

$ pacman -Fl lua52 | grep pkgconfig
lua52 usr/lib/pkgconfig/
lua52 usr/lib/pkgconfig/lua52.pc

* https://packages.debian.org/bullseye/amd64/liblua5.2-dev/filelist
/usr/lib/x86_64-linux-gnu/pkgconfig/lua-5.2-c++.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/lua-5.2.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/lua5.2-c++.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/lua5.2.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/lua52-c++.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/lua52.pc

Regards,
Andy


More information about the arch-general mailing list