Re: CCL and SLIME

Daniel Dickison <[email protected]> Fri, 1 Feb 2008 12:59:11 -0500
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>
I've had this problem before -- it turned out that I had recompiled  
CCL (rebuild-ccl)  from SLIME, which meant that the image file it  
created contained SWANK.  So when you go to load up SWANK, you get  
package conflicts.

The solution is to do rebuild-ccl from a clean image (e.g. use -no- 
init and start up the default image, etc).

On Feb 1, 2008, at 12:27 PM, Bernd Beuster wrote:

> The OpenMCL Version 1.1-pre-070722 (DarwinX8664) runs fine with SLIME:
>
> (load "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/
> edit-modes/slime/swank-loader.lisp" :verbose t)
> (swank:start-server "/tmp/slime.19225" :external-format :iso-latin-1-
> unix)
>
> Welcome to OpenMCL Version 1.1-pre-070722 (DarwinX8664)!
> ? ;Loading #P"/Applications/Aquamacs Emacs.app/Contents/Resources/
> site-lisp/edit-modes/slime/swank-loader.lisp"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/swank-backend.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/nregex.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/metering.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/swank-openmcl.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/swank-gray.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-unix-
> x86-64/swank.dx64fsl"...
> ; Warning: These Swank interfaces are unimplemented:
> ;           (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER CALLS-
> WHO MACROEXPAND-ALL REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SLDB-
> BREAK-AT-START SLDB-BREAK-ON-RETURN)
> ; While executing: SWANK-BACKEND::WARN-UNIMPLEMENTED-INTERFACES, in
> process listener(1).
> #P"/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-
> modes/slime/swank-loader.lisp"
> ? ;; Swank started at port: 58615.
> NIL
>
>
>
>
>
> But the CVS version does not.
>
> (load "/Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/
> edit-modes/slime/swank-loader.lisp" :verbose t)
> (swank:start-server "/tmp/slime.19225" :external-format :iso-latin-1-
> unix)
>
> Welcome to Clozure Common Lisp Version 1.1-r8337 (DarwinX8664)!
> ? ;Loading #P"/Applications/Aquamacs Emacs.app/Contents/Resources/
> site-lisp/edit-modes/slime/swank-loader.lisp"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/swank-backend.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/nregex.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/metering.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/swank-openmcl.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/swank-gray.dx64fsl"...
> ;Loading #P"/Users/bernd/.slime/fasl/2006-04-21/openmcl-1.1-darwin-
> x86-64/swank.dx64fsl"...
>> Error: Package name "SWANK-IO-PACKAGE" is already in use.
>> While executing: MAKE-PACKAGE, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1>
>
>
> Seems like SWANK-IO-PACKAGE is defined elsewhere.
>
>
> -- 
> Bernd
>
>
>
> _______________________________________________
> Bug-openmcl mailing list
> [email protected]
> http://clozure.com/mailman/listinfo/bug-openmcl