Cannot locate header file MagickWand.h during imagick configuring

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Ubamazive
Posts: 1
Joined: 2019-06-28T06:59:56-07:00
Authentication code: 1152
Location: Dronten

Cannot locate header file MagickWand.h during imagick configuring

Post by Ubamazive » 2019-06-28T11:09:00-07:00

I'm trying to install ImageMagick and imagick on my Centos 7 box. This box is running directadmin, hence I thought this might be a good place to start.

I've searched on google for an hour or so, and I can't really find anything that solves this.

# Wand-config --version
6.8.3 Q16
]# convert --version

Version: ImageMagick 7.0.8

Kernel 5.1.15

I have installed this ImageMagick the following way:
# yum install ImageMagick.x86_64 ImageMagick-devel.x86_64

I've also tried it without the x86_64 on the end, and it installed both (also i386). But the problem still occured.

When I download imagick from source, untar it, use phpize and then configure I get the following error:

checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h

If I use pecl (pecl install imagick) I get the same error as well.

Strangely enough, MagickWand.h is on my system. It's in 2 directories:

/usr/include/wand/MagickWand.h
/usr/local/include/wand/MagickWand.h

I hope one of you guys recognizes this problem and give me some pointers

Post Reply