bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23122: 25.1.50; Makefile target install-info tries to install delete


From: Eli Zaretskii
Subject: bug#23122: 25.1.50; Makefile target install-info tries to install deleted info files
Date: Sat, 26 Mar 2016 20:54:32 +0300

> From: flitterio@gmail.com (Francis Litterio)
> Date: Sat, 26 Mar 2016 12:17:07 -0400
> 
> install-info: info
>       ...
>       if [ "`cd ${srcdir}/info && /bin/pwd`" = "$$exp_infodir" ]; then \
>         true; \
>       else \
>          ...
>          for elt in ${INFO_NONMISC} $${info_misc}; do \
>             ...
>             for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
>              (cd "$${thisdir}"; \
>               ${INSTALL_DATA} ${srcdir}/info/$$f "$(DESTDIR)${infodir}/$$f"); 
> \
>               ...
>               ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"; \
>             done; \
>            (cd "$${thisdir}"; \
>             ${INSTALL_INFO} --info-dir="$(DESTDIR)${infodir}" 
> "$(DESTDIR)${infodir}/$$elt"); \
>          done; \
>       fi
> 
> This command near the end:
> 
>   ${INSTALL_INFO} --info-dir="$(DESTDIR)${infodir}" 
> "$(DESTDIR)${infodir}/$$elt")
> 
> refers to info file $(DESTDIR)${infodir}/$$elt, but that file has been
> deleted by this preceding gzip command:
> 
>   ${GZIP_PROG} -9n "$(DESTDIR)${infodir}/$$f"
> 
> because the -n switch tells gzip to delete the file being compressed.
> Both of these commands are in a for loop that processes every info file.
> This leads to a block of errors in the output of "make install-info" of
> this form, with one error for each info file being installed:
> 
>   install-info: No such file or directory for 
> /apps/emacs/share/info/emacs.info
>   install-info: No such file or directory for 
> /apps/emacs/share/info/eintr.info
>   install-info: No such file or directory for 
> /apps/emacs/share/info/elisp.info
>   install-info: No such file or directory for 
> /apps/emacs/share/info/ada-mode.info
>   ...

The above works for me here.

Could it be that your version of the install-info program doesn't
support compressed Info files?  What version of Texinfo do you have
installed?

>  'configure --prefix=c:/apps/emacs --without-x --without-xpm
>  --without-png --without-jpeg --without-tiff --without-gif'

The file nt/INSTALL recommends to use /c/apps/emacs instead of
c:/apps/emacs as the argument to --prefix.  This could be related to
your problem, but even if not, my advice is to do as nt/INSTALL says.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]