#14718 [Com]: Compiling Error in PHP 4.1.1 in gd.c

From: Date: Tue, 15 Oct 2002 20:33:57 +0000
Subject: #14718 [Com]: Compiling Error in PHP 4.1.1 in gd.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22519@lists.php.net to get a copy of this message
ID: 14718 Comment by: q@tranceaddict.net Reported By: tapken@engter.de Status: Closed Bug Type: GD related Operating System: Linux PHP Version: 4.1.0 New Comment: aaaargh!! i hate linux, i haatteee linuxxx!!! /install/gd/gd-1.8.4 Previous Comments: ------------------------------------------------------------------------ [2002-03-17 11:48:21] sander@php.net Closing on user request. ------------------------------------------------------------------------ [2001-12-27 18:18:49] tapken@engter.de Am i getting on your nerves? Sorry. tar xzf gd-1.8.4 cd php-4.1.1 ./configure [...] --with-gd=/path/to/gd/sources Well, i don't know what will happen if i remove the source directory but it seem to work (compiled and installed successfilly). Seems to be a problem with my system, not with php. sorry. ------------------------------------------------------------------------ [2001-12-27 17:42:49] tapken@engter.de ...or not. Now when restarting apache: Setting up Web Service: Syntax error on line 58 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: gdImageColorResolve :'-( ------------------------------------------------------------------------ [2001-12-27 16:50:30] tapken@engter.de Seems to be a bug with configure.... Line 1203 say: 1202: #ifdef HAVE_GD_GIF_READ 1203: _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE$ 1204: #else /* HAVE_GD_GIF_READ */ But GD 1.8.4 doesn't understand gif... Line 1432 is similar. I added an _RT to the #ifdef-Lines so that gcc ignores this and now it seems to work fine. ------------------------------------------------------------------------ [2001-12-27 16:32:43] tapken@engter.de Well, the problem occurs in 4.0.6, 4.1.0 and 4.1.1... I'm using GD-1.8.4. I made a locate for every file gd contains and i found some duplicates and removed them. It doesn't help. Yes, i did a "make distclean" bevor re-configure. Now i'm trying to compile without gd, seems to work. But i would miss gd very much! ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14718 -- Edit this bug report at http://bugs.php.net/?id=14718&edit=1

« previous php.bugs (#22519) next »