[MPlayer-advusers] Add version check for fontconfig?

Andrew Savchenko Bircoph at list.ru
Wed May 21 01:27:41 CEST 2008


Hello,

mplayer-r26456 compiles ok with ass support enabled and 
fontconfig-2.2.3. However revision r26840 does not and dies with 
the following error when linking mplayer binary:
=================================================
libass/ass_fontconfig.o(.text+0x23c): In function `_select_font':
ass_fontconfig.c: undefined reference to `FcPatternRemove'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
=================================================
SNV log && diff shows that this problem occurs at rev.26690.

Update from fontconfig-2.2.3 to fontconfig-2.5.0 helps to resolve 
this problem.

But such case should be avoided IMO: configure script should check 
for minimal version required for fontconfig (and any other 
library, of course). Yet I dunno exact minimal version of 
fontconfig required, so the only thing I can say that 2.2.3 < ver 
<= 2.5.0.

Thus I ask someone, perhaps libass maintainer, to add such kind of 
check with an appropriate fontconfig version.

With best regards,
Andrew
-------------- 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-advusers/attachments/20080521/06c7f13d/attachment.pgp>


More information about the MPlayer-advusers mailing list