[MPlayer-users] ./config fails looking for libpng

Peter B Van Campen peterb924 at ameritech.net
Mon Jan 20 23:27:03 CET 2003


Hi,

When I do "./configure --prefix=/usr --disable-mencoder --enable-gui" the 8.1 
SuSE config ends with an error :
"Error: PNG support required for GUI compilation. Please install libpng or 
libpng-dev packages. Check configure.log if you do not understand"

But I do have libpng installed; 1.2.4-58 (which is newer than the 1.2.4-31 
that comes with 8.1

I have looked thru the docs, but found nothing useful. Some one else suggested 
installing zlib-devel pkg, but that was no help either

Thanks for the cool player!

here is the png sect of the log file:
"============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_libpng_ver);
  return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

gcc    /tmp/mplayer-conf-6969-28776.c -o /tmp/mplayer-conf-3237-28776.o -lpng 
-lz -lm
/tmp/mplayer-conf-6969-28776.c:1:17: png.h: No such file or directory
/tmp/mplayer-conf-6969-28776.c: In function `main':
/tmp/mplayer-conf-6969-28776.c:4: `PNG_LIBPNG_VER_STRING' undeclared (first 
use in this function)
/tmp/mplayer-conf-6969-28776.c:4: (Each undeclared identifier is reported only 
once
/tmp/mplayer-conf-6969-28776.c:4: for each function it appears in.)
/tmp/mplayer-conf-6969-28776.c:5: `png_libpng_ver' undeclared (first use in 
this function)

ldd /tmp/mplayer-conf-3237-28776.o
ldd: /tmp/mplayer-conf-3237-28776.o: No such file or directory

Result is: no
##########################################"

Does anyone have a clue as to what is wrong?

Peterb

-- 
--

Proud to be a SuSE Linux User since 5.2

--



More information about the MPlayer-users mailing list