[racket] Compilation and additional collections
On Sat, Jun 19, 2010 at 14:42, Laurent <laurent.orseau at gmail.com> wrote:
> Hi all,
>
> I'm trying to compile a project (Racket 5.0, WinXP) into a distribution
> with gracket base.
> I get the following error message when compiling:
> <<<
> e:\projets\scheme-svn\towers\towers-gui.ss:3:9: ATHENS/board2:
> standard-module-name-resolver: collection not found: "ATHENS" in any of:
> (#<path:M:\Documents and Settings\Laurent\Application
> Data\Racket\5.0\collects> #<path:M:\Program Files\Racket\collects>) in:
> ATHENS/board2
>
> === context ===
> standard-module-name-resolver
> M:\Program Files\Racket\collects\compiler\embed-unit.rkt:366:4: get-code
> M:\Program Files\Racket\collects\racket\private\map.rkt:45:11: for-each
> M:\Program Files\Racket\collects\compiler\embed-unit.rkt:765:4:
> do-write-module-bundle
> >>>
> and it refuses to compile.
>
> The fact is I use an additional personal collection path which contains
> ATHENS/board2.ss, and it works correctly when executing the project from
> within DrRacket.
>
> Am I doing things the wrong way?
>
Answer to myself, if ever this can help someone else:
This problem is fixed by using the correct argument to keyword
`#:collects-path' for `create-embedded-executable'.
But I don't know how to provide multiple collect-paths to "raco exe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100627/7c1cc7ec/attachment.html>