#15009 [Com]: Compile Error in file gd.c

From: Date: Mon, 28 Oct 2002 19:46:27 +0000
Subject: #15009 [Com]: Compile Error in file gd.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23588@lists.php.net to get a copy of this message
ID: 15009 Comment by: tyler@tylerhall.net Reported By: SchreiberX@Altmuehlnet.de 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] sniper@php.net 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] rasmus@php.net 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] brandon@branflakes.net 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] brandon@branflakes.net 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] SchreiberX@Altmuehlnet.de 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

« previous php.bugs (#23588) next »