Add version check for fontconfig?
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
Hi, On Wednesday 21 May 2008 03:27, Andrew Savchenko wrote: [...]
Thus I ask someone, perhaps libass maintainer, to add such kind of check with an appropriate fontconfig version.
Eugeni, thanks for the fix. Andrew
participants (2)
-
Andrew Savchenko -
Evgeniy Stepanov