Coder Social home page Coder Social logo

Comments (10)

hellerve avatar hellerve commented on May 25, 2024

Which version of GCC did you compile it with?

from e.

hellerve avatar hellerve commented on May 25, 2024

I just pushed a possible fix into the issue_23 branch. Could you tell me whether that fixes it?

from e.

 avatar commented on May 25, 2024

Yes your fix is working, but now the make is failing with a bunch of undefined reference to lua_* see make output
gcc version:5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)

from e.

hellerve avatar hellerve commented on May 25, 2024

I assume that that’s an error on my side: I’m linking the vendored Lua, but not actually compiling it; this doesn’t make much of a difference on systems that have Lua installed, but I guess you don’t have it?

from e.

 avatar commented on May 25, 2024

Yes I don't had Lua installed, but now I tried to compile first the bundled lua soruce (with the make generic and with the make linux there is no difference, the editor's compilation is failing) ,and I tried install Lua5.3 before compiling, and it's failing as well. Any idea?

from e.

hellerve avatar hellerve commented on May 25, 2024

I added Lua compilation to the Makefile and it works for me now if I uninstall Lua. Could you try pulling and compiling again (from issue_23)? Sorry for the hassle.

from e.

 avatar commented on May 25, 2024

Well, I think you are in the right way to fix this bug. It's still failing, but I if I'm correct these errors is linking errors. make output

from e.

hellerve avatar hellerve commented on May 25, 2024

Okay, so I needed to introduce two more options to the Makefile to get this to work. sigh

The magic incantation for me to get this to compile is: make install_lua LUA_OPT=linux LUA_FLAGS="-lm -ldl". I also needed to install libreadline on Ubuntu, I’m not sure whether that’s also needed on Mint and whether we can compile Lua without readline support.

If you pull and try my incantation it might just work.

from e.

 avatar commented on May 25, 2024

Your incantation is works! And yes the libreadline is must be installed to compile lua. This is needed I think on every debian based distos. Thank you for your hard work! Keep it up, this will be a pretty good editor.
Regards, Mark

from e.

hellerve avatar hellerve commented on May 25, 2024

Thank you! I’m happy this worked out in the end, now I just have to document it.

from e.

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.