Lua Bug: Weechat installation failed on slackware-current
by notpua from LinuxQuestions.org on (#6HD82)
So i am trying to build WeeChat (IRC client). I went to slackbuilds and grabbed the source and the slackbuilds,
and ran it using Code: # ./weechat.SlackBuild.
The README does say that to enable lua support install one of the lua packages which I did install lua, lua-filesystem packages.
And I'm sure it is fully installed and works, for instance I even installed luacheck using:
Code:sudo luarocks install luacheck.
And here's lua -v output.
Code:$ lua -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio. The compilations gives error:
Code:/usr/bin/ld: cannot find -llua$MAJVER: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [src/plugins/lua/CMakeFiles/lua.dir/build.make:114: src/plugins/lua/lua.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1744: src/plugins/lua/CMakeFiles/lua.dir/all] Error 2
make: *** [Makefile:146: all] Error 2Here's the full output. pastebin.
Things I have tried.
Code:$ uname -r
Linux iuseotherswifi.notpua 6.1.61 #1 SMP PREEMPT_DYNAMIC Thu Nov 2 15:01:07 CDT 2023 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
and ran it using Code: # ./weechat.SlackBuild.
The README does say that to enable lua support install one of the lua packages which I did install lua, lua-filesystem packages.
And I'm sure it is fully installed and works, for instance I even installed luacheck using:
Code:sudo luarocks install luacheck.
And here's lua -v output.
Code:$ lua -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio. The compilations gives error:
Code:/usr/bin/ld: cannot find -llua$MAJVER: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [src/plugins/lua/CMakeFiles/lua.dir/build.make:114: src/plugins/lua/lua.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1744: src/plugins/lua/CMakeFiles/lua.dir/all] Error 2
make: *** [Makefile:146: all] Error 2Here's the full output. pastebin.
Things I have tried.
- Build lua from source
- Install lua53 or lua52
Code:$ uname -r
Linux iuseotherswifi.notpua 6.1.61 #1 SMP PREEMPT_DYNAMIC Thu Nov 2 15:01:07 CDT 2023 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux