No way, I still have the error...

----- Original Message -----
From: "Bug Database" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [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
>
> ------------------------------------------------------------------------
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
http://bugs.php.net/?id=13728&edit=2
>
>


-- 
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]

Reply via email to