Installing imagick php extension

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Tue, 16 Jan 2024 11:10:44 UTC
I am getting stuck installing /usr/ports/graphics/pecl-imagick.

```
--- imagickdraw_class.lo ---
 clang -I. -I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0
-I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/include
-I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/main
-I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -isystem
/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -D_GNU_SOURCE
-DZEND_COMPILE_DL_EXT=1 -c
/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickdraw_class.c
-MMD -MF imagickdraw_class.dep -MT imagickdraw_class.lo  -fPIC -DPIC -o
.libs/imagickdraw_class.o
--- imagick_file.lo ---
In file included from
/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_file.c:22:
In file included from ./php_imagick_file.h:24:
./php_imagick_defs.h:25:12: fatal error: 'MagickWand/MagickWand.h' file not
found
#  include <MagickWand/MagickWand.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~~
```

root@gw:/usr/ports/graphics/pecl-imagick # ls -al `find /usr/local/include/
-name MagickWand.h`
-rw-r--r--  1 root wheel 3779 Jan 16 13:56
/usr/local/include/ImageMagick-7/MagickWand/MagickWand.h

Not sure why the file it's not being found.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]