need help

amit pundir pundiramit at gmail.com
Thu May 10 23:22:30 PDT 2007


i'm building Xorg 7.1 on knoppix 5.1..
i need to know.. which freetype version do i have to install for a
successful build and installation..

Because it  was written on modular developers guide that:
freetype <http://www.freetype.org/> 2.1.8 or 2.1.9. X may not link correctly
against earlier versions, and has known stability issues with 2.1.10.
FreeType <http://wiki.x.org/wiki/FreeType> 2.2.x breaks versions of libXfont
before 1.2.0, and all current versions of fnttosfnt.
If there is a compile error in libXFont, it is likely because
libXfont-X11R7.1-1.1.0 is incompatible with recent versions of freetype2
libraries. Installing
http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.2.0.tar.bz2will
fix that.

I once used the current version of freetype and got that libXfont error...
i installed libXfont fix too but it didnt work.. and got the same error
again...

FYI the error was:
ftfuncs.c:57:10: error: #include expects "FILENAME" or
<FILENAME>                                  ftfuncs.c:59:10: error: #include
expects "FILENAME" or <FILENAME>
ftfuncs.c:60:10:
error: #include expects "FILENAME" or <FILENAME>
ftfuncs.c: In function
'FreeTypeOpenInstance':
ftfuncs.c:467: error: 'TT_Face' undeclared (first use in this
function)                            ftfuncs.c:467: error: (Each undeclared
identifier is reported only once                            ftfuncs.c:467:
error: for each function it appears
in.)                                            ftfuncs.c:467: error:
expected ';' before 'tt_face'
ftfuncs.c:471: error: 'SFNT_Service' undeclared (first use in this
function)                       ftfuncs.c:471: error: expected ';' before
'sfnt'                                                   ftfuncs.c:472:
error: 'tt_face' undeclared (first use in this
function)                            ftfuncs.c:472: error: expected ';'
before 'face'                                                   ftfuncs.c:486:
error: 'sfnt' undeclared (first use in this function)
ftfuncs.c:486: error: expected ';' before 'tt_face'
ftfuncs.c: In function 'tt_get_metrics':
ftfuncs.c:815: error: 'TT_LongMetrics' undeclared (first use in this
function)
ftfuncs.c:815: error: expected ';' before 'longs_m'
ftfuncs.c:824: error: 'longs_m' undeclared (first use in this function)
ftfuncs.c:824: error: expected ';' before 'header'
ftfuncs.c:829: error: 'TT_ShortMetrics' undeclared (first use in this
function)
ftfuncs.c:829: error: expected expression before ')' token
ftfuncs.c:830: error: expected ')' before 'header'
ftfuncs.c: In function 'ft_get_very_lazy_bbox':
ftfuncs.c:845: error: 'TT_Face' undeclared (first use in this function)
ftfuncs.c:845: error: expected ';' before 'ttface'
ftfuncs.c:852: error: 'ttface' undeclared (first use in this function)
ftfuncs.c: In function 'FT_Do_SBit_Metrics':
ftfuncs.c:914: error: 'SFNT_Service' undeclared (first use in this function)
ftfuncs.c:914: error: expected ';' before 'sfnt'
ftfuncs.c:915: error: 'TT_Face' undeclared (first use in this function)
ftfuncs.c:915: error: expected ';' before 'face'
ftfuncs.c:918: error: 'TT_SBit_Strike' undeclared (first use in this
function)
ftfuncs.c:918: error: expected ';' before 'strike'
ftfuncs.c:919: error: 'TT_SBit_Range' undeclared (first use in this
function)
ftfuncs.c:919: error: expected ';' before 'range'
ftfuncs.c:920: error: 'TT_SBit_MetricsRec' undeclared (first use in this
function)
ftfuncs.c:920: error: expected ';' before 'elem_metrics'
ftfuncs.c:931: error: 'face' undeclared (first use in this function)
ftfuncs.c:931: error: expected ';' before 'ft_face'
ftfuncs.c:932: error: 'sfnt' undeclared (first use in this function)
ftfuncs.c:932: error: expected ';' before 'face'
ftfuncs.c:938: error: 'range' undeclared (first use in this function)
ftfuncs.c:938: error: 'strike' undeclared (first use in this function)
ftfuncs.c:955: warning: implicit declaration of function 'FT_STREAM_POS'
ftfuncs.c:955: warning: nested extern declaration of 'FT_STREAM_POS'
ftfuncs.c:958: warning: implicit declaration of function 'FT_STREAM_SEEK'
ftfuncs.c:958: warning: nested extern declaration of 'FT_STREAM_SEEK'
ftfuncs.c:961: error: 'elem_metrics' undeclared (first use in this function)
make[3]: *** [ftfuncs.lo] Error 1
make[3]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0
/src/FreeType'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0'
make: *** [all] Error 2


-- 
Thanks and Regards
Amit Pundir

"Disclaimer: The opinions expressed herein are not necessarily those of my
employer, not necessarily mine, and probably not necessary."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070511/0abebbe2/attachment.html>


More information about the xorg mailing list