Page 1 of 1

mac os x compile failure in quantize.c (6.4.2.3)

Posted: 2008-07-16T00:32:46-07:00
by epo001
This is IM 6.4.2.3 using Apple developer tools on mac os x 10.5.4, extract from make log:

make all-am
/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl
-I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/libxml2 -g -O2 -Wall
-W -D_THREAD_SAFE -c -o magick/magick_libMagickCore_la-quantize.lo `test -f 'magick/quantize.c' || echo './'`magick/quantize.c
magick/quantize.c: In function ‘SetGrayscaleImage’:
magick/quantize.c:2903: error: array subscript is not an integer
magick/quantize.c:2915: error: array subscript is not an integer
make[1]: *** [magick/magick_libMagickCore_la-quantize.lo] Error 1
make: *** [all] Error 2

My configure options are:
$ ./configure --with-quantum-depth=16 --disable-dependency-tracking --with-x=yes
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ --without-perl --enable-hdri

Ed

Re: mac os x compile failure in quantize.c (6.4.2.3)

Posted: 2008-07-16T04:15:06-07:00
by magick
Thanks. We have a patch in the subversion trunk for the problem you reported.