[MPlayer-users] More compile error - RC3
Kevin Collins
kcollins at qx.net
Mon Jan 20 03:46:13 CET 2003
Ok, today I went out and bought SuSE 8.1...I thought maybe newer OS
might solve some of my problems. But that hasn't helped either.
After my last attempt (with SuSE 8) I found out that in fact I did _not_
have the X11 Developement packages installed - see posts from earlier
today. I corrected that with the SuSE 8.1 install.
I also figured the new source code couldn't hurt either, so I d'loaded
it just a few minutes ago.
./configure --enable-gui
I get this error now...
Error: PNG Support required for GUI compliation, please install libpng
or libpng-dev packages.
This is (what I think are) the relavent portions of the configure.log
##########################################
============ 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-15107-13135.c -o
/tmp/mplayer-conf-29795-13135.o -lpng -lz -lm
In file included from /tmp/mplayer-conf-15107-13135.c:1:
/usr/include/png.h:324:18: zlib.h: No such file or directory
In file included from /usr/include/png.h:327,
from /tmp/mplayer-conf-15107-13135.c:1:
/usr/include/pngconf.h:1103: parse error before '*' token
/usr/include/pngconf.h:1104: parse error before '*' token
/usr/include/pngconf.h:1105: parse error before '*' token
In file included from /tmp/mplayer-conf-15107-13135.c:1:
/usr/include/png.h:1040: parse error before "z_stream"
/usr/include/png.h:1278: parse error before '}' token
ldd /tmp/mplayer-conf-29795-13135.o
ldd: /tmp/mplayer-conf-29795-13135.o: No such file or directory
Result is: no
##########################################
I have *both* the libpng and libpng-devel packages installed. Yast2
even says so. In fact, the default SuSE 8.1 version of MPlayer works
with the GUI, but it doesn't do what I need. Is there something that
I've missed?
I've read all the documents I can find, I've been searching the mailing
lists and not uncovered anything that make the compilation work. So I'm
calling out once again to the list for help.
Any Ideas?
--
==========================================================================
- Kevin L. Collins, MCSE Reqistered Linux
User:268269
- http://counter.li.org
SuSE Linux 8.1 Pro
==========================================================================
"Some people have told me they don't think a fat penguin really embodies
the grace of Linux, which just tells me they have never seen a angry
penguin charging at them in excess of 100mph. They'd be a lot more
careful about what they say if they had."
--Linus Torvalds, announcing Linux v2.0
More information about the MPlayer-users
mailing list