[MPlayer-users] Compile errors on OS X 10.5.2 with Xcode 3.0 and x264 or faac enabled

John Brown johnbrown105 at hotmail.com
Fri Feb 29 23:45:31 CET 2008


dandjo wrote:
>
> John Brown wrote:
>
>> dandjo at gmx.at wrote:
>>>
>>> John Brown wrote:
>>>
>>>> dandjo wrote:
>>>>
>>>>> Ok, already done and yeah, it works.
>>>>> There's another problem: MPlayer doesn't show any OSD (even not with
>>>>> --enable-menu). I mean that stuff that normally appears when pression
>>>>> a cursor or the shortcut for the volume. Do I need an extra library
>>>>> for that? Thanks!
>>>> You need freetype2. Fontconfig (so you can say -fontconfig -font "OCR
>>>> A Std") is useful too.
>>>
>>> Isn't freetype already included in OS X?
>>> I compiled MPlayer with:
>>> ./configure --with-freetype-config=/usr/X11R6/bin/freetype-config
>>> --enable-menu && make && sudo make install
>>> How and where do i add your proposed lines? Thanks!
>>
>>Does it say in configure.log that freetype2 was detected? What version of
>>freetype2 do you have?
>>
>>You are sure that "/usr/X11R6/bin/freetype-config" exists and works?
>
> "/usr/X11R6/bin/freetype-config" works.
>
>>Are your freetype headers and libraries on the directories specified by
>>"/usr/X11R6/bin/freetype-config --cflags" and
>
> "/usr/X11R6/bin/freetype-config --cflags" gave me:
> -I/usr/X11/include/freetype2 -I/usr/X11/include
>
>>"/usr/X11R6/bin/freetype-config --libs" ?
>
> "/usr/X11R6/bin/freetype-config --libs" gave me:
> -L/usr/X11/lib -lfreetype -lz
> -Wl,-framework,CoreServices,-framework,ApplicationServices
>
> My config.log attached. What do I need to do? Thanks for your help!
> Unfortunately, I'm not very familiar with compiling tools or libraries.
> --

OK. You posted the console output of MPlayer in config.log.  What I actually
asked for was *configure.log*, which MPlayer's configure generates.
Anyway, if you look in the file that you posted, you will see that it says:

Checking for freetype>= 2.0.9 ... no 
Checking for fontconfig ... no (freetype support needed)

Right now, it seems that your version of freetype is too old. You can
display your freetype version with:
usr/X11R6/bin/freetype-config --ftversion

However, there could be other reasons. For example, freetype may be
installed, but you cannot compile it because a library upon which it depends
is missing. By looking at configure.log, you can see exactly why the
test for freetype failed.

I don't know what the latest version is, but I have 2.3.4. If you decide
to install fontconfig also, then get fontconfig 2.4.2. In the same way that
MPlayer require freetype>= 2.0.9, some versions of fontconfig require
specific versions of freetype. I know that these versions that I have
mentioned work together.


_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008


More information about the MPlayer-users mailing list