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
--0000000000009ba29e060f0e308d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=3D1 -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.


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

--0000000000009ba29e060f0e308d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am getting stuck installing=C2=A0/usr/ports/graphics/pec=
l-imagick.<div><br></div><div>```</div><div>--- imagickdraw_class.lo ---<br=
>=C2=A0clang -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/us=
r/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/main -I/usr/ports/gr=
aphics/pecl-imagick/work-php82/imagick-3.7.0 -I/usr/local/include/php -I/us=
r/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/li=
b -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-s=
trong -isystem /usr/local/include -fno-strict-aliasing -D_GNU_SOURCE -DZEND=
_COMPILE_DL_EXT=3D1 -c /usr/ports/graphics/pecl-imagick/work-php82/imagick-=
3.7.0/imagickdraw_class.c -MMD -MF imagickdraw_class.dep -MT imagickdraw_cl=
ass.lo =C2=A0-fPIC -DPIC -o .libs/imagickdraw_class.o<br>--- imagick_file.l=
o ---<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_fil=
e.h:24:<br>./php_imagick_defs.h:25:12: fatal error: &#39;MagickWand/MagickW=
and.h&#39; file not found<br># =C2=A0include &lt;MagickWand/MagickWand.h&gt=
;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~<br>=
</div><div>```</div><div><br></div><div>root@gw:/usr/ports/graphics/pecl-im=
agick # ls -al `find /usr/local/include/ -name MagickWand.h`<br>-rw-r--r-- =
=C2=A01 root wheel 3779 Jan 16 13:56 /usr/local/include/ImageMagick-7/Magic=
kWand/MagickWand.h</div><div><br></div><div>Not sure why the file it&#39;s =
not being found.</div><div><br clear=3D"all"><div><br></div><span class=3D"=
gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signa=
ture" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr">=
<div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 000=
4/+254 7 2274 3223<br>&quot;<span style=3D"font-size:12.8px">Oh, the cruft.=
</span><span style=3D"font-size:12.8px">&quot;,=C2=A0</span><span style=3D"=
font-size:12.8px">egrep -v &#39;^$|^.*#&#39;=C2=A0</span><span style=3D"bac=
kground-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"=
>=C2=AF\_(=E3=83=84)_/=C2=AF</span><span style=3D"font-size:12.8px">=C2=A0:=
-)</span></div><div><span style=3D"font-size:12.8px">[How to ask smart ques=
tions:=C2=A0</span><span style=3D"font-size:12.8px"><a href=3D"http://www.c=
atb.org/~esr/faqs/smart-questions.html" target=3D"_blank">http://www.catb.o=
rg/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>=
</div>

--0000000000009ba29e060f0e308d--



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