[plt-scheme] Patching my PLT scheme
At Fri, 28 Aug 2009 19:05:32 -0600, Matthew Flatt wrote:
> 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
Actually... that just recompiles the changed "x.ss", but you're
probably getting the error when some other starting point "y.ss" tries
to use "x.ss". In that case, you want
mzc y.ss