larsbrinkhoff / forth-mode

Wants to be the SLIME of Forth
GNU General Public License v3.0
61 stars 17 forks source link

error in process filter: Required feature `gforth' was not provided #57

Closed Reepca closed 7 years ago

Reepca commented 7 years ago

Message in title appears when running M-x run-forth and entering "gforth" when prompted for a forth executable. In *Messages* I also get "error in process filter: forth-interaction-preoutput-filter: Required feature `gforth' was not provided" right before that.

Using latest Melpa (just did package-list-packages, U x to upgrade everything). Not sure when the problem started.

Additionally, C-c C-r produces the message "No current process. See variable `forth-process-buffer'". The weird part about all of this is that the *forth* buffer gets opened and the process is successfully started - I can enter commands and stuff and see output - but there's no startup message initially, just a blank buffer (whether that's intended or not).

gforth --version produces "gforth 0.7.9_20160923 amd64". I'm using Emacs 24.5.1. Forth-mode version 20161201.113 according to package-list-packages.

ellerh commented 7 years ago

The MELPA package seems to miss the backend and test directories. I guess somebody has to update the MELPA recipe to include them (like described here).

It also seems likely that Emacs tries to load the gforth.el included with the Gforth package. That one provides the 'forth-mode feature instead of the 'gforth feature, which would explain the error message.

(In the meantime you could of course checkout the git version manually. It's bit fiddly to setup, though.)

larsbrinkhoff commented 7 years ago

Right, the backend directory must be missing. I inteded for the test directory to be excluded in the built MELPA package. I suppose build.el could be excluded too.

I'll send a pull request to update the recipe.

larsbrinkhoff commented 7 years ago

Submitted melpa/melpa#4443.

larsbrinkhoff commented 7 years ago

Ok, now we just have to wait and verify the contents of Download at https://melpa.org/#/forth-mode

Reepca commented 7 years ago

Git version is indeed working fine for me - I'll probably stick to that for awhile.

larsbrinkhoff commented 7 years ago

Now the MELPA tar package does have the backend file.