[mythtv-users] Compile .21-fixes under 64 bit
Andrew Burgess
aab at cichlid.com
Tue Apr 7 22:34:55 UTC 2009
On Tue, 2009-04-07 at 18:16 -0400, Michelle Dupuis wrote:
> Is freetype the same as freetype2 ?
yes, the older one is freetype1
> try changing it to these three lines:
>
> set -vx
> check_foo_config freetype2 freetype ft2build.h FT_Init_FreeType
> set +vx
look in config.ep (actually look there BEFORE you add the set commands,
it looks pretty verbose already)
mine looks like this (from the first occurrence of 'freetype'):
freetype-config --version
9.18.3
check_lib ft2build.h FT_Init_FreeType
check_header ft2build.h
check_cpp
BEGIN /tmp/mythtv-conf-25602-15601-25447.c
1 #include <ft2build.h>
2 int x;
END /tmp/mythtv-conf-25602-15601-25447.c
g++ -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread
-I/usr/include/freetype2 -E
-o /tmp/mythtv-conf-22375-15601-20681.o /tmp/mythtv-conf-25602-15601-25447.c
cc1plus: warning: command line option "-std=c99" is valid for C/ObjC but
not for C++
check_func FT_Init_FreeType
check_ld
check_cc
BEGIN /tmp/mythtv-conf-20169-15601-8291.c
1 extern int FT_Init_FreeType();
2 int main(void){ FT_Init_FreeType(); }
END /tmp/mythtv-conf-20169-15601-8291.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread
-I/usr/include/freetype2 -fomit-frame-pointer -c
-o /tmp/mythtv-conf-22375-15601-20681.o /tmp/mythtv-conf-20169-15601-8291.c
gcc -rdynamic -export-dynamic
-o /tmp/mythtv-conf-21839-15601-23109 /tmp/mythtv-conf-22375-15601-20681.o -lz -pthread -lm -lfreetype
More information about the mythtv-users
mailing list