mozjpeg
mozjpeg copied to clipboard
✖ Error: Command failed: /bin/sh -c ./configure --enable-static --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/home/csg/node_modules/mozjpeg/vendor" --bindir="/home/csg/overreact/node_modules/mozjpeg/vendor" --libdir="mozjpeg/vendor"
Directory: /home/csg/github/overreacted.io/node_modules/mozjpeg
Output:
⚠ connect ECONNREFUSED 0.0.0.0:443
⚠ mozjpeg pre-build test failed
ℹ compiling from source
✖ Error: Command failed: /bin/sh -c ./configure --enable-static --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/home/csg/github/overreacted.io/node_modules/mozjpeg/vendor" --bindir="/home/csg/github/overreacted.io/node_modules/mozjpeg/vendor" --libdir="/home/csg/github/overreacted.io/node_modules/mozjpeg/vendor"
./configure: line 14675: PKG_PROG_PKG_CONFIG: command not found
./configure: line 14933: syntax error near unexpected token `libpng,'
./configure: line 14933: `PKG_CHECK_MODULES(libpng, libpng, HAVE_LIBPNG=1,'
You need to have pkg-config installed on your system.
Please note that this project is for C library, and does not support Node.js package.