[MPlayer-users] freetype are not detected
Arpi
arpi at thot.banki.hu
Mon Dec 23 02:57:02 CET 2002
Hi,
what does 'freetype-config --libs' prints?
looks liek you have a broken freetype package instaleld...
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hello,
>
> when I'm trying to put --enable-freetype parameter to configure script, I
> obtain
>
> Checking for freetype =>2.0.9 no
>
> Output from configure.log:
>
> ============ Checking for freetype >= 2.0.9 ============
>
> #include <stdio.h>
> #include <freetype/freetype.h>
> #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9)))
> #error "Need FreeType 2.0.9 or newer"
> #endif
> int main()
> {
> FT_Library library;
> FT_Int major=-1,minor=-1,patch=-1;
> int err=FT_Init_FreeType(&library);
> if(err){
> printf("Couldn't initialize freetype2 lib, err code: %d\n",err);
> exit(err);
> }
> FT_Library_Version(library,&major,&minor,&patch); // in v2.1.0+ only :(((
> printf("freetype2 header version: %d.%d.%d library version: %d.%d.%d\n",
> FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH,
> (int)major,(int)minor,(int)patch );
> if(major!=FREETYPE_MAJOR || minor!=FREETYPE_MINOR){
> printf("Library and header version mismatch! Fix it in your distribution!\n");
> exit(1);
> }
> return 0;
> }
>
> gcc /tmp/mplayer-conf-30929-8575.c -o /tmp/mplayer-conf-12727-8575.o
> -I/usr/include/freetype2 -lfreetype @LIBZ@
> gcc: @LIBZ@: No such file or directory
>
> ldd /tmp/mplayer-conf-12727-8575.o
> ldd: /tmp/mplayer-conf-12727-8575.o: No such file or directory
>
> Result is: no
> ##########################################
>
>
> I have Debian unstable, packages libfreetype6 and libfreetype6-dev are
> installed (freetype version 2.1.3)
>
> Can you help me with this problem?
>
> Thanks.
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-users
mailing list