[RESOLVED]cannot compile IM 6.8.7.7 Q16 Mac OSX
Posted: 2013-11-24T12:44:22-07:00
I am getting a make error apparently due to an OpenCL issue even though I have --disable-opencl in my config file
libtool: compile: gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/Users/fred/applications/ImageMagick-6.8.7-7/magick -I/Users/fred/applications/ImageMagick-6.8.7-7/wand -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -g -O2 -Wall -fexceptions -D_FORTIFY_SOURCE=0 -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -c magick/opencl.c -fno-common -DPIC -o magick/.libs/magick_libMagickCore_6_Q16_la-opencl.o
magick/opencl.c:88:26: error: linux/limits.h: No such file or directory
make[2]: *** [magick/magick_libMagickCore_6_Q16_la-opencl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
libtool: compile: gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/Users/fred/applications/ImageMagick-6.8.7-7/magick -I/Users/fred/applications/ImageMagick-6.8.7-7/wand -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -g -O2 -Wall -fexceptions -D_FORTIFY_SOURCE=0 -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -c magick/opencl.c -fno-common -DPIC -o magick/.libs/magick_libMagickCore_6_Q16_la-opencl.o
magick/opencl.c:88:26: error: linux/limits.h: No such file or directory
make[2]: *** [magick/magick_libMagickCore_6_Q16_la-opencl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2