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 lars.selsas@live.no
> Sent: dinsdag 26 november 2013 23:57
> To: lua-l@lists.lua.org
> Subject: Re: [ANN] lua-pb Lua Protocol Buffers
> 
> I'm trying to run this line to get going with pb and Lua
> $ sudo luarocks install
> "https://raw.github.com/Neopallium/lua-pb/master/lua-pb-scm-0.rockspec";
> 
> But it gives me this error
> 
> Error: Failed installing dependency:
> http://luarocks.luaforge.net/rocks/lpeg-0.12-1.src.rock
> 
> and if I try install this one like this
> 
> $ sudo luarocks install
> "http://luarocks.luaforge.net/rocks/lpeg-0.12-1.src.rock";
> 
> I get this error
> Error: Failed initializing build back-end for build type 'module
> 'luarocks.build_builtin' not found:
> 	no field package.preload['luarocks.build_builtin']
> 	no file './luarocks/build_builtin.lua'
> 	no file '/usr/local/share/lua/5.1/luarocks/build_builtin.lua'
> 	no file '/usr/local/share/lua/5.1/luarocks/build_builtin/init.lua'
> 	no file '/usr/local/lib/lua/5.1/luarocks/build_builtin.lua'
> 	no file '/usr/local/lib/lua/5.1/luarocks/build_builtin/init.lua'
> 	no file './luarocks/build_builtin.so'
> 	no file '/usr/local/lib/lua/5.1/luarocks/build_builtin.so'
> 	no file '/usr/local/lib/lua/5.1/loadall.so'
> 	no file './luarocks.so'
> 	no file '/usr/local/lib/lua/5.1/luarocks.so'
> 	no file '/usr/local/lib/lua/5.1/loadall.so''
> 
> 
> 
> 
> It I can't find the build_builtin.lua file anywhere on my machine.
> 

What LR version do you use. Have you tried reinstalling it? Or updating to the latest version?

Thijs