[PHP-DEV] Bug #13728 Updated: --with-png-dir does not set the include dir

2001-10-18 Thread rasmus

ID: 13728
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Compile Issues
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:

An rm config.cache; make clean and a full rebuild should take care of that.  Let us 
know.

Previous Comments:


[2001-10-18 04:27:05] [EMAIL PROTECTED]

I have installed the new version of libpng-1.2.0 under /home/local/libpng

I still have an old version of libpng (1.0.3) under /usr

Using --with-png-dir=/home/local/libpng, I expect to have php compiled with the new 
libpng.

It compiles ok, but when I use gd functions, I get the following error message :

 libpng warning: Application was compiled with png.h from libpng-1.0.3
 libpng warning: Application  is running with png.c from libpng-1.2.0
 gd-png:  fatal libpng error: Incompatible libpng version in application and  
library
 Segmentation fault

I guess the php configure script sets the lib dir according to --with-png-dir, but 
forgets to set the include dir...

config.nice :

./configure \
--with-mysql \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-discard-path \
--prefix=/home/hidden/site7/tools/php \
--with-config-file-path=/home/hidden/site7/tools/php/conf \
--with-gd=/home/local/gd \
--with-png-dir=/home/local/libpng \
--with-ttf=/home/local/libttf1 \
--with-jpeg-dir=/home/local/libjpeg \
--with-xpm-dir=/usr/X11R6 \
--disable-debug \
--with-mhash=/home/local/mhash \
--with-mcrypt=/home/local/mcrypt \
--with-mm=/home/local/mm \
--enable-trans-sid \
--with-dom=/home/local/libxml \
--with-magic-quotes \
--with-zlib \
--with-imap=/home/local/libimap \
--with-t1lib=/home/local/t1lib \

Thanks,

Jean-Francois LE CAM





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13728 Updated: --with-png-dir does not set the include dir

2001-10-18 Thread derick

ID: 13728
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: *Compile Issues
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:

User reported:
No way, I still have the error...

Please use the webform to add comments to your report the next time.

Derick

Previous Comments:


[2001-10-18 04:31:06] [EMAIL PROTECTED]

An rm config.cache; make clean and a full rebuild should take care of that.  Let us 
know.



[2001-10-18 04:27:05] [EMAIL PROTECTED]

I have installed the new version of libpng-1.2.0 under /home/local/libpng

I still have an old version of libpng (1.0.3) under /usr

Using --with-png-dir=/home/local/libpng, I expect to have php compiled with the new 
libpng.

It compiles ok, but when I use gd functions, I get the following error message :

 libpng warning: Application was compiled with png.h from libpng-1.0.3
 libpng warning: Application  is running with png.c from libpng-1.2.0
 gd-png:  fatal libpng error: Incompatible libpng version in application and  
library
 Segmentation fault

I guess the php configure script sets the lib dir according to --with-png-dir, but 
forgets to set the include dir...

config.nice :

./configure \
--with-mysql \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-discard-path \
--prefix=/home/hidden/site7/tools/php \
--with-config-file-path=/home/hidden/site7/tools/php/conf \
--with-gd=/home/local/gd \
--with-png-dir=/home/local/libpng \
--with-ttf=/home/local/libttf1 \
--with-jpeg-dir=/home/local/libjpeg \
--with-xpm-dir=/usr/X11R6 \
--disable-debug \
--with-mhash=/home/local/mhash \
--with-mcrypt=/home/local/mcrypt \
--with-mm=/home/local/mm \
--enable-trans-sid \
--with-dom=/home/local/libxml \
--with-magic-quotes \
--with-zlib \
--with-imap=/home/local/libimap \
--with-t1lib=/home/local/t1lib \

Thanks,

Jean-Francois LE CAM





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13728 Updated: --with-png-dir does not set the include dir

2001-10-18 Thread sniper

ID: 13728
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Old Bug Type: *Compile Issues
Bug Type: Compile Failure
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:

Please ask support questions on the mailing lists:

http://www.php.net/support.php


Previous Comments:


[2001-10-18 04:55:37] [EMAIL PROTECTED]

User reported:
No way, I still have the error...

Please use the webform to add comments to your report the next time.

Derick



[2001-10-18 04:31:06] [EMAIL PROTECTED]

An rm config.cache; make clean and a full rebuild should take care of that.  Let us 
know.



[2001-10-18 04:27:05] [EMAIL PROTECTED]

I have installed the new version of libpng-1.2.0 under /home/local/libpng

I still have an old version of libpng (1.0.3) under /usr

Using --with-png-dir=/home/local/libpng, I expect to have php compiled with the new 
libpng.

It compiles ok, but when I use gd functions, I get the following error message :

 libpng warning: Application was compiled with png.h from libpng-1.0.3
 libpng warning: Application  is running with png.c from libpng-1.2.0
 gd-png:  fatal libpng error: Incompatible libpng version in application and  
library
 Segmentation fault

I guess the php configure script sets the lib dir according to --with-png-dir, but 
forgets to set the include dir...

config.nice :

./configure \
--with-mysql \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-discard-path \
--prefix=/home/hidden/site7/tools/php \
--with-config-file-path=/home/hidden/site7/tools/php/conf \
--with-gd=/home/local/gd \
--with-png-dir=/home/local/libpng \
--with-ttf=/home/local/libttf1 \
--with-jpeg-dir=/home/local/libjpeg \
--with-xpm-dir=/usr/X11R6 \
--disable-debug \
--with-mhash=/home/local/mhash \
--with-mcrypt=/home/local/mcrypt \
--with-mm=/home/local/mm \
--enable-trans-sid \
--with-dom=/home/local/libxml \
--with-magic-quotes \
--with-zlib \
--with-imap=/home/local/libimap \
--with-t1lib=/home/local/t1lib \

Thanks,

Jean-Francois LE CAM





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]