Giter Club home page Giter Club logo

Comments (8)

sakhnik avatar sakhnik commented on May 30, 2024 1

I've noticed you had LuaJIT. So the new change should prefer it.
Could you please provide the log (even better with bash -x install.sh) in a gist?
By the way, did you try erasing lua/rocks before running install.sh?

from nvim-gdb.

Narice avatar Narice commented on May 30, 2024 1

I erased lua/rocks and it worked!
Thanks a lot for your help and your quick answer!
(and thank you for this plugin as well)

from nvim-gdb.

sakhnik avatar sakhnik commented on May 30, 2024

Thanks for the report! So I see the deployment fails when luajit is used instead of lua51. I can reproduce this, and will investigate.

from nvim-gdb.

sakhnik avatar sakhnik commented on May 30, 2024

There is an open issue 325 in LuaJIT. Some modules can't be built with luajit because of using deprecated functions.

from nvim-gdb.

sakhnik avatar sakhnik commented on May 30, 2024

If lua51 is installed, the luafilesystem is compiled with the following command:

gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/lfs.c -o src/lfs.o

However, if there is no lua51, another command is executed:

gcc -O2 -fPIC -I/usr/include/lua -c src/lfs.c -o src/lfs.o

Thus, incorrent include files are used.

from nvim-gdb.

sakhnik avatar sakhnik commented on May 30, 2024

@Narice, please let me know if the fix doesn't work for you.

from nvim-gdb.

Narice avatar Narice commented on May 30, 2024

Hello,
The fix doesn't seem to work
I'm on Arch Linux, I have Lua, Lua5.1, Lua 5.2 and I tried with and without the Lua51-filesystem package installed on my machine but it didn't work
Should I try to deinstall all Lua related package on my machine and just install Lua5.1?
Do you want the new output of the shell script?

from nvim-gdb.

Narice avatar Narice commented on May 30, 2024

I also have LuaJIT

from nvim-gdb.

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.