mqtt_lua
mqtt_lua copied to clipboard
Unable to run the MQTT client on Ubuntu.
Hi, Can you please what is wrong here?
When I run the mqtt_test
, I get a message about the requirement of luarocks.require
. I tried installing it with sudo luarocks --server=http://rocks.moonscript.org install luarocks.require
. However that installable is reported as not found. Strange; because, the description of this module is available here.
Looking at the code (line 45), I tried running the test example as sudo mqtt_test
. Now, it fails with requirement of pl.lapp
. I did install Penlight with sudo luarocks install penlight
; but, strangely, it is installed in the 5.1
directory whereas I am using Lua 5.2 (confirmed with lua -v
).
So, I am confused; how do I get this running?
I have the same problem. Have you ever solved this?