[Openmcl-devel] (require :cocoa) fails with ccl 1.2rc1 in write-protected directory
R. Matthew Emerson
rme at clozure.com
Thu May 1 15:54:34 EDT 2008
On May 1, 2008, at 9:06 AM, Rudi Schlatte wrote:
> I installed ccl under /usr/local/lib/ccl, with the appropriate shell
> script in /usr/local/bin. Unfortunately, ccl sometimes wants to
> reside in a directory writable by the current user:
> ~$ ccl64
> Welcome to Clozure Common Lisp Version 1.2-r9226-RC1 (DarwinX8664)!
> ? (require :cocoa)
>> Error: Can't create directory "/usr/local/lib/ccl/temp bundle.app/".
>> While executing: ENSURE-DIRECTORIES-EXIST, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1 >
> I'll work around that for now by installing below my home directory,
> adding to $PATH, etc., but I'd sure love to have something like a
> ccl-tmp: logical host pointing to /tmp that would be used by
> create-ide-bundle. I'm also satisfied, of course, with the usual
> one-line answer that points out how it'll all work if I don't do
> $mistake. :-)
Something like this should do the trick:
(defvar ccl::*cocoa-application-path* "/tmp/temp-bundle.app/")
Note that *cocoa-application-path* needs to be directory-pathname-p.
More information about the Openmcl-devel