我试图在Mac OS X 10.11.4上要求Cocoa Framework,但我不能要求它。

日志:

$ ccl --version
Version 1.11-r16635  (DarwinX8632)

$ ccl
Welcome to Clozure Common Lisp Version 1.11-r16635  (DarwinX8632)!

? (require :COCOA)

:COCOA
("IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "COCOA")
? Unhandled exception 10 at 0x992bb43c, context->regs at #xbfffdbcc
Exception occurred while executing foreign code
 at _class_initialize + 9
received signal 10; faulting address: 0xbf7ffffc
? for help
[6330] Clozure CL kernel debugger: ^CKilled: 9


如何解决呢?

最佳答案

使用64位版本

$ ccl64 --version
Version 1.11-r16635  (DarwinX8664)

$ ccl64
Welcome to Clozure Common Lisp Version 1.11-r16635  (DarwinX8664)!

CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com.  To enquire about Clozure's Common Lisp
consulting services e-mail [email protected] or visit http://www.clozure.com.

? (require :COCOA)
...
:COCOA
("IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "COCOA")
?

09-16 06:08