I've pushed a repair for this problem.

For v6.4, I don't have a workaround except to patch

 "collects/syntax/private/modcollapse-noctc.rkt"

by changing line 330 from

 (normalize-submod `(submod ,(normalize-recur (cadr s)) ,@relto-submod ,@(cddr 
s)))])]

to

 (normalize-submod `(submod ,(normalize-recur (cadr s)) ,@(cddr s)))])]



At Thu, 31 Mar 2016 16:08:56 -0700 (PDT), Alex Harsanyi wrote:
> Hi,
> 
> I'm getting an error when trying to create an executable for a program that 
> uses the math/statistics module.  The simplest example that reproduces the 
> issue is:
> 
>   #lang racket
>   (require math/statistics)
> 
>   (let* ([s  empty-statistics]
>          [s  (update-statistics s 1)]
>          [s  (update-statistics s 2)]
>          [s  (update-statistics s 3)]
>          [s  (update-statistics s 4 2)])
>     (values (statistics-mean s)
>             (statistics-stddev s #:bias #t)))
> 
> The above program runs fine in DrRacket, but when I try to create an 
> stand-alone executable (from the "Racket/Create executable..." DrRacket menu 
> option), I get a "Racket internal error" message:
> 
> require: unknown module
> module name: #<resolved-module-path:(submod "C:\Program 
> Files\Racket\share\pkgs\math-lib\math\private\distributions\dist-struct.rkt" 
> #%contract-defs #%contract-defs)>
> 
> The file referenced in the error message exists and can be read.
> 
> I'm using Racket 6.4 64Bit on Windows 7.
> 
> Any advice on how to get this to work?
> 
> Thanks,
> Alex.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to