Alex Murray
Alex Murray
Hmmmm I think the only option here would be to ship enchant within the emacs snap (if we don't already) and ensure this gets used when compiling and running the...
So I just had another look at this - I don't think ubuntu provides any libenchant-2.a (although as you say it does provide the .so): ``` [amurray:~] 1 $ apt-file...
I've added a couple changes which hopefully will allow jinx to be compiled - however I haven't had a chance to finish testing it completely, but once new builds land...
Apologies, I realise there was an error in the example code above - I just corrected it and was also able to reproduce the failure: ``` /snap/emacs/2421/usr/bin/gcc-10 -I. -O2 -Wall...
With the additional fix (in ...) we get a bit closer but it still fails to compile: ``` /snap/emacs/2430/usr/bin/gcc-10 -I. -O2 -Wall -Wextra -fPIC -shared -o jinx-mod.so jinx-mod.c -I/snap/emacs/current/usr/include/enchant-2 -I/snap/emacs/current/usr/include/glib-2.0...
Thanks for confirming @connormclaud
I'll leave this issue open for now so that others can find if need be.
Regarding the initial issue - this is very similar to issues like https://github.com/alexmurray/emacs-snap/issues/71 and https://github.com/alexmurray/emacs-snap/issues/66 and is an unfortunate side-effect of trying to have a single distribution of emacs targeted...
Note that I already patch treesit.el so that if you use it to compile the modules directly in emacs then they should work https://github.com/alexmurray/emacs-snap/blob/master/treesit.patch But as you've seen, if you've...
Yes it is a known issue that if you externally compile tree-sitter grammars then they will not work with the emacs snap as it uses a different libc etc -...