Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 14:10:44 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions <questions@freebsd.org>
Cc:        Miroslav Lachman <000.fbsd@quip.cz>
Subject:   Installing imagick php extension
Message-ID:  <CAAdA2WNiysGZZE3Y=TrkHUOfX3bjJar4pVvdrn=VR1n0iHDf2A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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]

[-- Attachment #2 --]
<div dir="ltr">I am getting stuck installing /usr/ports/graphics/pecl-imagick.<div><br></div><div>```</div><div>--- imagickdraw_class.lo ---<br> 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<br>--- imagick_file.lo ---<br>In file included from /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_file.c:22:<br>In file included from ./php_imagick_file.h:24:<br>./php_imagick_defs.h:25:12: fatal error: &#39;MagickWand/MagickWand.h&#39; file not found<br>#  include &lt;MagickWand/MagickWand.h&gt;<br>           ^~~~~~~~~~~~~~~~~~~~~~~~~<br></div><div>```</div><div><br></div><div>root@gw:/usr/ports/graphics/pecl-imagick # ls -al `find /usr/local/include/ -name MagickWand.h`<br>-rw-r--r--  1 root wheel 3779 Jan 16 13:56 /usr/local/include/ImageMagick-7/MagickWand/MagickWand.h</div><div><br></div><div>Not sure why the file it&#39;s not being found.</div><div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>&quot;<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">&quot;, </span><span style="font-size:12.8px">egrep -v &#39;^$|^.*#&#39; </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Console&quot;,Consolas,&quot;Courier New&quot;,monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div></div>;

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNiysGZZE3Y=TrkHUOfX3bjJar4pVvdrn=VR1n0iHDf2A>