From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 09:08:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F7BD16A46E for ; Mon, 4 Jun 2007 09:08:36 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.freebsd.org (Postfix) with ESMTP id 31B2513C465 for ; Mon, 4 Jun 2007 09:08:36 +0000 (UTC) (envelope-from daniel_k_eriksson@telia.com) Received: from royal64.emp.zapto.org (195.198.193.104) by pne-smtpout2-sn2.hy.skanova.net (7.2.075) id 46245DE100C2E84E for freebsd-questions@freebsd.org; Mon, 4 Jun 2007 09:58:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 4 Jun 2007 09:58:34 +0200 Content-class: urn:content-classes:message Message-ID: <4F9C9299A10AE74E89EA580D14AA10A61A1773@royal64.emp.zapto.org> X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 In-Reply-To: <20070604115358.6df8f4de@localhost> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: php5-extensions and xorg libraries Thread-Index: AcemTGKvqtw0VeNfQqWRAvzWGTeefQAJBzyg References: <4661FE29.4010802@szalbot.homedns.org> <20070604115358.6df8f4de@localhost> From: "Daniel Eriksson" To: Subject: RE: php5-extensions and xorg libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 09:08:36 -0000 Zbigniew Szalbot wrote: > I will appreciate any help. When trying to install php5-extensions, I=20 > get the following error: If you really don't need the xorg-libraries (true for most web servers for example) then there's an easy way to avoid them: 1. install all your ports with "make -DWITHOUT_X11 install clean" 2. add "'*' =3D> 'WITHOUT_X11=3D1'," to the make args in pkgtools.conf = (or whatever the format is in the file) to prevent portupgrade from adding the xorg-libraries in the future This works just fine for a typical webserver (analog, webalizer, php with the gd extension, ...). I just installed a new webserver with multiple jails to keep the different sites compartmentalized, and avoiding the xorg-libs saved me a ton of space and compile time. /Daniel Eriksson