[Openmcl-devel] Cocoa-app and ccl-init.lisp -- WTF?

Ron Garret ron at awun.net
Sat Dec 1 19:06:08 PST 2007


I think I figured it out.  Apparently I built my cocoa-app with /Users/ 
ron/Desktop/Lisp code/ already in *module-search-path*.  The cocoa app  
is (apparently) not loading ccl-init at all (which seems to be a  
"feature" according to http://www.clozure.com/pipermail/openmcl-devel/2004-June/001696.html 
.  Hurm.)

rg

On Dec 1, 2007, at 6:30 PM, Ron Garret wrote:

> My ~/ccl-init.lisp file contains the following two lines in the given
> order (the significance of which will shortly become apparent):
>
> (defvar *x* 0)
> (pushnew #P"/Users/ron/Desktop/Lisp code/" *module-search-path*)
>
> When I run ccl from the console I get the following, as expected:
>
> Welcome to Clozure Common Lisp Version 1.1-r7598 (DarwinX8664)!
> ? (first *module-search-path*)
> #P"/Users/ron/Desktop/Lisp code/"
> ? *x*
> 0
>
> But when I try to run the standalone cocoa-app I get this:
>
> Welcome to Clozure Common Lisp Version 1.1-r7598 (DarwinX8664)!
> ? (first *module-search-path*)
> #P"/Users/ron/Desktop/Lisp code/"
> ? *x*
>> Error: Unbound variable: *X*
>> While executing: CCL::TOPLEVEL-EVAL, in process Listener(74).
>> Type :GO to continue, :POP to abort, :R for a list of available
> restarts.
>> If continued: Retry getting the value of *X*.
>> Type :? for other options.
> 1 >
>
> WTF?
>
> rg
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list