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

From: Date: Thu, 18 Oct 2001 08:50:37 +0000
Subject: Re: Re: 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-68199@lists.php.net to get a copy of this message
Get rid of the libpng 1.0.3 header files. Since they are on your include path PHP will pick them up first and use them. No real way around that. -Rasmus On Thu, 18 Oct 2001, Jean-Francois LE CAM wrote: > No way, I still have the error... > > ----- Original Message ----- > From: "Bug Database" <php-dev@lists.php.net> > To: <jeanfrancois.lecam@altiplano.fr> > Sent: Thursday, October 18, 2001 10:31 AM > Subject: Bug #13728 Updated: --with-png-dir does not set the include dir > > > > ID: 13728 > > Updated by: rasmus > > Reported By: jeanfrancois.lecam@altiplano.fr > > 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] 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 > > > > ------------------------------------------------------------------------ > > > > > > > > ATTENTION! Do NOT reply to this email! > > To reply, use the web interface found at > http://bugs.php.net/?id=13728&edit=2 > > > > > > >

« previous php.dev (#68199) next »