Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

luarocks install error Ubuntu 14.04 with utility.lua #13

Open
rmcdermith opened this issue Jul 28, 2015 · 5 comments
Open

luarocks install error Ubuntu 14.04 with utility.lua #13

rmcdermith opened this issue Jul 28, 2015 · 5 comments

Comments

@rmcdermith
Copy link

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
Copy link
Owner

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
Copy link
Contributor

moteus commented Jul 28, 2015

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
Copy link

josellausas commented May 28, 2016

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
Copy link
Contributor

moteus commented Aug 22, 2016

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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants