[plt-scheme] Patching my PLT scheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 28 21:05:32 EDT 2009

At Sat, 29 Aug 2009 11:01:06 +1000, Simon Haines wrote:
> Hello
> I have a patch for my scheme installation that I'd like to try out. I've
> patched a .ss file in collects/web-server/http, but when I try to use it, I
> get 'link: module mismatch, probably from old bytecode whose dependencies
> have changed...'
> I understand the nature of the problem, my question is how do I
> recompile/relink the offending file with its dependencies? I've tried
> renaming/removing the .zo files hoping that a file-not-found triggers a
> recompile, but that doesn't seem to work. Any suggestions?

If the file is called x.ss, use

  mzc x.ss

Or, since the file is in the `web-server/http' collection,

 setup-plt -l web-server/http

Posted on the users mailing list.