imagemin / imagemin-mozjpeg

Imagemin plugin for mozjpeg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

building mozjpeg Error

fishenal opened this issue · comments

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

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

Any idea?

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`

Linux:

sudo apt-get install libtool automake autoconf nasm

OS X:

brew install libtool automake autoconf nasm

This should probably be included in the install notes.

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.