lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] 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