From owner-freebsd-questions Wed Dec 19 3:44:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by hub.freebsd.org (Postfix) with ESMTP id B88B237B41A for ; Wed, 19 Dec 2001 03:44:51 -0800 (PST) Received: from there (213-187-161-69.dd.nextgentel.com [213.187.161.69]) by mail.broadpark.no (Postfix) with SMTP id B5DD28078; Wed, 19 Dec 2001 12:44:50 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Kjell To: freebsd-questions@freebsd.org Subject: Re: Compiling PHP4 with GD2 support Date: Wed, 19 Dec 2001 11:44:35 +0100 X-Mailer: KMail [version 1.3.1] References: <20011219095153.E381D80DC@mail.broadpark.no> <20011219111512.D5427@roman.mobil.cz> In-Reply-To: <20011219111512.D5427@roman.mobil.cz> Cc: neuhauser@mobil.cz MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011219114450.B5DD28078@mail.broadpark.no> 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 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? > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message