[MPlayer-users] Inconsistent behavior with PNG support during configure/make
Joseph Schmoley
jacomoman at hotmail.com
Wed Aug 6 20:20:06 CEST 2008
Thanks very much for quick reply. Ok, I apologize, my understanding of the
mplayer configure "--enable" option was incorrect. I thought configure
would check dependencies for an explicite --enable flag and break/stop if it
didn't find them, which is the case with all other configure scripts I've
used. But no matter, if I remove --enable-png it compiles fine, without PNG
support of course.
When I check my environment for libpng, yum reports that it's already
installed:
# yum install libpng
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* epel: fedora.mirror.facebook.com
* freshrpms: ayo.uk3.freshrpms.net
* rpmforge: fr2.rpmfind.net
* base: linux.mirrors.es.net
* updates: centos-distro.cavecreek.net
* addons: linux.mirrors.es.net
* extras: www.ossmirror.com
Setting up Install Process
Parsing package install arguments
Package libpng - 2:1.2.10-7.1.el5_0.1.i386 is already installed.
Nothing to do
Is there something else required before configure auto-detects proper PNG
pre-requisites?
Thank you again for your replies, and a great kudos on an excellent piece of
software.
-Jac
--------------------------------------------------
From: "The Wanderer" <inverseparadox at comcast.net>
Sent: Wednesday, August 06, 2008 3:27 AM
To: "MPlayer usage questions, feature requests,bug reports"
<mplayer-users at mplayerhq.hu>
Subject: Re: [MPlayer-users] Inconsistent behavior with PNG support during
configure/make
> Joseph Schmoley wrote:
>
>> Hi everyone,
>>
>> I'm developing on Centos 5.2 (2.6.18-92.1.6.el5). I've gotten latest
>> mplayer svn trunk, did ./configure --enable-jpeg --enable-png, and
>> ran make. Even though I get confirmation of JPEG/PNG support in
>> configure.log:
>>
>> ============ Checking for PNG support ============
>> Result is: yes
>> ##########################################
>>
>> ============ Checking for JPEG support ============
>> Result is: yes
>> ##########################################
>>
>> ...the make still fails with:
>>
>> libvo/vo_png.c:15:17: error: png.h: No such file or directory
>> ...
>> make: *** [libvo/vo_png.o] Error 1
>>
>> Is this because I'm doing something wrong or is there something
>> really broken in trunk? Any pointers would be greatly appreciated.
>> Thanks in advance.
>
> It's because you're doing something wrong: you're specifying "--enable"
> options, which disables autodetection and is equivalent to saying "I
> will provide all the necessary compiler flags for these features on my
> own".
>
> Try it without those options, and if the features are then disabled,
> make sure you have the development headers for those libraries
> installed; if you do, and MPlayer doesn't pick them up, you can try
> passing the location of the headers to configure with
> '--with-extraincdir' (and, if necessary, the location of the libraries
> with '--with-extralibdir').
>
> --
> The Wanderer
>
> Warning: Simply because I argue an issue does not mean I agree with any
> side of it.
>
> Secrecy is the beginning of tyranny.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list