I am installing
imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the
Problem is that its cannot find included file:
/usr/local/include/ImageMagick/wand/magick/accelerate.h:25:31: error: magick/morphology.h: No such file or directory
If I copy folder
magick over into
then it will find it but will say some other file is missing in
magic/xxx.h so I have to copy magick again and again there should be some way around?
I created a symlink in
ln -s ../magick magick however it still has the same problem inside file
accelerate.h on line 25 it has
I also tried to do
make --include-dir=/usr/local/include/ImageMagick/ --include-dir=/usr/local/include/ImageMagick` and `make -I /usr/local/include/ImageMagick/ -I /usr/local/include/ImageMagick
I ended up running
make -n to show all commands that make will execute and then added
-I /usr/local/include/ImageMagick/ -I /usr/local/include/ImageMagick to them and run one by one manually.
Isn't there faster way?
The trick was to find where file is with
find / --name "missing.file" and then add the symlinks in the folder where I run Make i.e.
ln -s usr/local/include/ImageMagick/magick magick
ln -s usr/local/include/ImageMagick/wand wand