"Make" Error while installing bitcoind. on Mac 10.12.1 sierra #9228

issue genk1 opened this issue on November 27, 2016
  1. genk1 commented at 5:40 AM on November 27, 2016: none

    When I tried to "make", i get errors below and cannot proceed next step like "which bitocoind"or so.. on the book "o'Reily". Can you please help me out with how to solve this problem.

    git - v0.9.0rc1 Homebrew 1.1.1 Homebrew/homebrew-core (git revision 41a3; last commit 2016-11-23)

    Thank you very much.

    $ make Making all in src /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in . Making all in test /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am CXXLD test_bitcoin clang: warning: argument unused during compilation: '-pthread' clang: warning: argument unused during compilation: '-pie' ld: entry point (_main) undefined. for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [test_bitcoin] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1

  2. sipa commented at 6:01 AM on November 27, 2016: member

    You're using v0.9.0rc1? That's a prerelease from almost 3 years ago. Does the same thing happen with v0.13.1?

  3. genk1 commented at 6:05 AM on November 27, 2016: none

    Thank you. I could install well. I was referring the book from 2014. Dec. This causes me a problem.

  4. genk1 closed this on Nov 27, 2016

  5. genk1 reopened this on Nov 27, 2016

  6. genk1 commented at 9:09 AM on November 27, 2016: none

    I thought I could solve the problem as I could use the commands "which bitcoind" or "which bitcoin-cli". but when I use "make" there is still errors left and cannot use "bitcoind" Here is what i get from make, Please help me. And I have not much knowledge with command line. sorry and thank you for your help.

    $make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/GenkiA/bitcoin/src/build-aux/missing aclocal-1.15 -I src/m4 aclocal-1.15: warning: couldn't open directory 'src/m4': No such file or directory cd . && /bin/sh /Users/GenkiA/bitcoin/src/build-aux/missing automake-1.15 --foreign configure.ac:441: error: required file 'build-aux/compile' not found configure.ac:441: 'automake --add-missing' can install 'compile' configure.ac:22: error: required file 'build-aux/config.guess' not found configure.ac:22: 'automake --add-missing' can install 'config.guess' configure.ac:22: error: required file 'build-aux/config.sub' not found configure.ac:22: 'automake --add-missing' can install 'config.sub' configure.ac:32: error: required file 'build-aux/install-sh' not found configure.ac:32: 'automake --add-missing' can install 'install-sh' configure.ac:32: error: required file 'build-aux/missing' not found configure.ac:32: 'automake --add-missing' can install 'missing' configure.ac:13: error: required file 'src/config/bitcoin-config.h.in' not found src/Makefile.am:57: error: Libtool library used but 'LIBTOOL' is undefined src/Makefile.am:57: The usual way to define 'LIBTOOL' is to add 'LT_INIT' src/Makefile.am:57: to 'configure.ac' and run 'aclocal' and 'autoconf' again. src/Makefile.am:57: If 'LT_INIT' is in 'configure.ac', make sure src/Makefile.am:57: its definition is in aclocal's search path. src/Makefile.am: error: required file 'build-aux/depcomp' not found src/Makefile.am: 'automake --add-missing' can install 'depcomp' parallel-tests: error: required file 'build-aux/test-driver' not found parallel-tests: 'automake --add-missing' can install 'test-driver' make: *** [Makefile.in] Error 1

  7. rebroad commented at 5:31 AM on November 28, 2016: contributor

    @genk1 it looks like you might have deleted some files/directories since running autogen.sh (or confgure) - try running ./autogen.sh and ./configure again. (Admittedly it would be nice if the Makefile was able to intelligently realise this).

  8. jonasschnelli added the label MacOSX on Nov 28, 2016
  9. genk1 commented at 7:47 AM on November 28, 2016: none

    @rebroad Thanks for you help. I could finally figured out the way with your suggestion. The reason i couldn't run was "libtool" on autogen.sh, "libevent" on configure. Thank you very much.

  10. fanquake closed this on Nov 28, 2016

  11. DrahtBot locked this on Sep 8, 2021
Contributors
Labels

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-21 18:15 UTC

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