#20472 [Fbk->Opn]: Flood Fill problem after changing to 4.3.0RC1

From: Date: Thu, 21 Nov 2002 04:42:19 +0000
Subject: #20472 [Fbk->Opn]: Flood Fill problem after changing to 4.3.0RC1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25376@lists.php.net to get a copy of this message
 ID:               20472
 User updated by:  smseidl@worldnet.att.net
 Reported By:      smseidl@worldnet.att.net
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: RedHat Linx 7.2
 PHP Version:      4.3.0RC1
 New Comment:

I have attemped to compile both PHP and GD, with specifing the same
location of the libpng library in each.  After doing this I am still
receiving the same error.  

I will continue to attempt different compile methods.  An update here
later. 

The frequency of my responses will decrease over the next two weeks as
I will be away from home.  I will continue to update more often again
on Dec 2.


Previous Comments:
------------------------------------------------------------------------

[2002-11-18 23:22:08] sniper@php.net

Isn't that error quite self-explaining??????
You should tell PHP to use same PNG library as you used
with GD. --with-png-dir should point to same place as you
used with GD..


------------------------------------------------------------------------

[2002-11-18 22:36:35] smseidl@worldnet.att.net

After Compiling GD 2.0.7 and recompiling php & restarting apache, I get
the following errors in the apache log file:
libpng warning: Application  is  running with png.c from libpng-1.0.14
gd-png:  fatal libpng error: Incompatible libpng version in application
and library
[Mon Nov 18 22:34:45 2002] [notice] child pid 3197 exit signal
Segmentation fault (11)

Config for PHP:
./configure  --with-mysql --with-apxs2=/usr/dev/local/apache2/bin/apxs
--with-gd=/usr/dev/local/gd2.0.7/ --prefix=/usr/dev/local/php4.3/

Config for GD:
./configure --prefix=/usr/dev/local/gd2.0.7
--with-png=/usr/src/libpng-1.2.1/ --with-jpeg=/usr/src/jpeg-6b/

Any ideas?

------------------------------------------------------------------------

[2002-11-18 21:23:41] smseidl@worldnet.att.net

I will work at upgrading to the new version of GD, and try providing
the path directly, rather than just the --with-gd.

Also, the links I placed in the first post were intended to be the
'script' for you to see the results for your self.  These pages are
working for me, but there are times where I have to hold the control
key and hit refresh to see the image change.  Since it is the same
image name, the browser wants to load it from the cache, rather than
re-downloading.  Please try again, and let me know if you still have
problems.  

I will post back after trying your suggestions.

------------------------------------------------------------------------

[2002-11-17 23:50:05] sniper@php.net

When you use --with-gd (without any path) then PHP use the bundled GD
2.0.x library. Please try adding the install prefix for your GD 1.8.4
installation.

But this might still be nice to fix in our bundled GD library. Can you
possibly try the latest GD library from
http://www.boutell.com/gd/ (gd 2.0.7) to see if it works
any better?

And if possible, provide a short example script which can be used to
reproduce this bug.


------------------------------------------------------------------------

[2002-11-17 22:38:53] smseidl@worldnet.att.net

The image created by the stable version has a white background and 2
counties in Green.  The image created by the development version has a
red background and only one county in green.

Please go to http://www.wisnowmobileclubs.com/picture.htm
to see the
two images that I see.

Thanks

------------------------------------------------------------------------

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/20472

-- 
Edit this bug report at http://bugs.php.net/?id=20472&edit=1



Thread (24 messages)

« previous php.bugs (#25376) next »