Re: Failed to compile dnsmasq latest git version with `-DHAVE_LUASCRIPT' on Manjaro.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux