Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with install: autoreconf fails to run aclocal #24

Closed
Enviy opened this issue Sep 19, 2018 · 6 comments

Comments

@Enviy
Copy link

commented Sep 19, 2018

This is on macOS High Sierra (10.13.6). The initial issue was an install error with "pip install thug" the error was for the pylibemu dependency. I wasn't sure if there was a better place to report this error or seek assistance. Can someone please advise on how I might be able to fix this error? Thanks in advance!

Steps taken:
sudo git clone --recursive https://github.com/buffer/pylibemu.git
sudo python setup.py install

Output (Error):

running install
running build
running build_clib
running 'autoreconf -v -i -f' for library 'emu'
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
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
Traceback (most recent call last):
File "setup.py", line 244, in
libraries = ["emu"]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 573, in run
self.run_command('build')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "setup.py", line 88, in finalize_options
check_call(['autoreconf', '-v', '-i', '-f'], cwd = build_info['local_source'], env = env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['autoreconf', '-v', '-i', '-f']' returned non-zero exit status 1

@buffer

This comment has been minimized.

Copy link
Owner

commented Oct 30, 2018

Sorry for the late reply. I totally missed the issue. Apparently you're missing aclocal. aclocal is part of GNU's automake set of tools. You should be able to simply run 'brew install automake' to add it to your path. Let me know if that solves your issue

@buffer buffer self-assigned this Oct 30, 2018
@wesinator

This comment has been minimized.

Copy link

commented Nov 20, 2018

Had a similar issue on Ubuntu - running apt install autoconf libtool seemed to fix it.

@ericyoungberg

This comment has been minimized.

Copy link

commented May 15, 2019

For me, I had to install automake instead of autoconf on Ubuntu 18.04.

@lijiaocn

This comment has been minimized.

Copy link

commented Jun 14, 2019

install automake, for centos, command is : yum install -y automake

@Enviy

This comment has been minimized.

Copy link
Author

commented Jul 5, 2019

I apologize for the crazy delayed response. The error ended up being that I was really trying to get it to run on Python 3.7. There are a few dependencies which aren't supported on more recent versions of Python.

@Enviy Enviy closed this Jul 5, 2019
@jakesyl

This comment has been minimized.

Copy link

commented Sep 22, 2019

automake worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.