From owner-freebsd-questions Wed Dec 19 4:15:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 1EBBF37B416 for ; Wed, 19 Dec 2001 04:15:07 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id fBJCF5P04762 for ; Wed, 19 Dec 2001 13:15:06 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2001121913135613:2445 ; Wed, 19 Dec 2001 13:13:56 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id fBJCNCw26685 for freebsd-questions@freebsd.org; Wed, 19 Dec 2001 13:23:12 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Wed, 19 Dec 2001 13:23:12 +0100 From: Roman Neuhauser To: freebsd-questions@freebsd.org Subject: Re: Compiling PHP4 with GD2 support Message-ID: <20011219132312.G5427@roman.mobil.cz> Mail-Followup-To: freebsd-questions@freebsd.org References: <20011219095153.E381D80DC@mail.broadpark.no> <20011219111512.D5427@roman.mobil.cz> <20011219114450.B5DD28078@mail.broadpark.no> Mime-Version: 1.0 In-Reply-To: <20011219114450.B5DD28078@mail.broadpark.no> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 12/19/2001 01:13:56 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 12/19/2001 01:14:02 PM, Serialize complete at 12/19/2001 01:14:02 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Kjell > To: freebsd-questions@freebsd.org > Subject: Re: Compiling PHP4 with GD2 support > Date: Wed, 19 Dec 2001 11:44:35 +0100 > Cc: neuhauser@mobil.cz > > On Wednesday 19 December 2001 11:15 am, you wrote: > > > When I recompile mod_PHP4 with GD support the gd-1.8.4_3 routine is used. > > > But in order to use certain graphics functions I need the gd-2.0.1 > > > routine. > > > > > > Is there a way to change the Makefiles for mod_PHP4 so PHP4 will be using > > > gd-2.0.1 ? > > > > Are you trying to build the port, or the source directly? If the > > former, you will have to edit the port makefile > > (/usr/ports/www/mod_php4/Makefile) - it tells PHP to build without > > GD. > > Right, but when I look in the new generated Makefile.inc I find that gd-1.8.4 > is specified as the 'dependency' to be pulled in. How can I change this so > that gd-2.0.1 is used? Well, my /usr/ports/www/mod_php4/Makefile contains CONFIGURE_ARGS+=--enable-versioning \ --with-system-regex \ --disable-debug \ --enable-track-vars \ --without-gd \ --without-mysql so all I can do is guess... If your revision of the Makefile lists GD among the dependencies, you should modify it to depend on GD2, uninstall GD, and install PHP, which will install GD2 as well. > > If it's the latter, then I can assure you that PHP will happily use > > GD2 _if_ it's told to use it. ./configure --help|less will tell you > > more. > > I have tried to compile from source, but still getting error messages... > Tnx from Kjell Not enough details. -- FreeBSD 4.4-STABLE 1:17PM up 2 days, 12 mins, 8 users, load averages: 0.04, 0.04, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message