MQTT_Lua vs Luarocks

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MQTT_Lua vs Luarocks

Laurent FAILLIE
Hello,

I'm looking a client stack for MQTT for Lua.

The only one I found is MQTT_Lua (http://geekscape.github.io/mqtt_lua/) but installation fails due to missing files

laurent@chose /tmp/mqtt_lua $ luarocks make

Error: Build error: Failed installing lua/lapp.lua in /usr/local/lib/luarocks/rocks/mqtt/0.0-0/lua
laurent@chose /tmp/mqtt_lua $ ls lua
example  mqtt_library.lua  utility.lua

laurent@chose /tmp/mqtt_lua $ luarocks install mqtt-0.0-0.rockspec
Using mqtt-0.0-0.rockspec... switching to 'build' mode

Error: Error fetching file: Failed downloading http://github.com/downloads/geekscape/mqtt_lua/mqtt_lua-0.0.tar.gz - HTTP/1.1 404 Not Found

Does someone knows a workable MQTT stack for Lua ?

Thanks

---
The misspelling master is on the Web.
  _________ 100 % Dictionnary Free !
/               /(
/ Dico       / / Pleins d'autres fautes sur
/________/ /
(#######( / http://destroyedlolo.info
Quoi, des fautes d'orthographe! Pas possible ;-D.
Reply | Threaded
Open this post in threaded view
|

RE: MQTT_Lua vs Luarocks

Thijs Schreijer

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Laurent FAILLIE
> Sent: donderdag 7 mei 2015 1:08
> To: Lua Mailing List
> Subject: MQTT_Lua vs Luarocks
>
> Hello,
>
> I'm looking a client stack for MQTT for Lua.
>
> The only one I found is MQTT_Lua (http://geekscape.github.io/mqtt_lua/) but
> installation fails due to missing files
>
> laurent@chose /tmp/mqtt_lua $ luarocks make
>
> Error: Build error: Failed installing lua/lapp.lua in
> /usr/local/lib/luarocks/rocks/mqtt/0.0-0/lua
> laurent@chose /tmp/mqtt_lua $ ls lua
> example  mqtt_library.lua  utility.lua
>
> laurent@chose /tmp/mqtt_lua $ luarocks install mqtt-0.0-0.rockspec
> Using mqtt-0.0-0.rockspec... switching to 'build' mode
>
> Error: Error fetching file: Failed downloading
> http://github.com/downloads/geekscape/mqtt_lua/mqtt_lua-0.0.tar.gz -
> HTTP/1.1 404 Not Found

This seems an old download link, try https://github.com/geekscape/mqtt_lua/archive/v0.2.tar.gz and unpack and run `luarocks make`

Also; the current github master is non functional, as the rockspec lists `lapp.lua` which is no longer in the repo.

Thijs


Reply | Threaded
Open this post in threaded view
|

Re: MQTT_Lua vs Luarocks

Natanael Copa

On Sat, May 9, 2015 at 9:03 AM, Thijs Schreijer <[hidden email]> wrote:

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Laurent FAILLIE
> Sent: donderdag 7 mei 2015 1:08
> To: Lua Mailing List
> Subject: MQTT_Lua vs Luarocks
>
> Hello,
>
> I'm looking a client stack for MQTT for Lua.

Have a look at the mosquitto binding:

https://github.com/flukso/lua-mosquitto