Re: [racket-users] Racket internal error when trying to create an executable

2016-04-03 Thread Alex Harsanyi
On Saturday, April 2, 2016 at 9:03:30 PM UTC+8, Robby Findler wrote:
> After you make the changes, run "raco setup" from the command line and just 
> wait. Everything should be good after that. (No need to delete anything.)

Thanks, Robby, this worked.
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.


[racket-users] Racket internal error when trying to create an executable

2016-04-02 Thread Robby Findler
After you make the changes, run "raco setup" from the command line and just
wait. Everything should be good after that. (No need to delete anything.)

Robby

On Saturday, April 2, 2016, Alex Harsanyi > wrote:

> Hi Matthew,
>
> Thanks for the quick reply.  I will try a snapshot build of Racket in a
> few days.
>
> Unfortunately, if I just make the changes you suggested in Racket 6.4 and
> remove the corresponding .zo and .dep files, I just get linkage errors when
> I start Racket.  However, this is due to my lack of skill in this area,
> I'll wait for a snapshot build for the fix.
>
> 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.


Re: [racket-users] Racket internal error when trying to create an executable

2016-04-02 Thread Alex Harsanyi
Hi Matthew,

Thanks for the quick reply.  I will try a snapshot build of Racket in a few 
days.  

Unfortunately, if I just make the changes you suggested in Racket 6.4 and 
remove the corresponding .zo and .dep files, I just get linkage errors when I 
start Racket.  However, this is due to my lack of skill in this area, I'll wait 
for a snapshot build for the fix.

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.


Re: [racket-users] Racket internal error when trying to create an executable

2016-04-01 Thread Matthew Flatt
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: # 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.


[racket-users] Racket internal error when trying to create an executable

2016-03-31 Thread Alex Harsanyi
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: #

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.