When I try to execute any file while in racket-mode with , emacs returns an error:
"""
default-load-handler: cannot open input file: "/usr/share/racket/collects/racket/format.rkt" (No such file or directory; errno=2)
=== context ===
standard-module-name-resolver
standard-module-name-resolver
standard-module-name-resolver
Process Racket REPL exited abnormally with code 1
"""
Since the error is about a file not existing, I thought I might solve it with a simple
sudo touch /usr/share/racket/collects/racket/format.rkt
which, as you probably know, creates an empty file, but emacs then returns:
"""
default-load-handler: expected a module' declaration for
format', but found end-of-file in: #path:/usr/share/racket/collects/racket/format.rkt
=== context ===
standard-module-name-resolver
standard-module-name-resolver
standard-module-name-resolver
Process Racket REPL exited abnormally with code 1
"""
I use emacs 24 (alongside emacs 23) on Debian Wheezy and installed racket-mode via MELPA, I think (though racket-mode's files are under ~/.emacs.d/elpa).
It was quite a dependency minefield to get emacs 24 installed on Wheezy via the repositories (had to manually install several libs from the wheezy-backport), so I'm not quite sure whether everything was installed as it should.