jmcnamara / xlsxwriter.lua

A lua module for creating Excel XLSX files.
http://xlsxwriterlua.readthedocs.org/
MIT License
139 stars 52 forks source link

luarocks install error Ubuntu 14.04 with utility.lua #13

Open rmcdermith opened 9 years ago

rmcdermith commented 9 years ago

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?

jmcnamara commented 9 years ago

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.

moteus commented 9 years ago

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

josellausas commented 8 years ago

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

moteus commented 8 years ago

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.

jmcnamara commented 8 years ago

@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.