[racket] raco distribute has a problem with runtime paths on win32

From: Dmitry Pavlov (dpavlov at ipa.nw.ru)
Date: Mon Apr 28 12:25:03 EDT 2014

accidentally hit the send button...

> I use raco exe and raco distribute on a regular basis.
> Today I added another (define-runtime-path) into my program
> and got the following error from raco distribute:
> copy-and-patch-binaries: not enough room in executable for revised
> #rx#"rUnTiMe-paths[)]" table
>    context...:
>     C:\Program Files\Racket\collects\compiler\distribute.rkt:367:4: loop
>     C:\Program Files\Racket\collects\compiler\distribute.rkt:15:2:
> assemble-distribution7
>     C:\Program
> Files\Racket\share\pkgs\compiler-lib\compiler\commands\exe-dir.rkt:
> [running body]
>     C:\Program Files\Racket\collects\raco\raco.rkt: [running body]
>     C:\Program Files\Racket\collects\raco\main.rkt: [running body]
> On Linux everything works fine.

I have more than 50 (define-runtime-path)s in different modules.
Is that too many for raco distribute on Windows? Are there workarounds
for this problem?

Best regards,


Posted on the users mailing list.