Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug + patch: `zstyle ':completion:*' menu select=long-list` fails to start menu selection



Marlon Richert wrote on Tue, Mar 09, 2021 at 19:01:54 +0200:
> On Sun, Mar 7, 2021 at 7:22 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > If building from git, did you run Util/preconfig?
> >
> > What was configure's exit code?
> >
> > Did you run `make` (the default target) first?
> 
> Here's my output for those steps:
> 
> % Util/preconfigcd . && ./.preconfig

Looks like something mangled your copy/paste.

> [exit status 0]
> % configure
> [...]
> config.status: executing stamp-h commands
> cp: ./Doc/help.txt: No such file or directory

This error must be coming from here:

  3205	dnl Copy pre-built man pages and help files, for tarball out-of-tree builds.
  3206	for manpage in `cd ${srcdir} && echo Doc/*.1`; do
  3207	  if test x"$manpage" != x"Doc/*.1" && ! test -e "${manpage}"; then
  3208	    cp ${srcdir}/${manpage} ./Doc/
  3209	  fi
  3210	done
  3211	if ! test -e Doc/help.txt; then
  3212	  cp ${srcdir}/Doc/help.txt ./Doc/
  3213	fi
  3214	mkdir -p ./Doc/help
  3215	for helpfile in `cd ${srcdir} && echo Doc/help/*`; do
  3216	  if test x"$helpfile" != x"Doc/help/*" && ! test -e "${helpfile}"; then
  3217	    cp ${srcdir}/${helpfile} ./Doc/help/
  3218	  fi
  3219	done

I guess ./Doc/ doesn't exist for some reason, then?  Were you building
in a clean tree?

That doesn't explain the main.pro error, but there isn't much point in
debugging «make» issues until «configure» succeeds.

Cheers,

Daniel

> % make
> cd .. && /bin/sh $top_srcdir/Src/mkmakemod.sh Src Makemod
> creating Src/Makemod.in
> config.status: creating Src/Makemod
> rm -f stamp-modobjs.tmp
> mv: rename stamp-modobjs.tmp to stamp-modobjs: No such file or directory
> Updated `stamp-modobjs'.
> gcc -c -I. -I../Src -I../Src -I../Src/Zle -I.  -DHAVE_CONFIG_H -Wall
> -Wmissing-prototypes -O2  -o main.o main.c
> main.c:31:10: fatal error: 'main.pro' file not found
> #include "main.pro"
>          ^~~~~~~~~~
> 1 error generated.
> make[2]: *** [main.o] Error 1
> make[1]: *** [main.o] Error 2
> make: *** [all] Error 1
> [exit status 2]




Messages sorted by: Reverse Date, Date, Thread, Author