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

Install error in OSX Yosemite #26

Closed
wbobeirne opened this issue Aug 8, 2017 · 1 comment
Closed

Install error in OSX Yosemite #26

wbobeirne opened this issue Aug 8, 2017 · 1 comment

Comments

@wbobeirne
Copy link

I personally cannot replicate, but 4 students have reported the same issue:

 ✖ Error: autoreconf -fiv && ./configure --disable-shared --prefix="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor" --bindir="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor" --libdir="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor" && make --jobs=4 && make install --jobs=4
Command failed: ./configure --disable-shared --prefix="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor" --bindir="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor" --libdir="/Users/JustinLoffredo/Documents/WWW/nycda-react-flux-art-challenge/node_modules/mozjpeg/vendor"

./configure: line 13758: syntax error near unexpected token `libpng,'
./configure: line 13758: `PKG_CHECK_MODULES(libpng, libpng, HAVE_LIBPNG=1,'

I initially had to have them install libtool and autoconf to get the install running, but I can't get past this issue. A syntax error seems pretty strange.

@wbobeirne
Copy link
Author

After much struggling, I found that it was this issue: mozilla/mozjpeg#112 Missing pkg-config on OSX. I'm guessing that this comes with xcode or something, which is why some would have it and others would not. I wish the handling around this stuff was a little better, but glad I've got it solved.

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

1 participant