zsh-workers
 help / color / mirror / code / Atom feed
* zrecompile
@ 2000-04-02 10:01 Andrej Borsenkow
  2000-04-03  1:29 ` zrecompile Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Andrej Borsenkow @ 2000-04-02 10:01 UTC (permalink / raw)
  To: ZSH workers mailing list

This is the second time ... not sure what's going wrong:

bor@itsrm2% l .zsh.d
completion/      completion.zwc   functions/
bor@itsrm2% zrecompile
zrecompile:zcompile:144: invalid dump file:
/home/bor/.zsh.d/completion.zwc
re-compiling /home/bor/.zsh.d/completion.zwc: failed
zrecompile:zcompile:144: invalid dump file:
/home/bor/.zsh.d/completion.zwc
re-compiling /home/bor/.zsh.d/completion.zwc: mv: Cannot access
/home/bor/.zsh.d/completion.zwc: No such file or directory
failed
bor@itsrm2% l .zsh.d
completion/          completion.zwc.old   functions/
bor@itsrm2% print $fpath
/home/bor/.zsh.d/completion /home/bor/.zsh.d/completion.zwc
/home/bor/.zsh.d/functions /tools/share/zsh/site-functions
/tools/share/zsh/3.1.6-dev-20/functions/Base
/tools/share/zsh/3.1.6-dev-20/functions/Builtins
/tools/share/zsh/3.1.6-dev-20/functions/Commands
/tools/share/zsh/3.1.6-dev-20/functions/Core
/tools/share/zsh/3.1.6-dev-20/functions/Debian
/tools/share/zsh/3.1.6-dev-20/functions/Linux
/tools/share/zsh/3.1.6-dev-20/functions/Misc
/tools/share/zsh/3.1.6-dev-20/functions/Prompts
/tools/share/zsh/3.1.6-dev-20/functions/User
/tools/share/zsh/3.1.6-dev-20/functions/X
/tools/share/zsh/3.1.6-dev-20/functions/Zftp
/tools/share/zsh/3.1.6-dev-20/functions/Zle

I suspect, that zrecompile is confused by _directory_
~/.zsh.d/completion and wordcode file ~/.zsh.d/completion.zwc. The file
was produced by

zcompile ~/.zsh.d/completion.zwc /tools/share/zsh/$ZSH_VERSION/**/*(^\)

-andrej

Have a nice DOS!
B >>


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: zrecompile
@ 2000-04-03  8:39 Sven Wischnowsky
  2000-04-03  9:45 ` zrecompile Sven Wischnowsky
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Wischnowsky @ 2000-04-03  8:39 UTC (permalink / raw)
  To: zsh-workers


Bart Schaefer wrote:

> On Apr 2,  2:01pm, Andrej Borsenkow wrote:
> } Subject: zrecompile
> }
> } This is the second time ... not sure what's going wrong:
> } 
> } bor@itsrm2% zrecompile
> } zrecompile:zcompile:144: invalid dump file:
> } /home/bor/.zsh.d/completion.zwc
> 
> I get that error when I try to use -dev-20 to recompile a file that was
> written with -dev-19.  I think the -k/-z option changes introduced this
> incompatibility.  You'll just have to recompile "by hand."

Right. zrecompile should be a bit more clever to handle error
conditions, though.

And another thing: the zwc files till use $ZSH_VERSION in the header
to test for compatibility -- somehow I didn't like to add an additional 
version number scheme for them, but it would be better, I think (the
format will certainly change less often than $ZSH_VERSION).

No patch, I'm still compiling the thing from CVS...

Bye
 Sven

P.S.: Sourceforge Bug #103797 can be closed, it seems. It also seems
      that only administrators can do that.

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-04-03 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-02 10:01 zrecompile Andrej Borsenkow
2000-04-03  1:29 ` zrecompile Bart Schaefer
2000-04-03  8:39 zrecompile Sven Wischnowsky
2000-04-03  9:45 ` zrecompile Sven Wischnowsky
2000-04-03 10:01   ` zrecompile Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).