[MPlayer-users] Re: 0.90rc3-2 srpm build error - how to fix?
Axel Thimm
Axel.Thimm at physik.fu-berlin.de
Fri Jan 24 21:07:17 CET 2003
On Fri, Jan 24, 2003 at 06:19:11PM +0100, Patrick wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On a fully updated Red Hat 8 box I did rpmbuild -bb mplayer.spec from
> mplayer-0.90rc3-2.src.rpm which I got from
> http://mirrors.sctpc.com/dominik/linux/pkgs/mplayer/
Would you like trying the RH8.0 rpms from http://atrpms.physik.fu-berlin.de/mplayer/?
> /usr/include/pngconf.h:247: parse error before '.' token
> make[1]: *** [interface.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/MPlayer-0.90rc3/Gui'
> make: *** [Gui/libgui.a] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.44261 (%build)
>
> The offending part in /usr/include/pngconf.h is:
> # ifdef _SETJMP_H
> __png.h__ already includes setjmp.h;
> __dont__ include it again.;
> # endif
On Fri, Jan 24, 2003 at 06:25:36PM +0100, Dominik Mierzejewski wrote:
> Looks like RH8.0 libpng is incompatible? I think you need libpng-1.0.x,
> while the default in RH8 is 1.2.x. Try installing libpng10 and
> libpng10-devel. I'll try to work around this, but can't guarantee anything,
> because I have no access to any RH8 boxen and I'm not upgrading from 7.3 at
> least until 8.1 comes out.
The build above creates an mplayer against libpng 1.2.x:
$ ldd /usr/bin/mplayer |grep png
libpng-1.2.2-8
It looks like mplayer doesn't depend on a particular libpng version (at least
it seems to work ;).
--
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030124/ce1b2ca8/attachment.pgp>
More information about the MPlayer-users
mailing list