Bug #13728 Updated: --with-png-dir does not set the include dir

From: Date: Thu, 18 Oct 2001 08:55:38 +0000
Subject: Bug #13728 Updated: --with-png-dir does not set the include dir
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68200@lists.php.net to get a copy of this message
ID: 13728 Updated by: derick Reported By: jeanfrancois.lecam@altiplano.fr 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] rasmus@php.net An "rm config.cache; make clean" and a full rebuild should take care of that. Let us know. ------------------------------------------------------------------------ [2001-10-18 04:27:05] jeanfrancois.lecam@altiplano.fr 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=13728&edit=1

« previous php.dev (#68200) next »