From owner-freebsd-questions@FreeBSD.ORG Sun Oct 3 19:52:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D64D116A4CF for ; Sun, 3 Oct 2004 19:52:06 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1562D43D2F for ; Sun, 3 Oct 2004 19:52:06 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i93Jq2Rm011206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Oct 2004 20:52:02 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i93Jq20V011205; Sun, 3 Oct 2004 20:52:02 +0100 (BST) (envelope-from matthew) Date: Sun, 3 Oct 2004 20:52:02 +0100 From: Matthew Seaman To: Roop Nanuwa Message-ID: <20041003195202.GB10737@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Roop Nanuwa , FreeBSD Questions List References: <75f3f70504100312446b523c2e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" Content-Disposition: inline In-Reply-To: <75f3f70504100312446b523c2e@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 03 Oct 2004 20:52:02 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Questions List Subject: Re: PHP5-GD and X11 requirement X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2004 19:52:07 -0000 --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 03, 2004 at 12:44:54PM -0700, Roop Nanuwa wrote: > I'm trying to add GD support into my PHP5 install and I'm utterly > confused by one thing. For some reason, GD has a dependency on X. Why > is that? This is a server that doesn't even have a monitor plugged > in, what features of X does the PHP GD module require? It seems rather > ridiculous to me that there would that requirement. >=20 > What's the reasoning behind it? What features of the X libraries does > GD make use of? xpm or "X PixMap" -- an image format provided with X windows. You can avoid having to install the whole X client libraries by installing graphics/gd with the following flags: # cd /usr/ports/graphics/gd # make install WITH_XPM=3Dyes WITHOUT_X11=3Dyes which will cause a standalone xpm library to be used. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBYFhiiD657aJF7eIRAlxmAKCDZokf5BOeL1RcDF6ivqg4uhKASgCgtIak oSAThHs1tMNeJpr1ldynEJ0= =0Aa9 -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--