From owner-freebsd-ports@FreeBSD.ORG Sat May 24 18:56:20 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A445106567B for ; Sat, 24 May 2008 18:56:20 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3258FC18 for ; Sat, 24 May 2008 18:56:20 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from hub2.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.2/8.14.2) with ESMTP id m4OIu0rQ009315; Sat, 24 May 2008 13:56:01 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <483864C2.5090605@math.missouri.edu> Date: Sat, 24 May 2008 13:56:02 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080520 SeaMonkey/1.1.9 MIME-Version: 1.0 To: David Wolfskill References: <48381B22.30507@janh.de> <18488.8559.136513.226315@jerusalem.litteratus.org> <4838284A.3030400@janh.de> <20080524151658.GW69430@bunrab.catwhisker.org> In-Reply-To: <20080524151658.GW69430@bunrab.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Henrik Sylvester , ports-list freebsd Subject: Re: ImageMagick-6.4.1-3_1 selftest fails 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, 24 May 2008 18:56:20 -0000 David Wolfskill wrote: > On Sat, May 24, 2008 at 04:38:02PM +0200, Jan Henrik Sylvester wrote: >> ... >>>> ImageMagick fails to build for me. I guess it is because I do the >>>> build as root while a different user "owns the display". (I do >>>> use kdm for login and start the build after su in a Konsole.) >>> Built just fine for me, about an hour ago, on -CURRENT with no >>> KDE involved. OPTIONS screen worked fine. >> Thanks. As I said, I tried to build with root while root was not allowed >> to use the display. Granting root access with 'xhost +local:' or 'setenv >> XAUTHORITY /usr/home/USER/.Xauthority' fixes the problem. Having to do >> that was kind of unexpected for me... > In any case, I saw no evidence that the build of ImageMagick even needed > to be run within an X11 environment. Examining the output from > script(1) for the upgrade of ImageMagick shows no instances of the > string "DISPLAY," for example. (The string "display" shows up, as the > name of one of the programs in the ImageMagick suite.) My experience was that ImageMagick did build, but it also put up a little window with a message on it. So my feeling is that the OP is correct, and that at least on some versions of FreeBSD (in my case 7.0) that access to an X11 environment is required for the port to install.