aspiers / stow

GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
http://www.gnu.org/s/stow/
GNU General Public License v3.0
589 stars 41 forks source link

make install fails | installation in docker container #94

Closed bjt-user closed 3 months ago

bjt-user commented 2 years ago

I tried installing stow in a Docker container. Cloned this repository. autoconf, automake, perl and the two needed perl modules are installed. autoreconf iv and ./configure did not throw an error. But the make install fails:

make install                                                                                                                                                                     && backupdir=".am$$" && \                                                                                                                                                                                am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \                                                                                                                                                           rm -rf $backupdir && mkdir $backupdir && \                                                                                                                                                                         if (/bin/sh /development/automake/missing makeinfo --version) >/dev/null 2>&1; then \                                                                                                                                for f in doc/stow.info doc/stow.info-[0-9] doc/stow.info-[0-9][0-9] doc/stow.i[0-9] doc/stow.i[0-9][0-9]; do \                                                                                                       if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \                                                                                                                                                  done; \                                                                                                                                                                                                          else :; fi && \                                                                                                                                                                                                    cd "$am__cwd"; \                                                                                                                                                                                                   if /bin/sh /development/automake/missing makeinfo -I .  -I doc -I ./doc \                                                                                                                                           -o doc/stow.info ./doc/stow.texi; \                                                                                                                                                                               then \                                                                                                                                                                                                               rc=0; \                                                                                                                                                                                                            CDPATH="${ZSH_VERSION+.}:" && cd .; \                                                                                                                                                                            else \                                                                                                                                                                                                               rc=$?; \                                                                                                                                                                                                           CDPATH="${ZSH_VERSION+.}:" && cd . && \                                                                                                                                                                            $restore $backupdir/* echo "./doc/stow.info" | sed 's|[^/]*$||'; \                                                                                                                                             fi; \                                                                                                                                                                                                              rm -rf $backupdir; exit $rc                                                                                                                                                                                        /development/automake/missing: line 81: makeinfo: command not found                                                                                                                                                WARNING: 'makeinfo' is missing on your system.                                                                                                                                                                              You should only need it if you modified a '.texi' file, or                                                                                                                                                         any other file indirectly affecting the aspect of the manual.                                                                                                                                                      You might want to install the Texinfo package:                                                                                                                                                                     <https://www.gnu.org/software/texinfo/>                                                                                                                                                                            The spurious makeinfo call might also be the consequence of                                                                                                                                                        using a buggy 'make' (AIX, DU, IRIX), in which case you might                                                                                                                                                      want to install GNU make:                                                                                                                                                                                          <https://www.gnu.org/software/make/>                                                                                                                                                                      make: *** [Makefile:650: doc/stow.info] Error 127 

(sorry, markdown seems broken on github)

The error message and the warning: WARNING: 'makeinfo' is missing on your system. make: *** [Makefile:650: doc/stow.info] Error 127

gutierri commented 1 year ago

build-docker.sh and docker/Dockerfile from this repository can help you with that. They are already configured with all necessary dependencies.

aspiers commented 3 months ago

I have just updated these today, and confirmed that they are working.