I'm trying to byte compile predictive mode and I have an issue that I can't solve. If I clone it from the official repo, and make it, I get:

In toplevel form:
predictive-auto-overlay-auto-dict.el:35:1:Error: Symbol’s function definition is void: trie-lexical-binding-p
Makefile:149: recipe for target 'predictive-auto-overlay-auto-dict.elc' failed
make: *** [predictive-auto-overlay-auto-dict.elc] Error 1

If I download the tar ball I face this error:

makeinfo predictive-user-manual.texinfo -o predictive-user-manual.info
make: makeinfo: Command not found
Makefile:154: recipe for target 'predictive-user-manual.info' failed
make: *** [predictive-user-manual.info] Error 127

In both cases it compiles some stuff and eventually fails. I'm quite new to not using package manger, so I might be doing something wrong here though.

  • This seems like missing dependencies. The second will be easier to correct (probably). Depending on your distro, search for the package which provides makeinfo program and install that. In Ubuntu, for example, texi2html seems to provide this program. As for the first one: it assumes that you have installed some ELisp package (in Emacs) that defines variable trie-lexical-binding-p - maybe you have it, but it's a wrong version, or maybe you don't have it it at all... you'd need to look into sources to know for sure. – wvxvw May 29 '18 at 14:48
  • The trie package comes with predictive. Your first question sounds like a bug. Report it to the author. – nega May 29 '18 at 16:12
  • @wvxvw, thank you for the reply. It's a fresh installation of emacs. I have only installed auctex and that's it. Could that be the problem? – Pouya May 30 '18 at 7:42
  • @wvxvw, installing Texi2HTML unfortunately didn't solve the problem. – Pouya May 30 '18 at 9:37

Answering my own question, suggestion by @wvxvw regarding installing texi2html didn't solve the issue. However, after installing texinfo, distribution from tarball compiled. Git distribution still not working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.