[racket] Compilation/create executable question
Hi all,
Danny and Jay put me on the right track with my last question, and
I've now hacked things together for a project that I'd like to share
with one or two other people so they can explore the hack as well.
Specifically, I want to find out if we're on the right track on
multiple platforms, and it seems to me that the easiest way to
distribute things would be... to distribute them.
I tried a combination of "raco exe" and the "Create executable"
command in the GUI (I assume they both do the same thing), and I get
the following error:
------------------
------------------
delete-directory: cannot delete directory:
/var/folders/ws/wsXFjSLbFLS0UH1cMyoJ1U+++TI/-Tmp-/drscheme-tmp-13421939091342193909287/dispatch/lib/plt/dispatch/exts/ert/repos/git/craftoe/ardu-see/racket/.
(Invalid argument; errno=22)
=== context ===
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:381:28: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:357:4: loop
/Users/jadudm/apps/Racket521/collects/compiler/distribute.rkt:14:2:
assemble-distribution7
------------------
------------------
I haven't dug down into distribute.rkt, but I can if it helps. I can
also try this on a nightly, and/or I can get a cleaned up version of
the code into a repository by itself for inspection. Or, perhaps this
is a common problem that is easily resolved.
My suspicion is that
(require racket/runtime-path)
(define-runtime-path HERE ".")
might be part of the issue. But, perhaps it isn't. Frankly, I don't know.
Cheers,
Matt