ProgAndy <admin@xxxxxxxxxxx> 于2019年11月9日周六 下午4:29写道: > > 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 Thanks a lot for pointing this out. I simply linked the usr/lib/pkgconfig/lua52.pc to usr/lib/pkgconfig/lua5.2.pc and it does the trick. > > Regards, > Andy -- Hongsheng Zhao <hongyi.zhao@xxxxxxxxx> Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493