[MPlayer-users] Inconsistent behavior with PNG support during configure/make

The Wanderer inverseparadox at comcast.net
Wed Aug 6 12:27:09 CEST 2008


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.



More information about the MPlayer-users mailing list