The MPlayer included with 8.1 does not support all the formats is is capable
of (eg it won't play wmv in 8.1, yet I had it playing them in 8.0 with the
version I compiled from source)... so I decided to compile and install the
latest version instead. Runninginto a problem I haven't been able to solve
yet... I am hoping one of you might know where things are going wrong.
When you configure the source for MPlayer with the --enable-gui option, you
need to have libpng and libpng-devel installed. I knew this and have made
sure they are installed.
--------------------------
rpm -q libpng
libpng-1.2.4-31
rpm -q libpng-devel
libpng-devel-1.2.4-31
---------------------------
Problem is, during the configure step it complains that PNG support is not
available. I have checked into the configure.log file and this seems to be
the relevant section:
============ Checking for PNG support ============
#include
#include
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-11265-4564.c -o /tmp/mplayer-conf-9618-4564.o -lpng
-lz -lm
In file included from /tmp/mplayer-conf-11265-4564.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-11265-4564.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-11265-4564.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-9618-4564.o
ldd: /tmp/mplayer-conf-9618-4564.o: No such file or directory
Result is: no
##########################################
Errr ummm OK... I seem to have some errors here... but I don't know how to
resolve them. Does anyone have any suggestions?
C.