graphics/ImageMagick build error

Marcus Alves Grando mnag at FreeBSD.org
Sat May 27 12:29:37 PDT 2006


Jonathan Noack wrote:
> On 05/25/06 10:13, Marcus Alves Grando wrote:
>> Eric wrote:
>>> Jonathan Noack wrote:
>>>> On 05/25/06 00:49, Jonathan Noack wrote:
>>>>> After the latest ImageMagick port update to 6.2.7.7, I get the following
>>>>> build error on several 6.1-RELEASE and 6.1-STABLE machines (all other
>>>>> ports are up-to-date).  It appears to be looking for freetype2 in
>>>>> /usr/local/include whereas it is actually installed in /usr/X11R6/include.
>>>> Oops... I confused freetype2 and fontconfig.  It can't find
>>>> fontconfig/fontconfig.h which is located in /usr/X11R6/include.
>>>>
>>>>> ...
>>> <snip>
>>>
>>> i got the same error too, so i did a 'locate fontconfig.h' and copied
>>> its full path, then edited magick/type.c to point to the location of my
>>> file (which you mentioned above).  it got the port to compile and
>>> install, but i agree with you, something is wonky with the latest
>>> ImageMagick
>> Please, try this patch:
>>
>> http://marcus.grupos.com.br:8080/patch/ImageMagick.patch
> 
> I tried to upgrade to 6.2.7.7_1 and it worked on all but one machine.
> The port is still broken in the same way when using WITHOUT_X11.  For
> that matter, librsvg2 brings in gtk (and a lot of other things) and
> probably shouldn't be installed when using WITHOUT_X11.
> 
> See attached patch.  I got some insight from graphics/graphviz, which
> requires fontconfig but works fine when using WITHOUT_X11.

Fixed. Thanks

-- 
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
  mnag(at)FreeBSD.org         |  FreeBSD.org


More information about the freebsd-ports mailing list