Comments (10)
Which version of GCC did you compile it with?
from e.
I just pushed a possible fix into the issue_23
branch. Could you tell me whether that fixes it?
from e.
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.
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.
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.
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.
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.
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.
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.
Thank you! I’m happy this worked out in the end, now I just have to document it.
from e.
Related Issues (20)
- Make WASD customizable HOT 6
- Compilation failure error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] HOT 7
- `e` just exits on some Linux systems HOT 8
- 0 on all lines HOT 6
- Key presses not registering/Multiple presses needed HOT 5
- e license would be useful HOT 2
- Segmentation Fault HOT 9
- Double 'h' key crashes e HOT 2
- https://github.com/cmgraff/grafland HOT 2
- Some combinations of tabs and spaces confuse vertical movement
- Full-Width characters confuse the cursor
- Deal with syntax errors in coloring regex files HOT 5
- Skin-tone modifiers et al confuse the cursor
- Pressing <esc> in binary files leads to segfault
- heap buffer overflow int syntax_read_file HOT 1
- Make tab width non-global
- Make tabs convertible between space and actual tab character
- Column status message is wrong when multibyte characters are inserted
- Syntax highlighting is buggy in some cases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from e.