Git Product home page Git Product logo

Comments (8)

mpeterv avatar mpeterv commented on September 15, 2024

Hello! This is a bug in the old version of luarocks which is installed with apt-get. Try upgrading to luarocks 2.2.0 or at least luarocks 2.1.2, this should help.

from luacheck.

gunchleoc avatar gunchleoc commented on September 15, 2024

Thanks for your fast response! I have a new problem now though. Before I have to sign up to yet another mailing list, maybe you can help me. I ran the luarocks config with ./configure --with-lua=/usr
and installed. Now I get this:

sudo luarocks install luacheck
sudo: unable to execute /usr/local/bin/luarocks: No such file or directory

I do have a symlink /usr/local/bin/luarocks that points to /usr/local/bin/luarocks-5.1

Do you know off the top of your head what's going on here?

from luacheck.

mpeterv avatar mpeterv commented on September 15, 2024

No, unfortunately I don't, never had this kind of problem. You can create an issue at the luarocks repo: https://github.com/keplerproject/luarocks.

from luacheck.

gunchleoc avatar gunchleoc commented on September 15, 2024

Thanks. I have opened an issue over there luarocks/luarocks#293

from luacheck.

gunchleoc avatar gunchleoc commented on September 15, 2024

This is solved now. The reason was that lua5.1-dev doesn't imply that lua 5.1 is installed. Now I have luarocks 2.2. 0 installed. There is another thing that might be tweaked a bit though. I had the following missing dependencies:

Missing dependencies for luacheck:
metalua-parser >= 0.7.3-2
checks >= 1.0
argparse >= 0.3.0
ansicolors >= 1.0-1
luafilesystem >= 1.6.2

Error: Could not satisfy dependency: metalua-parser >= 0.7.3-2

Trying to install metalua-parserfirst failed, but it did succeed after I installed the other packages, So, maybe it could be moved down the list?

Everything's working now though. Thanks a lot for your help :)

from luacheck.

mpeterv avatar mpeterv commented on September 15, 2024

No problem, good to know it works :) That other problem with installing metalua-parser is strange, with what message did it fail?

from luacheck.

mpeterv avatar mpeterv commented on September 15, 2024

Oh. It just "couldn't satisfy dependency". Strange. Anyway, dependency on metalua is going to be removed in next release, so hopefully this problem will go away, too.

from luacheck.

gunchleoc avatar gunchleoc commented on September 15, 2024

Glad you found the mesage, because I hadn't kept it. Thanks again for your help.

from luacheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.