[Slackbuilds-users] conky compile error

Luiz Carlos Ramos lramos.prof at yahoo.com.br
Sun Feb 26 16:57:06 UTC 2023


On Sun, Feb 26, 2023 at 11:31:52AM -0500, B. Watson wrote:
> 
> 
> On Sun, 26 Feb 2023, Luiz Carlos Ramos via SlackBuilds-users wrote:
> 
> > Hi,
> > 
> > I could do a trick here to make it build in machines where lua 5.3 is
> > installed alongside lua 5.1. It is done simply adding these two lines in
> > the cmake invocation:
> > 
> >    -DLUA_LIBRARIES=/usr/lib64/liblua5.3.so \
> >    -DLUA_INCLUDE_DIR=/usr/include/lua5.3 \
> > 
> > Don't know exactly how it works in the inner bits, but the intention is
> > to instruct CMake to find the correct version of Lua.
> 
> Nothing wrong with doing that, so long as it works in both situations
> (with or without lua-5.1 installed). I'd recommend doing it.

Also, it could be added that lua53 is a necessary dependency of conky,
as coded in the *.info. file. So lua 5.3 should be there.

I think the only thing to test is actually building conky without lua
5.1. It's not my case here but there should be no problems in doing so,
at least theoretically.

Thanks,
Luiz



More information about the SlackBuilds-users mailing list