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

Re: Install Failure



Yes, completely clean build from latest sources.

From the build directory:
   mkdir zsh-2018-09-06
   cd ./zsh-2018-09-06
   pushd ../../src/zsh-2018-09-06/
  ./Util/preconfig
  popd
  ../../src/zsh-2018-09-06/configure --prefix=/opt/zsh-2018-09-06
  make
  make install

If I had to guess, your source directory is not completely fresh and
../../../src/zsh-2018-09-06/Doc/help/* already exists.

  - Vin


On Thu, Sep 6, 2018 at 5:57 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
wrote:

> This is with 85ae84e89583dfff54905c4632b03bcdc0aa1a79 and it doesn't
> happen with the commit before it, right?  An out-of-tree build?  And
> it's a clean build, i.e., you ran preconfig and configure?
>
> What is the actual command that failed, is it 'make foo' or 'make -C Doc
> foo' and what's foo?
>
> And how's your environment different to mine?  I did test an out-of-tree
> build with that commit before I pushed it.
>
> Vin Shelton wrote on Thu, 06 Sep 2018 17:20 -0400:
> > Here's what I'm getting:
> >
> > make[1]: Entering directory '/home/opt/build/zsh-2018-09-06/Doc'
> > if test x"/opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help" != x""; then \
> >     /bin/sh ../../../src/zsh-2018-09-06/mkinstalldirs
> > /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
> >     /usr/bin/install -c -m 644 ../../../src/zsh-2018-09-06/Doc/help/*
> > /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help; \
> >     while read from to; do \
> >         rm -f /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to || : ; \
> >         ln -s $from /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help/$to; \
> >     done < ../../../src/zsh-2018-09-06/Doc/help.txt; \
> > fi
> > mkdir -m 755 -p -- /opt/zsh-2018-09-06/share/zsh/5.6-dev-0/help
> > /usr/bin/install: cannot stat '../../../src/zsh-2018-09-06/Doc/help/*':
> No
> > such file or directory
> > /bin/sh: 4: cannot open ../../../src/zsh-2018-09-06/Doc/help.txt: No
> such
> > file
> > make[1]: *** [Makefile:481: install.runhelp] Error 2
> > make[1]: Leaving directory '/home/opt/build/zsh-2018-09-06/Doc'
> > make: *** [Makefile:226: install.runhelp] Error 2
> >
> > Source = /opt/src/zsh-2018-09-06
> > Build = /opt/build/zsh-2018-09-06
> > config.log available upon request
> >
> >   - Vin
>


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