Re: Installing imagick php extension
- Reply: Odhiambo Washington : "Re: Installing imagick php extension"
- In reply to: Odhiambo Washington : "Installing imagick php extension"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 11:32:01 UTC
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