<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">On Sun, Feb 26, 2023 at 8:25 AM Luiz Carlos Ramos via SlackBuilds-users <<a href="mailto:slackbuilds-users@slackbuilds.org">slackbuilds-users@slackbuilds.org</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I could do a trick here to make it build in machines where lua 5.3 is<br>
installed alongside lua 5.1. It is done simply adding these two lines in<br>
the cmake invocation:<br>
<br>
    -DLUA_LIBRARIES=/usr/lib64/<a href="http://liblua5.3.so" rel="noreferrer" target="_blank">liblua5.3.so</a> \<br>
    -DLUA_INCLUDE_DIR=/usr/include/lua5.3 \<br>
<br>
Don't know exactly how it works in the inner bits, but the intention is<br>
to instruct CMake to find the correct version of Lua.<br>
<br>
Hope it helps,<br>
<br>
Luiz Carlos Ramos<br>
São Paulo - Brazil<br>
<a href="mailto:lramos.prof@yahoo.com.br" target="_blank">lramos.prof@yahoo.com.br</a></blockquote><div> </div><div><span style="font-family:monospace,monospace">Luiz Carlos Ramos --</span></div><div><br></div><div class="gmail_default" style="font-family:monospace,monospace">Those two defines worked for me too with these two lua packages installed:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div>   lua-5.1.5-x86_64-1_SBo<br>   lua53-5.3.4-x86_64-1_SBo<br><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Attached is a patch for the conky.SlackBuild with your two defines.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">It looks like a Keeper.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks !</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-- kjh</div><div class="gmail_default" style="font-family:monospace,monospace"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-family:monospace,monospace"></span><br>
</blockquote></div></div>