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

building mozjpeg Error #1

Closed
fishenal opened this issue Jul 22, 2014 · 6 comments
Closed

building mozjpeg Error #1

fishenal opened this issue Jul 22, 2014 · 6 comments

Comments

@fishenal
Copy link

✗ Error: Command failed: 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

@JeroenSormani
Copy link

Got the same
Error: Command failed: /bin/sh: autoreconf: command not found

Any idea?

@garypburton
Copy link

Same here. I think that error means autoreconf isn't installed (I am on OSX Mavericks) so I installed automake via homebrew (which includes autoreconf) and this gave a much more verbose error but still won't build.

The error:
✗ Error: Command failed: autoreconf: Entering directory .'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:241: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:241: the top level
configure.ac:247: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:247: the top level
configure.ac:427: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:182: AC_CHECK_COMPATIBLE_ARM_ASSEMBLER_IFELSE is expanded from...
configure.ac:427: the top level
configure.ac:443: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:212: AC_CHECK_COMPATIBLE_MIPSEL_ASSEMBLER_IFELSE is expanded from...
configure.ac:443: the top level
autoreconf: configure.ac: tracing
configure.ac:241: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:241: the top level
configure.ac:247: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:247: the top level
configure.ac:427: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:182: AC_CHECK_COMPATIBLE_ARM_ASSEMBLER_IFELSE is expanded from...
configure.ac:427: the top level
configure.ac:443: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:212: AC_CHECK_COMPATIBLE_MIPSEL_ASSEMBLER_IFELSE is expanded from...
configure.ac:443: the top level
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
configure.ac:241: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:241: the top level
configure.ac:247: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2670: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from...
configure.ac:247: the top level
configure.ac:427: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:182: AC_CHECK_COMPATIBLE_ARM_ASSEMBLER_IFELSE is expanded from...
configure.ac:427: the top level
configure.ac:443: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:197: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2598: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:212: AC_CHECK_COMPATIBLE_MIPSEL_ASSEMBLER_IFELSE is expanded from...
configure.ac:443: the top level
configure.ac:21: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1`

@kevva
Copy link
Contributor

kevva commented Aug 20, 2014

Linux:

sudo apt-get install libtool automake autoconf nasm

OS X:

brew install libtool automake autoconf nasm

@kevva kevva closed this as completed Aug 20, 2014
@GCheung55
Copy link

This should probably be included in the install notes.

@kevva
Copy link
Contributor

kevva commented Oct 21, 2014

@GCheung55, fixed in imagemin/mozjpeg-bin@0f6b5dd.

@joshkpeterson
Copy link

It's helpful that you added that error message, but I was still tripped up by this. I just took on someone else's project with an older version of the module, so I didn't see the error. It would be nice if you put this dependency in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants