[plt-scheme] mzc --exe failing on planet modules

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Sep 11 21:13:40 EDT 2009

Which version are you using?

The symptom looks familiar --- something that was fixed somewhere along
the way --- but I don't remember how to provoke that particular error.
If you're using the latest version, could you provide a more complete
example?


At Fri, 11 Sep 2009 16:32:42 -0700, Synx wrote:
> 
> I have a little planet module I use for convenient greppable logging,
> and it works perfectly, except when I try to compile an --exe. When just
> running mzscheme -n -t file.ss it works perfectly, but when doing mzc
> --exe out file.ss; ./out; it fails with the following error:
> 
> cdddr: expects argument of type <cdddrable value>; given ("synx" "log.ss")
> 
> === context ===
> embedded-resolver
> loop
> 
> 
> I want to emphasize that I never get that error except when trying to
> use a (successfully) compiled executable, and I always get that error
> when trying to use a compiled executable.
> 
> (require (planet synx/log)) seems to cause the error, but only for exes.
> 
> It might be because I fileinject the synx/log module, and there's a bug
> in fileinject that makes it not work only for executables?



Posted on the users mailing list.