From owner-freebsd-ports@FreeBSD.ORG Sat May 27 19:29:15 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A34716B87F for ; Sat, 27 May 2006 19:29:15 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37AF43D4C for ; Sat, 27 May 2006 19:29:14 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [192.168.10.2]) by corp.grupos.com.br (Postfix) with ESMTP id 520915D02; Sat, 27 May 2006 16:29:11 -0300 (BRT) Received: from [192.168.0.158] (unknown [201.31.23.238]) (Authenticated sender: marcus@corp.grupos.com.br) by corp.grupos.com.br (Postfix) with ESMTP id CC3F05C3C; Sat, 27 May 2006 16:29:09 -0300 (BRT) Message-ID: <4478A883.5010108@FreeBSD.org> Date: Sat, 27 May 2006 16:29:07 -0300 From: Marcus Alves Grando Organization: FreeBSD.org User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <44753766.8000601@alumni.rice.edu> <44753B38.9050208@alumni.rice.edu> <4475ABBD.8040208@mikestammer.com> <4475BB7B.9070603@FreeBSD.org> <4476AE78.3030203@alumni.rice.edu> In-Reply-To: <4476AE78.3030203@alumni.rice.edu> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Filtered: By ProxSMTP using Clamav and Bogofilter Cc: Eric , freebsd-ports@FreeBSD.org Subject: Re: graphics/ImageMagick build error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 19:29:37 -0000 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. >>>> >>>>> ... >>> >>> >>> 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