Date: Wed, 19 Dec 2001 11:44:35 +0100 From: Kjell <kmidtset@c2i.net> To: freebsd-questions@freebsd.org Cc: neuhauser@mobil.cz Subject: Re: Compiling PHP4 with GD2 support Message-ID: <20011219114450.B5DD28078@mail.broadpark.no> In-Reply-To: <20011219111512.D5427@roman.mobil.cz> References: <20011219095153.E381D80DC@mail.broadpark.no> <20011219111512.D5427@roman.mobil.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011219114450.B5DD28078>