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

imagemin-mozjpeg couldn't install successfully on mac osx 10.11 #13

Closed
mamboer opened this issue Jul 6, 2016 · 2 comments
Closed

imagemin-mozjpeg couldn't install successfully on mac osx 10.11 #13

mamboer opened this issue Jul 6, 2016 · 2 comments

Comments

@mamboer
Copy link

mamboer commented Jul 6, 2016

The imagemin-mozjpeg package might not be installed in mac osx.

In my laptop it throws the errors as below:

⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: autoreconf -fiv && ./configure --disable-shared --prefix="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" --bindir="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" --libdir="/Users/lv/dev/workspace/github/o2/o2team.github.io/node_modules/mozjpeg/vendor" && make --jobs=4 && make install --jobs=4
Command failed: autoreconf -fiv
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

After doing some google staff, i found the answer here:

imagemin/imagemin-mozjpeg#1

In mac osx, we should install some extra packages, maybe you should add the instructions to the Readme file.

brew install libtool automake autoconf nasm
@chenzhutian
Copy link
Owner

thank you very much
I would add this node ASAP

@bluesliu
Copy link

Thank you very much. I did it

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

3 participants