[MPlayer-users] Bug report: configure doesn't detect freetype in Debian/sid
Mario J. Barchéin Molina
mario at judas.2y.net
Tue Nov 18 19:36:30 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am using Debian/sid. Mplayer CVS version dev-CVS-031118-15:19-3.3.2
I have libfreetype6 2.1.7-1 and libfreetype6-dev .deb packages correctly
installed.
- 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;
}
cc /tmp/mplayer-conf-4826-14385.c -o /tmp/mplayer-conf-17127-14385.o
- -I/usr/include/freetype2 -lfreetype -lz
En el fichero incluído de /tmp/mplayer-conf-4826-14385.c:2:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always
use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
<ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include
FT_FREETYPE_H"
ldd /tmp/mplayer-conf-17127-14385.o
ldd: /tmp/mplayer-conf-17127-14385.o: No existe el fichero o el
directorio
Result is: no
##########################################
Thanks for your time.
- --
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Mario J. Barchéin Molina. Granada (Spain)
mario AT/EN judas.2y.net
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/umauFzNiq0CnxEERAhqbAJ0b9lRwXBJ6jyYC19lz6DOGEiUbIQCfZ2p3
P05oGygeOX+b8Pk+Ifkk8kk=
=skuo
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list