[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: PNG support broke KDE_1_1_BRANCH!
From:       Chris Schlaeger <cs () kde ! org>
Date:       1999-08-30 16:31:17
[Download RAW message or body]

On Mon, Aug 30, 1999 at 04:58:30PM +0200, Stephan Kulow wrote:
> Chris Schlaeger wrote:
> > 
> > On Mon, Aug 30, 1999 at 04:34:27PM +0200, Stephan Kulow wrote:
> > > Chris Schlaeger wrote:
> > > >
> > > > On Mon, Aug 30, 1999 at 04:10:47PM +0200, Stephan Kulow wrote:
> > > > > Chris Schlaeger wrote:
> > > > > >
> > > > > > If I'm not mistaken some PNG support related changes broke
> > > > > > KDE_1_1_BRANCH compile. I added -lpng to the many Makefile.am files but
> > > > > > there is probably an easier way to fix it.
> > > > > >
> > > > > Hmm, there is LIBPNG and somehow it didn't get set for you
> > > >
> > > > configure:4712: checking for libpng
> > > > configure:4742: gcc -o conftest -O2 -Wall -I/opt/kde-1.1.2/include
> > > > -I/usr/local/qt-1.44/include    -s conftest.c  -L/opt/kde-1.1.2/lib
> > > > -L/usr/local/qt-1.44/lib
> > > >  -L/usr/X11/lib -lpng -lz -lm -lX11  1>&5
> > > > configure:4731: png.h: No such file or directory
> > > > configure: failed program was:
> > > > #line 4729 "configure"
> > > > #include "confdefs.h"
> > > >
> > > >     #include<png.h>
> > > >
> > > > int main() {
> > > >
> > > >     png_structp png_ptr = png_create_read_struct(  /* image ptr */
> > > >                 PNG_LIBPNG_VER_STRING, 0, 0, 0 );
> > > >     return( png_ptr != 0 );
> > > >
> > > > ; return 0; }
> > > >
> > > > I'm using a SuSE 6.1 here. png.h is under /usr/X11R6/include/png.h
> > > > It looks like -I/usr/X11/include is missing for the test.
> > > >
> > > png.h is _WHERE_? Then use --with-extra-includes
> > 
> > Sure, _I_ can do it. But can the ~1Mega SuSE users do it? Why are we
> > using -L/usr/X11/lib but not -I/usr/X11/include? Looks like a bug in
> > acinclude.m4/aclocal.m4 to me.
> > 
> What says your xmkmf/config.log? 

Can't find it. Where should I look for it?

Chris

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic