while this autoconf: automake failed with exit status: 1 error can come due to multiple reasons but most probably it will be due to missing autoconf package or libtool library or may be both.
So to resolve this error,first you need to check if autoconf is installed in your system.
1. install autoconf
sudo apt-get install autoconf
Once autoconf is installed,then now you need to check if libtool is installed.
2. install libtool
sudo apt-get intall libtool
Try it again!
Hopefully this article helped you solving autoreconf: error: automake failed with exit status: 1 error