ccl icon indicating copy to clipboard operation
ccl copied to clipboard

build-application failure

Open marcoferraris opened this issue 5 years ago • 1 comments

The series of commands

cd ~/sw/lisp/X86/clozure/ccl-1.12

export CCL_DEFAULT_DIRECTORY=~/sw/lisp/X86/clozure/ccl-1.12

scripts/ccl64 -b -e '(require :cocoa)' -e '(require :build-application)' -e '(ccl::build-application :name "Foo")'

produces a Foo.app which is not double-clickable.

Moreover, trying to open Foo.app from a terminal window

open Foo.app LSOpenURLsWithRole() failed with error -10810 for the file ~/sw/lisp/X86/clozure/ccl-1.12/Foo.app

This happens both in Catalina and in Mojave.

The application "Clozure CL64.app" is OK

Marco

marcoferraris avatar May 03 '20 22:05 marcoferraris

See https://apple.stackexchange.com/questions/181026/lsopenurlswithrole-failed-with-error-10810-cant-open-install-os-x-yosemite

It may be that the newly generated application is quarantined; you can get it out of it with:

xattr -l  ~/sw/lisp/X86/clozure/ccl-1.12/Foo.app/MacOS/Contents/Foo
xattr -dr com.apple.quarantine  ~/sw/lisp/X86/clozure/ccl-1.12/Foo.app

informatimago avatar Sep 02 '20 06:09 informatimago