なんだこれは

はてなダイアリーから移転しました。

cocoahelper を quicklisp で install するとエラーになったので回避

(ql:system-apropos "lispbuilder")
(ql:quickload :cocoahelper)

To load "cocoahelper":
Load 1 ASDF system:
alexandria
Install 4 Quicklisp releases:
babel cffi lispbuilder trivial-features
; Fetching #
; 8.09KB
==================================================
8,284 bytes in 0.00 seconds (8462.18KB/sec)
; Fetching #
; 238.69KB
==================================================
244,422 bytes in 0.65 seconds (369.23KB/sec)
; Fetching #
; 206.55KB
==================================================
211,511 bytes in 1.19 seconds (173.33KB/sec)
; Fetching #
; 7634.06KB
==================================================
7,817,281 bytes in 22.13 seconds (345.00KB/sec)
; Loading "cocoahelper"
[package babel-encodings].........................
[package babel]...................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
[package cffi-sys]................................
[package cffi-callbacks]..........................
[package cffi]....................................
..................................................
..................................................
[package cffi-features]...........................
[package lispbuilder-sdl-binaries]................
[package lispbuilder-sdl-cocoahelper]
Invoking restart: Try loading the foreign library again.
Invoking restart: Load "home:quicklisp;dists;quicklisp;software;lispbuilder-20130312-svn;lispbuilder-sdl;cocoahelper;cocoahelper.lisp" instead of "/Users/fu7mu4/.cache/common-lisp/ccl-1.9-f96-macosx-x64/Users/fu7mu4/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper/cocoahelper.dx64fsl"
Invoking restart: Compile "home:quicklisp;dists;quicklisp;software;lispbuilder-20130312-svn;lispbuilder-sdl;cocoahelper;cocoahelper.lisp" into "/Users/fu7mu4/.cache/common-lisp/ccl-1.9-f96-macosx-x64/Users/fu7mu4/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper/cocoahelper.dx64fsl" then load "/Users/fu7mu4/.cache/common-lisp/ccl-1.9-f96-macosx-x64/Users/fu7mu4/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper/cocoahelper.dx64fsl" again
.............
[package lispbuilder-sdl-cocoahelper].
Invoking restart: Retry loading #P"/Users/fu7mu4/.cache/common-lisp/ccl-1.9-f96-macosx-x64/Users/fu7mu4/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper/cocoahelper.dx64fsl"
Invoking restart: Skip loading #P"/Users/fu7mu4/.cache/common-lisp/ccl-1.9-f96-macosx-x64/Users/fu7mu4/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper/cocoahelper.dx64fsl"

ここで固まったしまうので抜ける。

cd ~/quicklisp/dists/quicklisp/software/lispbuilder-20130312-svn/lispbuilder-sdl/cocoahelper
make

gcc -fPIC -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c cocoahelper.m -o cocoahelper.o
cocoahelper.m: In function ‘setApplicationMenu’:
cocoahelper.m:163: warning: no ‘-setAppleMenu:’ method found
cocoahelper.m:163: warning: (Messages without a matching method signature
cocoahelper.m:163: warning: will be assumed to return ‘id’ and accept
cocoahelper.m:163: warning: ‘...’ as arguments.)
gcc -dynamiclib -L/opt/local/lib -lSDLmain -Wl,-framework,AppKit -lSDL -Wl,-framework,Cocoa -o cocoahelper.dylib cocoahelper.o

(ql:quickload :cocoahelper)
(ql:quickload :lispbuilder-sdl)