ID: 4392
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Won\'t fix
Bug Type: Compile Failure
Operating System: RedHat Linux 6.2
PHP Version: 3.0.16
New Comment:
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.
Previous Comments:
------------------------------------------------------------------------
[2000-05-10 20:28:55] [EMAIL PROTECTED]
When attempting to compile for static Apache use, the following
problems occur:
[rick@prophead apache_1.3.12]$ ./configure --prefix=/usr/local/apache
--activate-module=src/modules/php3/libphp3.a
--activate-module=src/modules/perl/libperl.a
Configuring for Apache, Version 1.3.12
<<<< snip... >>>>
[rick@prophead apache_1.3.12]$ make
<<<< snip... >>>>
/usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x340): multiple definition of `gdImageColorResolve'
modules/php3/libphp3.a(gd.o):/usr/home/rick/work/php-3.0.16/functions/gd.c:231:
first defined here
/usr/cygnus/codefusion-990706/H-i686-pc-linux-gnulibc2.1/lib/gcc-lib/i686-pc-linux-gnulibc2.1/2.9-codefusion-990706/../../../../i686-pc-linux-gnulibc2.1/bin/ld:
Warning: size of symbol `gdImageColorResolve' changed from 239 to 238
in gd.o
modules/php3/libphp3.a(gd.o): In function `php3_imagecreatefromgif':
/usr/home/rick/work/php-3.0.16/functions/gd.c:415: undefined reference
to `gdImageCreateFromGif'
modules/php3/libphp3.a(gd.o): In function `php3_imagegif':
/usr/home/rick/work/php-3.0.16/functions/gd.c:867: undefined reference
to `gdImageGif'
/usr/home/rick/work/php-3.0.16/functions/gd.c:889: undefined reference
to `gdImageGif'
It smells like the configuration doesn't properly set the "#define
HAVE_GD_COLORRESOLVE 1" or something similar if you have libgd
installed (I have gd 1.7).
Is this a known gotcha? Do I have to upgrade to gd 1.8 to fix it?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=4392&edit=1