Add missing automake package to deb-based UNIX install instructions. #7152

pull posita wants to merge 1 commits into bitcoin:master from posita:posita/fix-doc-build-unix changing 1 files +1 −1
  1. posita commented at 6:53 AM on December 2, 2015: contributor

    Fixes the following issue:

    root@c74c16a6aee2:~/bitcoin# ./autogen.sh
    Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    autoreconf: failed to run aclocal: No such file or directory
    root@c74c16a6aee2:~/bitcoin# apt-get install --no-install-recommends automake
    ...
    root@c74c16a6aee2:~/bitcoin# ./autogen.sh
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
    ...
    
  2. jonasschnelli commented at 6:58 AM on December 2, 2015: contributor

    utACK. Can't hurt. But i guess installing automake will install autoconf (as depends)?

  3. jonasschnelli added the label Docs and Output on Dec 2, 2015
  4. Add missing automake package to deb-based UNIX install instructions. b440409025
  5. posita commented at 7:16 AM on December 2, 2015: contributor

    But i guess installing automake will install autoconf (as depends)?

    Ah, good point (for both Ubuntu and Debian). Fixed (rebased).

  6. fanquake commented at 7:57 AM on December 2, 2015: member

    utACK

  7. laanwj commented at 10:13 AM on December 2, 2015: member

    Isn't it the other way around - doesn't autoconf install automake as dependency?

    I've installed bitcoin core on many VMs (both Debian and Ubuntu) from scratch by following just the build-unix.md instructions, I'm not convinced that this change is needed.

  8. posita commented at 5:38 PM on December 2, 2015: contributor

    @laanwj wrote:

    Isn't it the other way around - doesn't autoconf install automake as dependency?

    No. You are confusing their relationship. From https://www.gnu.org/software/automake/#introduction (_emphasis_ added):

    Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards. _Automake requires the use of Autoconf._

    From https://www.gnu.org/software/autoconf/autoconf.html#family (_emphasis_ added):

    Autoconf is often used together with the following software systems:

    This is consistent with Debian's and Ubuntu's package dependencies:

    I've installed bitcoin core on many VMs (both Debian and Ubuntu) from scratch by following just the build-unix.md instructions, I'm not convinced that this change is needed.

    I can't comment on why your intuition is what it is without knowing more about what tools you were using, your understanding of how those tools worked, and what was already on the base images you used for those VMs, but I suspect your confusion stems from one or more of:

    • automake was already installed;
    • automake was getting pulled in as a dependency of something else; or
    • you were indiscriminately installing "recommended" packages (in both Debian and Ubuntu, autoconf recommends automake, but it doesn't maintain a circular dependency for it)

    I'm guessing it was the last one, because that is the default behavior for apt-get. However, relying on recommended packages breaks if you don't install them (e.g., you're aiming for a minimal system by using apt-get install --no-install-recommends ...).

    If you're still unconvinced, try these. Excerpts:

    % docker build -f Dockerfile-debian-jessie-autoconf .
    ...
    + ./autogen.sh
    Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    autoreconf: failed to run aclocal: No such file or directory
    The command '/bin/sh -c BTCD_VERSION=master /tmp/build-unix.sh' returned a non-zero code: 1
    
    % docker build -f Dockerfile-debian-jessie-automake .
    ...
    + ./autogen.sh
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
    libtoolize: copying file `build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux/m4'.
    ...
    
    % docker build -f Dockerfile-ubuntu-trusty-autoconf .
    ...
    + ./autogen.sh
    Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
    autoreconf: failed to run aclocal: No such file or directory
    The command '/bin/sh -c BTCD_VERSION=master /tmp/build-unix.sh' returned a non-zero code: 1
    
    % docker build -f Dockerfile-ubuntu-trusty-automake .
    ...
    + ./autogen.sh
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
    libtoolize: copying file `build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux/m4'.
    ...
    
  9. MarcoFalke commented at 7:49 PM on December 2, 2015: member

    utACK

  10. laanwj commented at 12:52 PM on December 3, 2015: member

    OK, utACK then

  11. laanwj merged this on Dec 3, 2015
  12. laanwj closed this on Dec 3, 2015

  13. laanwj referenced this in commit 5548d9cb11 on Dec 3, 2015
  14. laanwj referenced this in commit cfb44ce97a on Dec 3, 2015
  15. posita deleted the branch on Dec 3, 2015
  16. luke-jr referenced this in commit 9226a6cd77 on Dec 8, 2015
  17. luke-jr referenced this in commit 55763eca17 on Dec 8, 2015
  18. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me