I have had a rather unpleasant time setting up a little scheme
environment in emacs on my ubuntu 8.10 install. I first tried aptitude
install mit-scheme but unfortunately, the mit-scheme package for 8.10 is
broken. It depends on libtld3(spelling?) which is unavailable for ubuntu
8.10.
I tried installing the the mit-scheme binaries from savannah.gnu.org. I
only got the i386 unix binary working after I installed some of the
dependencies listed for the broken mit-scheme binary
package. Documentation is very much lacking for the binary package. I
briefly looked at the install instructions for the scheme source but
they run up to 10 pages long. I ran configure, make, make install a
couple times and after a couple failures I gave up.
Then I tried guile instead. It was OK but I could get it to work w/
emacs as I liked. In particular, C-x C-e won’t evaluate the expression
using guile. Instead it tries to use the regular lisp interpreter and
chokes on the scheme-specific keyword "define". Very annoying
I messed around w/ my .emacs configuration to no success. The only real
expression needed is:
(setq run-scheme-program "scheme")
I finally settled on mzscheme and only got that working after installing
the larger drscheme package sudo aptitude install drscheme.
I think I found the quirk that was confounding me earlier. If I run M-x
run-scheme, thereafter C-x C-e works as it should.
Now it is time to concentrate on these sicp lectures . . .