mozjpeg icon indicating copy to clipboard operation
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"

Open jessemoe opened this issue 2 years ago • 1 comments

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,'

jessemoe avatar Apr 03 '22 02:04 jessemoe

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.

kornelski avatar Apr 11 '22 16:04 kornelski