Ok cool I'll try with the ECM version later :))) Sent from my iPod
On 2010-07-11, at 10:43, Elliott Slaughter <elliottslaugh...@gmail.com> wrote: > Yes, the binaries are only binaries, just like their Windows counterparts. > > You'll need to get the latest lispbuilder version from SVN because I had to > hack cocoahelper a little bit to get it to find the libraries. > > Also, I found that the problem I expected to find with SDL_ttf also applies > to SDL_image, etc. So for the moment, only the SDL binaries are likely to > work properly. > > On Sun, Jul 11, 2010 at 9:33 AM, Justin Heyes-Jones <justi...@gmail.com> > wrote: > sigh. Trying to get anything working in Common Lisp is an exercise in > frustration. > > anyway, I realised that the binaries you put together don't contain the lisp > source, so I need to download the lispbuilder source package. so I grabbed > /Users/justinhj/Downloads/lispbuilder-sdl-0.9.8.1.tgz > > the asdf-install failed trying to load the cocoa helper library > > Unable to load any of the alternatives: > ((:FRAMEWORK #1="cocoahelper") (:DEFAULT #1#)) > [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR] > > Restarts: > 0: [RETRY] Try loading the foreign library again. > 1: [USE-VALUE] Use another library instead. > 2: [TRY-RECOMPILING] Recompile cocoahelper and try loading it again > 3: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {1003C98A21}> on > #<ASDF:CL-SOURCE-FILE "cocoahelper" {1004171031}>. > 4: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {1003C98A21}> on > #<ASDF:CL-SOURCE-FILE "cocoahelper" {1004171031}> as having been successful. > 5: [RETRY] Retry installation > --more-- > > Backtrace: > 0: (CFFI::FL-ERROR "Unable to load any of the alternatives:~% > ~S")[:EXTERNAL] > 1: (CFFI:LOAD-FOREIGN-LIBRARY LISPBUILDER-SDL-COCOAHELPER::COCOAHELPER) > 2: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file > /Users/justinhj/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.fasl" > {1003D98561}>) > 3: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) > 4: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file > /Users/justinhj/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.fasl" > {1003D98561}> NIL #<unavailable argument>) > 5: ((FLET SB-FASL::LOAD-STREAM) #<SB-SYS:FD-STREAM for "file > /Users/justinhj/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.fasl" > {1003D98561}> T) > 6: (LOAD > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.fasl")[:EXTERNAL] > 7: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) > ..) > 8: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. > SB-PCL::.ARG1.)) ..) > 9: ((SB-PCL::FAST-METHOD ASDF:PERFORM ASDF:AROUND (ASDF:LOAD-OP > ASDF:CL-SOURCE-FILE)) ..) > 10: ((LAMBDA ())) > 11: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) > 12: ((FLET SB-C::WITH-IT)) > 13: (ASDF:OPERATE ASDF:LOAD-OP "cocoahelper")[:EXTERNAL] > 14: ((LABELS ASDF-INSTALL::ONE-ITER) > ("/Users/justinhj/Downloads/lispbuilder-sdl-0.9.8.1.tgz")) > 15: (ASDF-INSTALL:INSTALL)[:EXTERNAL] > 16: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF-INSTALL:INSTALL > "/Users/justinhj/Downloads/lispbuilder-sdl-0.9.8.1.tgz") #<NULL-LEXENV>) > --more-- > > > On 11 July 2010 08:25, Justin Heyes-Jones <justi...@gmail.com> wrote: > I get the same error if I decompress the tgz, point central-registry at it, > and do a load-op. > > > On 11 July 2010 08:18, Justin Heyes-Jones <justi...@gmail.com> wrote: > i'm a bit of a Mac noob so I may be doing something wrong. I tested the > lisbuilder-sdl binary with sbcl and got the error below when installing > (asdf-install:install > "/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz") > > I've downloaded lispworks too, any links to how you install asdf-install on > it? > > failed to find the TRUENAME of > /Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp: > No such file or directory > [Condition of type SB-INT:SIMPLE-FILE-ERROR] > > Restarts: > 0: [TRY-RECOMPILING] Try recompiling package > 1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {1003C74501}> on > #<ASDF:CL-SOURCE-FILE "package" {1003C6CCD1}>. > 2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {1003C74501}> on > #<ASDF:CL-SOURCE-FILE "package" {1003C6CCD1}> as having been successful. > 3: [RETRY] Retry installation > 4: [RETRY] Retry SLIME REPL evaluation request. > 5: [ABORT] Return to SLIME's top level. > --more-- > > Backtrace: > 0: (SB-IMPL::SIMPLE-FILE-PERROR "failed to find the TRUENAME of ~A" > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp" 2) > 1: ((FLET SB-IMPL::FAIL) "failed to find the TRUENAME of ~A" > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp" 2) > 2: (SB-IMPL::QUERY-FILE-SYSTEM > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp" :TRUENAME T) > 3: (TRUENAME > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp") > 4: ((FLET SB-C::TRY-WITH-TYPE) > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp" "lisp" T) > 5: (SB-C::VERIFY-SOURCE-FILE > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp") > 6: (SB-C::VERIFY-SOURCE-FILE > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp")[:EXTERNAL] > 7: (COMPILE-FILE > #P"/Users/justinhj/.sbcl/site/lispbuilder-sdl/bin/package.lisp")[:EXTERNAL] > 8: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP > ASDF:CL-SOURCE-FILE)) ..) > 9: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. > SB-PCL::.ARG1.)) ..) > 10: ((SB-PCL::FAST-METHOD ASDF:PERFORM ASDF:AROUND (ASDF:COMPILE-OP > ASDF:CL-SOURCE-FILE)) ..) > 11: ((LAMBDA ())) > 12: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) > 13: ((FLET SB-C::WITH-IT)) > 14: (ASDF:OPERATE ASDF:LOAD-OP "lispbuilder-sdl-binaries")[:EXTERNAL] > 15: ((LABELS ASDF-INSTALL::ONE-ITER) > ("/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz")) > 16: (ASDF-INSTALL:INSTALL)[:EXTERNAL] > 17: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF-INSTALL:INSTALL > "/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz") > #<NULL-LEXENV>) > 18: (SWANK::EVAL-REGION "(asdf-install:install > \"/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz\")\n") > 19: ((LAMBDA ())) > 20: (SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA #) {1002E1FB69}>) > 21: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME REPL evaluation request." > #<CLOSURE (LAMBDA #) {1002E1FA89}>) > 22: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA #) {1002E1FA59}>) > 23: (SWANK::REPL-EVAL "(asdf-install:install > \"/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz\")\n") > 24: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL > "(asdf-install:install > \"/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz\")\n") > #<NULL-LEXENV>) > 25: (SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(asdf-install:install > \"/Users/justinhj/Downloads/mac-lispbuilder-sdl-binaries-1.2.14.tgz\")\n") > "COMMON-LISP-USER" 43) > 26: (SWANK::PROCESS-REQUESTS T) > 27: ((LAMBDA ())) > 28: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK #<FUNCTION > SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA #) {1002E1C379}>) > 29: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK) #<FUNCTION > SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA #) {1002E1C379}>) > 30: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-OUTPUT* . #) (*STANDARD-INPUT* . > #) (*TRACE-OUTPUT* . #) (*ERROR-OUTPUT* . #) (*DEBUG-IO* . #) (*QUERY-IO* . > #) ...) #<CLOSURE (LAMBDA #) {1002E1C3A9}>) > 31: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {1003383951}> #<CLOSURE > (LAMBDA #) {1002E1C379}>) > 32: (SWANK::HANDLE-REQUESTS #<SWANK::CONNECTION {1003383951}> T) > 33: ((LABELS SWANK-BACKEND::RUN) 7) > 34: (SB-IMPL::SUB-SUB-SERVE-EVENT NIL NIL) > 35: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL) > 36: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) > 37: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard input" > {1002A38171}>) > 38: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard input" > {1002A38171}> NIL #:EOF-OBJECT) > 39: ((LAMBDA (&REST REST)) #<SB-SYS:FD-STREAM for "standard input" > {1002A38171}> NIL #:EOF-OBJECT) > 40: ((LAMBDA (&REST REST)) #<SB-SYS:FD-STREAM for "standard input" > {1002A38171}> NIL #:EOF-OBJECT)[:OPTIONAL] > 41: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {1002A38171}> NIL > #:EOF-OBJECT #<unused argument>) > 42: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000169341}> NIL > #:EOF-OBJECT #<unused argument>) > 43: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL > SB-SYS:*STDIN* {1000169341}> NIL (NIL) T) > 44: (SB-IMPL::%READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL > SB-SYS:*STDIN* {1000169341}> NIL (NIL) NIL) > 45: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {1000169341}> NIL (NIL) > NIL) > 46: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* > {1000169341}> #<unavailable argument>) > 47: (SB-IMPL::REPL-FUN NIL) > 48: ((LAMBDA ())) > 49: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {1002A30179}>) > 50: (SB-IMPL::TOPLEVEL-REPL NIL) > 51: (SB-IMPL::TOPLEVEL-INIT) > 52: ((LABELS SB-IMPL::RESTART-LISP)) > > > On 10 July 2010 18:39, Elliott Slaughter <elliottslaugh...@gmail.com> wrote: > After learning quite a bit more about Mac's dyld than I cared to know, I > finally found the magical invocations which make these "just work". Now I can > say with a reasonable amount of confidence that you should be able to just > drop these binaries into a clean Lispbuilder install and expect them to work. > (With the possible exception of SDL_ttf, which might require a little bit > more magic.) > > Please try them out and tell me if the work or break on your machine: > > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-binaries-1.2.14.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-image-binaries-1.2.10.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-mixer-binaries-1.2.11.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-ttf-binaries-2.0.10.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-gfx-binaries-2.0.16.tgz > > Enjoy :-) > > On Sat, Jul 10, 2010 at 2:58 PM, Elliott Slaughter > <elliottslaugh...@gmail.com> wrote: > My first attempt at binaries are up: > > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-binaries-1.2.14.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-image-binaries-1.2.10.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-mixer-binaries-1.2.11.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-ttf-binaries-2.0.10.tgz > http://lispbuilder.googlecode.com/files/mac-lispbuilder-sdl-gfx-binaries-2.0.16.tgz > > They don't quite work as well as I'd like--cocoahelper expects to find > SDL.framework in /Library/Frameworks even if you put them both in the same > directory. I haven't found a fix for that, so it isn't quite a > drop-in-and-forget solution yet. If any of you have ideas for how to fix > that, I'd really appreciate it. > > > On Fri, Jul 9, 2010 at 1:26 PM, Elliott Slaughter > <elliottslaugh...@gmail.com> wrote: > I'll try to see if I can get binary packages built in the next couple of days. > > P.S. Cocoahelper doesn't compile without modifying the makefile if you are > using the SDL frameworks provided on libsdl.org. The version of SDL from > Macports is broken because it hard-codes various system paths into the > binaries, which prevent you from distributing it to anyone without the > Macports version of SDL installed. > > > On Fri, Jul 9, 2010 at 11:00 AM, Justin Heyes-Jones <justi...@gmail.com> > wrote: > Hi guys > > I have very little time to spend on this project but I did recently become a > Macbook owner and I set about getting lispbuilder working on it. I'd be happy > to test the binaries when they are ready. > > I did find the instructions we already have on the wiki work up to a point > > http://code.google.com/p/lispbuilder/wiki/DownloadInstallation#OS_X > > But I think I got sbcl, gcc and SDL from this project instead. The install is > really simple. > > http://www.macports.org/ > > On 9 July 2010 10:06, Oisín <denpasho...@gmail.com> wrote: > On 9 July 2010 07:22, Elliott Slaughter <elliottslaugh...@gmail.com> wrote: > > Hi everyone, > > I've been thinking: we provide binary downloads for Windows, but not for any > > other platform. On Linux, we don't need it. But on OS X, it might be nice. > > After all, OS X does not come with a C compiler by default, nor does it have > > a package manager to make downloading SDL easy. Since OS X has > > platform-specific binaries that need to be compiled (cocoahelper), it would > > be nice to provide those for download. Providing SDL might be nice too, but > > I think that's optional compared to providing cocoahelper. > > I would be more than happy to use my system to build such binaries. > > That's a very good idea. I found it quite difficult as a newbie Lisper > to just "jump in" due to difficulties getting cocoahelper to work etc. > Got it sorted out after a while, but it would be nice if other newbies > didn't have to do it themselves. > > Oisín > > > -- > > Elliott Slaughter > > > > "Don't worry about what anybody else is going to do. The best way to predict > > the future is to invent it." - Alan Kay > > > > _______________________________________________ > > application-builder mailing list > > application-builder@lispniks.com > > http://www.lispniks.com/mailman/listinfo/application-builder > > > > > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder > > > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder > > > > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to predict > the future is to invent it." - Alan Kay > > > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to predict > the future is to invent it." - Alan Kay > > > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to predict > the future is to invent it." - Alan Kay > > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder > > > > > > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder > > > > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to predict > the future is to invent it." - Alan Kay > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder
_______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder