From owner-freebsd-stable Fri Nov 22 16:36:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F9237B401 for ; Fri, 22 Nov 2002 16:36:20 -0800 (PST) Received: from LV.Levels.UniSA.Edu.Au (LV.Levels.UniSA.Edu.Au [130.220.30.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32B1743E4A for ; Fri, 22 Nov 2002 16:36:19 -0800 (PST) (envelope-from Jarrod.Sayers@unisa.edu.au) Received: from theboss.magill.unisa.edu.au (root@theboss.magill.unisa.edu.au [130.220.229.173]) by Levels.UniSA.Edu.Au (PMDF V5.2-33 #44301) with ESMTP id <01KP7E711UZQ9D55Q0@Levels.UniSA.Edu.Au> for freebsd-stable@FreeBSD.ORG; Sat, 23 Nov 2002 11:06:10 +1030 Received: from theboss.magill.unisa.edu.au (localhost [127.0.0.1]) by theboss.magill.unisa.edu.au (8.12.6/8.12.6) with ESMTP id gAN0aBtm027891; Sat, 23 Nov 2002 11:06:11 +1030 Received: from localhost (sayersjm@localhost) by theboss.magill.unisa.edu.au (8.12.6/8.12.6) with ESMTP id gAN0a91N027888; Sat, 23 Nov 2002 11:06:11 +1030 Date: Sat, 23 Nov 2002 11:06:09 +1030 (CST) From: Jarrod Sayers Subject: Re: PHP4 + GD In-reply-to: <1037974563.3dde3c2329b0e@www.swissgeeks.com> To: Pierrick Brossin Cc: FreeBSD-Stable Mailing List Message-id: <20021123110149.G27853-100000@theboss.magill.unisa.edu.au> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Nov 2002, Pierrick Brossin wrote: > Date: Fri, 22 Nov 2002 15:16:03 +0100 > From: Pierrick Brossin > To: FreeBSD-Stable Mailing List > Subject: PHP4 + GD > > Hi! > > Is there any reason why I can't install PHP with GD ? > I tried to take GD1 and GD2 at installation but when I do phpinfo(); it says it > has been compiled the following way: > > './configure' '--with-apxs=/usr/local/sbin/apxs' > '--with-config-file-path=/usr/local/etc' '--enable-versioning' > '--with-regex=system' '--without-gd' '--without-mysql' '--with-zlib' > '--with-mysql=/usr/local' '--prefix=/usr/local' 'i386-portbld-freebsd4.7' Pierrick, The Makefile for /usr/ports/www/mod_php4 has --without-gd as one of the CONFIGURE_ARGS. You need to take that line out, do a make clean and make install again, selecting either GD1 or GD2. I don't know why its there in the first place. We use it alot and every time we build a new system or do a port upgrade on an existing one, we have to keep removing that line - what a PITA. HTH. Jarrod Sayers Information Strategy and Technology Services University of South Australia Phone: +61 8 8302 4809 "There are only 10 types of people in the world: Those who understand binary, and those who don't" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message