GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
I am using npm package grunt-contrib-imagemin which uses gifscile 1.71.
Build process for:
CentOS Linux release 6.0 (Final)
fails with the following message:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make: Entering directory `/root/node_modules/gifsicle/gifsicle'
Making all in src
make: Entering directory `/root/node_modules/gifsicle/gifsicle/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT clp.o -MD -MP -MF .deps/clp.Tpo -c -o clp.o clp.c
clp.c: In function ‘Clp_NewParser’:
clp.c:504: error: ‘Clp_SetArgu’ undeclared (first use in this function)
clp.c:504: error: (Each undeclared identifier is reported only once
clp.c:504: error: for each function it appears in.)
clp.c:504: error: expected ‘;’ at end of input
clp.c:504: error: expected declaration or statement at end of input
clp.c:481: error: label ‘failed’ used but not defined
make: *** [clp.o] Error 1
make: Leaving directory `/root/node_modules/gifsicle/gifsicle/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/root/node_modules/gifsicle/gifsicle'
make: *** [all] Error 2
Perhaps we should update to gifsicle 1.72 ?
I have (maybe) a related issue that happens on CentOS release 6.4 (Final) 64-bit.
I try to npm install the latest (0.4.0) plugin version and I get an error that says ✗ pre-build test failed, compiling from source... and then it downloads gifsicle and tries to compile from source, fails, downloads gifsicle again and tries to compile from source again. This goes on and on until I CTRL+C it.
✗ pre-build test failed, compiling from source...