[MPlayer-advusers] mplayer CVS doesn't compile with fontconfig support

gabor gabor at nekomancer.net
Sun Feb 26 21:25:36 CET 2006


Dominik 'Rathann' Mierzejewski wrote:
> On Sunday, 26 February 2006 at 15:56, Sebastian wrote:
>> Hi all!
>>
>> I'd like to use freetype in mplayer from now on, but it doesn't compile
>> with fontconfig support enabled.
> 
> It does for me.
> 
>> These are the versions of freetype and fontconfig I got installed:
>>
>> [ebuild   R   ] media-libs/freetype-2.1.10  -bindist -doc +zlib 0 kB
>> [ebuild   R   ] media-libs/fontconfig-2.2.3  0 kB
>>
>> This is what I use to compile mplayer from CVS:
>>
>> ./configure --prefix=/usr \
>> --confdir=/usr/share/mplayer --mandir=/usr/share/man \
>> --datadir=/usr/share/mplayer --disable-runtime-cpudetection \
>> --enable-largefiles --enable-menu --disable-network --disable-ftp \
>> --with-x11incdir=/usr/X11R6/include --enable-lirc --disable-lircc \
>> --disable-vm --disable-xf86keysym --disable-tv --disable-tv-v4l2 \
>> --disable-tv-bsdbt848 --disable-edl --disable-tv-v4l \
>> --disable-network --disable-winsock2 --disable-smb --disable-live \
>> --disable-dvdread --disable-cdparanoia  --enable-freetype \
>                                           ^^^^^^^^^^^^^^^^^
>> --enable-fontconfig --disable-unrarlib --disable-enca \
>   ^^^^^^^^^^^^^^^^^^^
> 
> Remove this and retry.

to the original poster:

why are you using this terribly long configure line? :)

to the point:

in mplayer's configure, --enable-* means FORCE. that means, if you say 
--enable-fontconfig, it will just assume fontconfig is there (even if it 
is not there).

that's why Dominik recommended to remove that part.

generally, you should not "--enable" anything.

so,

remove all the --enable lines, and try again.

p.s: mplayer-advusers is probably not the best place to ask such 
questions. please use mplayer-users in the future.

gabor




More information about the MPlayer-advusers mailing list