[slime-devel] Compilation and loading procedure
Mikhail Shevchuk
mikhail.shevchuk at gmail.com
Tue May 1 17:40:16 UTC 2007
I have a simple program, that connects to IRC using cl-irc package and
I wish I could compile it using SLIME. If I hit C-c C-k I get the
following error:
-+ Errors (1)
`-- READER-ERROR at 610 (line 24, column 40) on #<SB-SYS:FD-STREAM
for "file /home/mico/Sources/lisp/utrbot/ircbot.lisp" {B05E531}>:
package "CL-IRC" not found
There is a first usage of cl-irc there:
(defvar *irc-connection* (cl-irc:connect :nickname "sbclbot"
:server "irc.tomsk.ru"
:port 6667))
At the top of that file (ircbot.lisp) I call:
(require 'asdf)
(asdf:oos 'asdf:load-op 'cl-irc)
When I run this program using the same sbcl (1.0.5) it works fine - it
compiles with no errors or warnings and do what it has to. I guess the
cl-irc package doesn't load properly on C-c C-k or I am missing
something. After I evaluate the (asdf:oos ... command in the REPL
manually and compile the file using C-c C-k it loads and works fine.
More information about the slime-devel
mailing list