FS#6925 - Compile php with GD2 support

Attached to Project: Arch Linux
Opened by Poulet Fou (pouletfou) - Monday, 16 April 2007, 03:33 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 16 April 2007, 10:35 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I would like to see PHP compiled with GD2 support to use Artichow which is used by some PHP apps (like http://www.phpmyvisites.net/).
As php5 is actually flagged out-of-date, it should not be a big problem doing so.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Monday, 16 April 2007, 10:35 GMT
Reason for closing:  Not a bug
Additional comments about closing:  the stupidiest close/reopen/.../close in my life ever :P
Comment by Roman Kyrylych (Romashka) - Monday, 16 April 2007, 09:49 GMT
PHP is compiled with GD support already. It uses bundled GD library.
Comment by Pierre Schmitz (Pierre) - Monday, 16 April 2007, 10:05 GMT
open, close, open, close... What the hell are you doing? ;-)

Btw: there is no reason why php should be flagged out-of-date. Version 5.2.2 is still not released.

PS: GD works just fine here.
Comment by Roman Kyrylych (Romashka) - Monday, 16 April 2007, 10:08 GMT
damn, I'm confused....
PHP _should_ be compiled with bundled GD library, as per http://bugs.archlinux.org/task/5313?
but it's still configured with --with-gd=shared option, which should be --with-gd, I think (at least this is what PHP manual says).
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/devel/php/PKGBUILD.diff?r1=1.82&r2=1.83&cvsroot=Current
Comment by Roman Kyrylych (Romashka) - Monday, 16 April 2007, 10:13 GMT
Thanks for confirmation Pierre.
I think I have my mind dimned today. :( Sorry for flooding everyone's mailboxes. :P
Comment by Jan de Groot (JGC) - Monday, 16 April 2007, 10:13 GMT
AFAIK the bundled version of libgd is used, it's just not compiled static into the php binary.

You can easily check this using ldd on the gd module that comes with the PHP package, if it links to /usr/lib/libgd*, then it's compiled with system GD.

System gd has been updated a while ago btw, most PHP changes have been merged upstream by the GD author. It shouldn't be a problem building with that nowadays, depending on how it is maintained in the future and how many new things are added by the PHP devs.

Loading...