Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 18:48:42 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions@freebsd.org
Subject:   Re: Installing imagick php extension
Message-ID:  <CAAdA2WOzPrSpiUZFWOGhPSyXubJhmYN3LBejVC40jxuB-UiiwA@mail.gmail.com>
In-Reply-To: <f0fa4f02-a7d4-46c4-9f53-99222fe13f7a@rail.eu.org>
References:  <CAAdA2WNiysGZZE3Y=TrkHUOfX3bjJar4pVvdrn=VR1n0iHDf2A@mail.gmail.com> <24e2c3b6-6a3b-44c5-ba96-701685de207c@rail.eu.org> <CAAdA2WP0ZxHEMULaPZLryuTd89oBPMfymhzVZJUXbi7B7iv6JA@mail.gmail.com> <f0fa4f02-a7d4-46c4-9f53-99222fe13f7a@rail.eu.org>

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

[-- Attachment #1 --]
On Tue, Jan 16, 2024 at 2:55 PM Erwan David <erwan@rail.eu.org> wrote:

> Le 16/01/2024 à 12:40, Odhiambo Washington a écrit :
> >
> >
> > 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_filec: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
> >
> I updated my poudriere port source and it worked. Maybe you need to be
> on branch "latest" to get it now ?
>

That solved it!

-- 
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"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 16, 2024 at 2:55 PM Erwan David &lt;<a href="mailto:erwan@rail.eu.org">erwan@rail.eu.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 16/01/2024 à 12:40, Odhiambo Washington a écrit :<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jan 16, 2024 at 2:32 PM Erwan David &lt;<a href="mailto:erwan@rail.eu.org" target="_blank">erwan@rail.eu.org</a>&gt; wrote:<br>
&gt;<br>
&gt;     Le 16/01/2024 à 12:10, Odhiambo Washington a écrit :<br>
&gt;     &gt; I am getting stuck installing /usr/ports/graphics/pecl-imagick.<br>
&gt;     &gt;<br>
&gt;     &gt; ```<br>
&gt;     &gt; --- imagickdraw_class.lo ---<br>
&gt;     &gt;  clang -I.<br>
&gt;     -I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0<br>
&gt;     &gt; -I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/include<br>
&gt;     &gt; -I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/main<br>
&gt;     &gt; -I/usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0<br>
&gt;     &gt; -I/usr/local/include/php -I/usr/local/include/php/main<br>
&gt;     &gt; -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend<br>
&gt;     &gt; -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib<br>
&gt;     &gt; -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe<br>
&gt;     &gt; -fstack-protector-strong -isystem /usr/local/include<br>
&gt;     &gt; -fno-strict-aliasing -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c<br>
&gt;     &gt;<br>
&gt;     /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagickdraw_class.c<br>
&gt;<br>
&gt;     &gt; -MMD -MF imagickdraw_class.dep -MT imagickdraw_class.lo  -fPIC<br>
&gt;     -DPIC<br>
&gt;     &gt; -o .libs/imagickdraw_class.o<br>
&gt;     &gt; --- imagick_file.lo ---<br>
&gt;     &gt; In file included from<br>
&gt;     &gt;<br>
&gt;     /usr/ports/graphics/pecl-imagick/work-php82/imagick-3.7.0/imagick_filec:22:<br>
&gt;     &gt; In file included from ./php_imagick_file.h:24:<br>
&gt;     &gt; ./php_imagick_defs.h:25:12: fatal error: &#39;MagickWand/MagickWand.h&#39;<br>
&gt;     &gt; file not found<br>
&gt;     &gt; #  include &lt;MagickWand/MagickWand.h&gt;<br>
&gt;     &gt;            ^~~~~~~~~~~~~~~~~~~~~~~~~<br>
&gt;     &gt; ```<br>
&gt;     &gt;<br>
&gt;     &gt; root@gw:/usr/ports/graphics/pecl-imagick # ls -al `find<br>
&gt;     &gt; /usr/local/include/ -name MagickWand.h`<br>
&gt;     &gt; -rw-r--r--  1 root wheel 3779 Jan 16 13:56<br>
&gt;     &gt; /usr/local/include/ImageMagick-7/MagickWand/MagickWand.h<br>
&gt;     &gt;<br>
&gt;     &gt; Not sure why the file it&#39;s not being found.<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     See <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276368" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276368</a>; bug is<br>
&gt;     already corrected<br>
&gt;<br>
&gt;<br>
&gt;     Erwan David<br>
&gt;<br>
&gt;<br>
&gt; Thanks for this quick response.<br>
&gt; I run this via cron nightly:<br>
&gt;<br>
&gt; ```<br>
&gt; git -C /usr/ports pull<br>
&gt;<br>
&gt; ```<br>
&gt;<br>
&gt; I have just run it manually and it did pull some updates, but did not <br>
&gt; solve my issue.<br>
&gt;<br>
&gt; What should I do?<br>
&gt;<br>
&gt; TIA<br>
&gt;<br>
I updated my poudriere port source and it worked. Maybe you need to be <br>
on branch &quot;latest&quot; to get it now ?<br></blockquote><div><br></div><div>That solved it!</div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="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>;

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WOzPrSpiUZFWOGhPSyXubJhmYN3LBejVC40jxuB-UiiwA>