* PATCH: Re: Something weird with modules aliases
@ 1999-12-20 13:37 zefram
1999-12-23 13:17 ` Andrej Borsenkow
0 siblings, 1 reply; 6+ messages in thread
From: zefram @ 1999-12-20 13:37 UTC (permalink / raw)
To: ZSH workers mailing list
>compinit:475: failed to load module: complete
>compinit:zstyle:475: autoload failed
>compinit:476: command not found: zstyle
Slight module loading problem there. Let me guess: you don't have any
alias modules being compiled.
Maybe this will help.
diff -crN ../zsh-/.distfiles ./.distfiles
*** ../zsh-/.distfiles Thu Apr 15 19:05:35 1999
--- ./.distfiles Mon Dec 20 13:10:06 1999
***************
*** 1,5 ****
DISTFILES_SRC='
! .cvsignore .distfiles Makefile.in
ChangeLog ChangeLog.3.0 INSTALL META-FAQ README
acconfig.h aclocal.m4 aczsh.m4 configure.in
configure config.h.in stamp-h.in
--- 1,5 ----
DISTFILES_SRC='
! .cvsignore .distfiles .preconfig Makefile.in
ChangeLog ChangeLog.3.0 INSTALL META-FAQ README
acconfig.h aclocal.m4 aczsh.m4 configure.in
configure config.h.in stamp-h.in
diff -crN ../zsh-/.preconfig ./.preconfig
*** ../zsh-/.preconfig Thu Jan 1 01:00:00 1970
--- ./.preconfig Mon Dec 20 13:22:03 1999
***************
*** 0 ****
--- 1,7 ----
+ #! /bin/sh
+
+ set -e
+
+ autoconf
+ autoheader
+ echo > stamp-h.in
diff -crN ../zsh-/INSTALL ./INSTALL
*** ../zsh-/INSTALL Tue Nov 23 16:22:16 1999
--- ./INSTALL Mon Dec 20 13:27:03 1999
***************
*** 19,24 ****
--- 19,34 ----
for your particular architecture. Most architectures will not require any
special instructions.
+ Pre-configuration
+ -----------------
+
+ If you are using a normal source release, skip this section.
+
+ If the `configure' script does not already exist -- e.g., if you've got
+ a snapshot of the bare sources just checked out from a CVS repository
+ -- some things need to be built before the configuration can proceed.
+ Run the script `./Util/preconfig' to do this.
+
Configuring Zsh
---------------
diff -crN ../zsh-/Util/.distfiles ./Util/.distfiles
*** ../zsh-/Util/.distfiles Mon Aug 30 17:52:51 1999
--- ./Util/.distfiles Mon Dec 20 13:22:59 1999
***************
*** 1,4 ****
--- 1,5 ----
DISTFILES_SRC='
.distfiles
helpfiles mkdisttree.sh reporter
+ preconfig
'
diff -crN ../zsh-/Util/preconfig ./Util/preconfig
*** ../zsh-/Util/preconfig Thu Jan 1 01:00:00 1970
--- ./Util/preconfig Mon Dec 20 13:21:44 1999
***************
*** 0 ****
--- 1,14 ----
+ #! /bin/sh
+
+ find . \( -name '*.*' -prune \) -o \( -name .preconfig -print \) | (
+ while read pre; do
+ cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
+ echo >&2 "$cmd"
+ if ( eval "$cmd" ); then :; else
+ echo "$0: $pre failed (status $?)"
+ exit 1
+ fi
+ done
+ )
+
+ exit 0
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: PATCH: Re: Something weird with modules aliases
1999-12-20 13:37 PATCH: Re: Something weird with modules aliases zefram
@ 1999-12-23 13:17 ` Andrej Borsenkow
1999-12-23 13:29 ` Zefram
0 siblings, 1 reply; 6+ messages in thread
From: Andrej Borsenkow @ 1999-12-23 13:17 UTC (permalink / raw)
To: zefram, ZSH workers mailing list
Merry Christmas to everybody!
>
> + Pre-configuration
> + -----------------
> +
> + If you are using a normal source release, skip this section.
> +
> + If the `configure' script does not already exist -- e.g., if you've got
> + a snapshot of the bare sources just checked out from a CVS repository
> + -- some things need to be built before the configuration can proceed.
> + Run the script `./Util/preconfig' to do this.
> +
Freshly fetched from CVS:
bor@itsrm2% ./Util/preconfig
cd . && ./.preconfig
cd . && ./.preconfig
cd ./Src/Aliases && ./.preconfig
cd ./Src/Aliases && ./.preconfig
Is it correct (that it is run two times?)
/andrej
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PATCH: Re: Something weird with modules aliases
1999-12-23 13:17 ` Andrej Borsenkow
@ 1999-12-23 13:29 ` Zefram
1999-12-23 14:02 ` Andrej Borsenkow
0 siblings, 1 reply; 6+ messages in thread
From: Zefram @ 1999-12-23 13:29 UTC (permalink / raw)
To: Andrej Borsenkow; +Cc: zefram, ZSH workers mailing list
Andrej Borsenkow wrote:
>bor@itsrm2% ./Util/preconfig
>cd . && ./.preconfig
>cd . && ./.preconfig
>cd ./Src/Aliases && ./.preconfig
>cd ./Src/Aliases && ./.preconfig
>
>Is it correct (that it is run two times?)
No, and I can't reproduce it. What system are you on? What does
"sh -x ./Util/preconfig" say?
-zefram
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: PATCH: Re: Something weird with modules aliases
1999-12-23 13:29 ` Zefram
@ 1999-12-23 14:02 ` Andrej Borsenkow
1999-12-23 14:20 ` Zefram
0 siblings, 1 reply; 6+ messages in thread
From: Andrej Borsenkow @ 1999-12-23 14:02 UTC (permalink / raw)
To: Zefram; +Cc: ZSH workers mailing list
>
> No, and I can't reproduce it. What system are you on? What does
> "sh -x ./Util/preconfig" say?
>
bor@itsrm2% find . \( -name '?*.*' -prune \) -o \( -name .preconfig -print \)
./.preconfig
./.preconfig
./Src/Aliases/.preconfig
./Src/Aliases/.preconfig
According to my manual page, our find executes -print by default if no ather
actions are specified. Unfortunately, it looks like find considers only
top-level expressions. At the same time, -print is executed unconditionally. It
means, that in .preconfig case it is first printed by inner -print and then by
"default" missing one. This smells like a bug ... what d'you think?
Do you have anything against this one? (actually, default according to
precedence rules):
bor@itsrm2% find . -name '?*.*' -prune -o -name .preconfig -print
./.preconfig
./Src/Aliases/.preconfig
/andrej
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PATCH: Re: Something weird with modules aliases
1999-12-23 14:02 ` Andrej Borsenkow
@ 1999-12-23 14:20 ` Zefram
1999-12-23 15:04 ` PATCH: " Andrej Borsenkow
0 siblings, 1 reply; 6+ messages in thread
From: Zefram @ 1999-12-23 14:20 UTC (permalink / raw)
To: Andrej Borsenkow; +Cc: Zefram, ZSH workers mailing list
Andrej Borsenkow wrote:
>bor@itsrm2% find . -name '?*.*' -prune -o -name .preconfig -print
That should be fine. We should make the same changes in mkdisttree.sh.
-zefram
^ permalink raw reply [flat|nested] 6+ messages in thread
* PATCH: RE: PATCH: Re: Something weird with modules aliases
1999-12-23 14:20 ` Zefram
@ 1999-12-23 15:04 ` Andrej Borsenkow
0 siblings, 0 replies; 6+ messages in thread
From: Andrej Borsenkow @ 1999-12-23 15:04 UTC (permalink / raw)
To: ZSH workers mailing list
>
> Andrej Borsenkow wrote:
> >bor@itsrm2% find . -name '?*.*' -prune -o -name .preconfig -print
>
> That should be fine. We should make the same changes in mkdisttree.sh.
>
Hope, it will not be mangled (why zsh-workers do not like MIME?)
--- Util/mkdisttree.sh.org Wed Dec 8 21:16:29 1999
+++ Util/mkdisttree.sh Thu Dec 23 18:02:07 1999
@@ -46,7 +46,7 @@
trap 'rm -f $filelist; rm -rf $disttree; exit 1' 1 2 15
(
cd $sdir_top
- find . \( -name '*.*' -prune \) -o \( -name .distfiles -print \)
+ find . \( -name '*.*' -prune \) -o -name .distfiles -print
) > $filelist
( while read dfn; do
subdir=`echo $dfn | sed 's,/\.distfiles$,,'`
--- Util/preconfig.org Thu Dec 23 01:02:59 1999
+++ Util/preconfig Thu Dec 23 18:02:22 1999
@@ -1,6 +1,6 @@
#! /bin/sh
-find . \( -name '?*.*' -prune \) -o \( -name .preconfig -print \) | (
+find . \( -name '?*.*' -prune \) -o -name .preconfig -print | (
while read pre; do
cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
echo >&2 "$cmd"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-12-23 15:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-20 13:37 PATCH: Re: Something weird with modules aliases zefram
1999-12-23 13:17 ` Andrej Borsenkow
1999-12-23 13:29 ` Zefram
1999-12-23 14:02 ` Andrej Borsenkow
1999-12-23 14:20 ` Zefram
1999-12-23 15:04 ` PATCH: " Andrej Borsenkow
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).