Re: Installing imagick php extension
- Reply: Erwan David : "Re: Installing imagick php extension"
- In reply to: Erwan David : "Re: Installing imagick php extension"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 11:40:44 UTC
On Tue, Jan 16, 2024 at 2:32 PM Erwan David <erwan@rail.eu.org> wrote: > Le 16/01/2024 à 12:10, Odhiambo Washington a écrit : > > 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. > > > > > See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276368 bug is > already corrected > > > Erwan David > Thanks for this quick response. I run this via cron nightly: ``` git -C /usr/ports pull ``` I have just run it manually and it did pull some updates, but did not solve my issue. What should I do? TIA -- 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]