[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 14:20:36
[Download RAW message or body]

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.

Chris

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

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