Hello,
Has anyone used SLIME with ubuntu 7.04 feisty? I am having trouble doing it. I checked all over the web and couldn't find much. I am resorting to asking someone on the maillist. If I find the answer, I'll post it up on my blog for other's benefit.
Anyway, I installed lisp via conventional means: sudo apt-get install clisp sudo apt-get install slime
When I go into emacs and type "alt-x slime", I get the following error: [1]> *** - LOAD: A file with name /usr/share/emacs/site-lisp/slime/swank-loader.lisp does not exist The following restarts are available: ABORT :R1 ABORT
I have looked all over the internet and couldn't find the solution to this problem. I tried another 7.04 machine and had the same problem. I also tried altering my .emacs file as follows: (setq inferior-lisp-program "/usr/bin/clisp") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime") (require 'slime) (slime-setup)
Still the same problem. Anyone know the answer?
- Steve
On Jul 3, 2008, at 8:31 PM, Stever wrote:
... Anyway, I installed lisp via conventional means: sudo apt-get install clisp sudo apt-get install slime
When I go into emacs and type "alt-x slime", I get the following error: [1]> *** - LOAD: A file with name /usr/share/emacs/site-lisp/slime/swank-loader.lisp does not exist
Is that file (swank-loader.lisp) Is really there? Maybe apt-get installed slime somewhere else for some reason?
yeah, it is loaded under "/usr/share/common-lisp/source/slime/swank-loader.lisp"
I tried changing my .emacs file accordingly to say: (setq inferior-lisp-program "/usr/bin/clisp") (add-to-list 'load-path "/usr/share/common-lisp/source/slime") <--- i changed this line (require 'slime) (slime-setup)
I get a different error this time: *** - LOAD: A file with name /usr/share/emacs/22.1/site-lisp/slime/swank-loader.lisp does not exist The following restarts are available: ABORT :R1 ABORT
Weird. This is an ubuntu installation that is a couple of years old (ubuntu 7.04 feisty). Since this is a popular distribution, I would imagine other people would have had a similar problem. I am baffled as to why this is happening. I look all over the web. Thanks for helping out. I usually don't try to bother the developers of the program with stuff. But if I find a solution, I'll post it on my blog with keywords so some other poor guy will have a solution.
- Steve
* Stever [2008-07-04 17:25+0200] writes:
yeah, it is loaded under "/usr/share/common-lisp/source/slime/swank-loader.lisp"
I tried changing my .emacs file accordingly to say: (setq inferior-lisp-program "/usr/bin/clisp") (add-to-list 'load-path "/usr/share/common-lisp/source/slime") <--- i changed this line (require 'slime) (slime-setup)
You can try to set slime-path ala
(setq slime-path "/usr/share/common-lisp/source/slime/")
Keep the trailing slash, just in case. After that you should at least be able to load swank-loader.lisp.
It would be good to report this problem to the maintainers of the Ubuntu package: http://packages.ubuntu.com/feisty/devel/slime
Helmut.
Hey, it worked! Thanks man, let me buy you a beer!
I'll post this on my blog so some poor soul whose trying to get lisp running on their ubuntu installation. I'll be sure to post this solution on my blog as well as another lisp board where people had trouble with this issue.
Thank you, I usually don't like bothering the developers of the project.
- Steve
Keep the trailing slash, just in case. After that you should at least be able to load swank-loader.lisp.
It would be good to report this problem to the maintainers of the Ubuntu package: http://packages.ubuntu.com/feisty/devel/slime
Helmut.
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel