I'm following along in Andreas Antonopoulos Bitcoin book Mastering Bitcoin Chapter 3 (The Bitcoin client)
And am at the part where I've cloned the Bitcoin github project.
I've checked out v0.9.3rc2
Now the next step in the book is below:
Assuming the prerequisites are installed, you start the build process by generating a set of build scripts using the autogen.sh script.
$ ./ autogen.sh configure.ac: 12: installing ` src/ build-aux/ config.guess'
configure.ac: 12: installing ` src/ build-aux/ config.sub'
configure.ac: 37: installing ` src/ build-aux/ install-sh'
configure.ac: 37: installing ` src/ build-aux/ missing'
src/ Makefile.am: installing ` src/ build-aux/ depcomp'
$
Trying the following commands, but nothing works
./autogen.sh
autogen.sh
sh autogen.sh
bash autogen.sh
I keep getting:
./autogen.sh: line 5: autoreconf: command not found
What am I doing wrong?
UPDATE Thanks to @nu11p01n73R and also reading the osx doc I installed homebrew and then installed autoconf, worked! Now I tried to run the autogen.sh file again and am getting a new error:
Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
Installing autoconf
and automake
would solve the issue