Jmagick: configure: error: 'Unable to find ImageMagick header files' on MacOS

时间:2018-11-12 17:12:55

标签: imagemagick jmagick

I am new to jmagick and image magick.

I have image magick 7.0.8-14 installed on mac.when I try to configure Jmagick, I get below error. I referred many posts to resolve the error, but nothing helped.

./configure --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/Current --with-magick-home=/usr/local/Cellar/imagemagick/7.0.8-14/
checking build system type... i686-apple-darwin17.7.0
checking host system type... i686-apple-darwin17.7.0
checking target system type... i686-apple-darwin17.7.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for getconf... /usr/bin/getconf
checking whether large file support needs explicit enabling... no
checking for X... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for java... /Users/merla/.jenv/shims/java
checking for javac... /Users/merla/.jenv/shims/javac
checking for javah... /Users/merla/.jenv/shims/javah
checking for jar... /Users/merla/.jenv/shims/jar
checking for javadoc... /Users/merla/.jenv/shims/javadoc
checking for MagickCore-config... /usr/local/bin/MagickCore-config
checking magick/api.h usability... no
checking magick/api.h presence... no
checking for magick/api.h... no
configure: error: 'Unable to find ImageMagick header files'
Could someone help with installation

0 个答案:

没有答案