From kde-core-devel Mon Aug 30 14:58:30 1999 From: Stephan Kulow Date: Mon, 30 Aug 1999 14:58:30 +0000 To: kde-core-devel Subject: Re: PNG support broke KDE_1_1_BRANCH! X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93602513005332 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 > > > > > > 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? Greetings, Stephan -- Programmers, heed this: If someone starts asking you about agricultural genomes, it's likely time to get a handler. zdnet.com about Torvalds