Failed to compile Jinx #121
Replies: 3 comments
-
Hi, this looks like an installation problem. I suspect that you miss system packages, either pkgconf (or pkg-config) or enchant2-devel. See https://github.com/minad/jinx?tab=readme-ov-file#installation. |
Beta Was this translation helpful? Give feedback.
-
Yep all I need to do was install enchant2 from the fedora repos. |
Beta Was this translation helpful? Give feedback.
-
First of all, LOVE all your Emacs packages! Thank you so much, Daniel! @minad I ran into the same trouble as jinx.el was trying to native compile against enchant-2 and was failing to do so. I thought it was a path issue because there is no /usr/include/enchant-2 in NIxOS. I was about to post this as an issue when I saw the closed issue and this discussion around this error (which is the same thing I ran into):
Yes, I am missing pkg-config on NixOS... I don't have time to revert and test right now. But since pkg-config will locate the libraries that explains it. In addition, due to a recent enchant bug (something to do with hunspell and a crash), I needed a newer release 2.6.7 which was only in unstable branch of nixpkgs. I was able to work around the problem by using NixOS to install jinx. The stable branch = jinx - 20231111.850. The unstable = jinx 20240129.1524. By having NixOS handle the jinx package the compilation problem was no longer a problem. I suppose Nix knows Nix, so to speak. Async-native-compile-log
Here is a summary of how to accomplish installing Jinx / Enchant from unstable without Flakes. My configuration is a basic NixOS 23.11 stable config and is not using Flakes.
Further down
|
Beta Was this translation helpful? Give feedback.
-
Hi I am running Fedora 39 and whenever I open up emacs it gives me this warning. I looked at other similar issues and I think this one may be different. I also have a macbook with Jinx installed and it compiles with no problem.
I have recently switched from Doom to Vanilla emacs but I dont think that has had any impact. But if it helps here is the ouput of doom info. It is more or less similar to my vanilla config.
Beta Was this translation helpful? Give feedback.
All reactions