ID: 15009 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Compile Failure Operating System: Linux (Kernel 2.4.17) PHP Version: 4.1.1 New Comment:
I tried to put gd in a different directory, I compiled it over at /usr/gd/ and the same error applies, and then I tried /etc/gd/ and same error. So, how do I go about finding the other versions of gd on the box? Afaik, I have no other versions of gd (but I'm known to be wrong) What files does it look for that I can just remove? Will this be fixed in a feature version to not have this compiling error? Tyler Previous Comments: ------------------------------------------------------------------------ [2002-04-12 20:04:45] [EMAIL PROTECTED] Unfortunately there really isn't much we can do about it. Install the GD library & headers in some non-standard place and use the --with-gd=/path/to/that/non-standard/place should work fine. ------------------------------------------------------------------------ [2002-03-04 13:42:04] [EMAIL PROTECTED] This is due to you having multiple versions of GD installed on your system. PHP should probably do a better job of handling that, but if you only have one installed it works just fine. ------------------------------------------------------------------------ [2002-03-04 13:37:59] [EMAIL PROTECTED] The same error also occurs with PHP versions dating as far back as 4.0.6 with distributions of both GD 1(.8.4) and 2(.0.1). ------------------------------------------------------------------------ [2002-02-28 15:04:34] [EMAIL PROTECTED] This problem also occurs with GD 2.0.1, on earlier and later kernels (on separate machines), and on machines which are both fresh installs and which have had PHP (and older versions of gd) installed before. ------------------------------------------------------------------------ [2002-01-12 16:09:46] [EMAIL PROTECTED] If i compiled php with gd. There was an error while compiling gd.c: gd.c:92: conflicting types for `gdIOCtx' /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx' It works, if I've uncomment the line 92 in gd.c. I compiled previously gd 1.8.4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15009&edit=1