xlsxwriter.lua icon indicating copy to clipboard operation
xlsxwriter.lua copied to clipboard

luarocks install error Ubuntu 14.04 with utility.lua

Open rmcdermith opened this issue 10 years ago • 5 comments

luarock error when inflating xlsxwriter-0.0.6-1.rockspec, "can not stat 'xlsxwriter/utility.lua ': No such file or directory.

terminal line = sudo luarocks install xlsxwriter

build is aborted. I can install anything else including the dependencies just not this. Any idea's why?

rmcdermith avatar Jul 28 '15 15:07 rmcdermith

I don't why that is. Perhaps there is a spec issue.

@hishamhm could you check it for me, I'm temporarily away from any machines I could run it on.

John.

jmcnamara avatar Jul 28 '15 18:07 jmcnamara

Is file name has trail space? Rockspec in repo and in luarocks.org has no this space. May be you use some luarocks mirror that contain wrong version of rockspec. Try luarocks install https://raw.githubusercontent.com/jmcnamara/xlsxwriter.lua/master/xlsxwriter-0.0.6-1.rockspec

moteus avatar Jul 28 '15 19:07 moteus

I am having a very similar problem when installing via luarocks

Error: Build error: Failed installing xlsxwriter/core.lua in .../luarocks/rocks/xlsxwriter/0.0.6-1/lua/xlsxwriter/core.lua

Installed using @moteus solution works for me.

Try luarocks install https://raw.githubusercontent.com/jmcnamara/xlsxwriter.lua/master/xlsxwriter-0.0.6-1.rockspec

josellausas avatar May 28 '16 16:05 josellausas

Just faced with same error. Problem is xlsxwriter-0.0.6-1.src.rock has no source. only rockspec. So pleas reupload source rock on server.

moteus avatar Aug 22 '16 14:08 moteus

@moteus You are right. The src spec doesn't have any source. That is odd since I built it in the same way as the previous rocks which did have the source.

I'll try fix it and upload a new version.

jmcnamara avatar Aug 24 '16 12:08 jmcnamara