i'm building Xorg 7.1 on knoppix 5.1..<br>i need to know.. which freetype version do i have to install for a successful build and installation..<br><br>Because it was written on modular developers guide that: <br><a class="http" href="http://www.freetype.org/">
freetype</a> 2.1.8 or 2.1.9. X may not link correctly against earlier versions, and has known stability issues with 2.1.10. <a class="nonexistent" href="http://wiki.x.org/wiki/FreeType">FreeType</a> 2.2.x breaks versions of libXfont before
1.2.0, and all current versions of fnttosfnt. <br>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 <a class="http" href="http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.2.0.tar.bz2">http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.2.0.tar.bz2</a> will fix that.
<br><br>I once used the current version of freetype and got that libXfont error... <br>i installed libXfont fix too but it didnt work.. and got the same error again...<br><br>FYI the error was:<br>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><br>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'<br>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)<br>ftfuncs.c:486: error: expected ';' before 'tt_face'<br>ftfuncs.c: In function 'tt_get_metrics':<br>ftfuncs.c:815: error: 'TT_LongMetrics' undeclared (first use in this function)
<br>ftfuncs.c:815: error: expected ';' before 'longs_m'<br>ftfuncs.c:824: error: 'longs_m' undeclared (first use in this function)<br>ftfuncs.c:824: error: expected ';' before 'header'
<br>ftfuncs.c:829: error: 'TT_ShortMetrics' undeclared (first use in this function)<br>ftfuncs.c:829: error: expected expression before ')' token<br>ftfuncs.c:830: error: expected ')' before 'header'
<br>ftfuncs.c: In function 'ft_get_very_lazy_bbox':<br>ftfuncs.c:845: error: 'TT_Face' undeclared (first use in this function)<br>ftfuncs.c:845: error: expected ';' before 'ttface'<br>ftfuncs.c
:852: error: 'ttface' undeclared (first use in this function)<br>ftfuncs.c: In function 'FT_Do_SBit_Metrics':<br>ftfuncs.c:914: error: 'SFNT_Service' undeclared (first use in this function)<br>ftfuncs.c
:914: error: expected ';' before 'sfnt'<br>ftfuncs.c:915: error: 'TT_Face' undeclared (first use in this function)<br>ftfuncs.c:915: error: expected ';' before 'face'<br>ftfuncs.c:918: error: 'TT_SBit_Strike' undeclared (first use in this function)
<br>ftfuncs.c:918: error: expected ';' before 'strike'<br>ftfuncs.c:919: error: 'TT_SBit_Range' undeclared (first use in this function)<br>ftfuncs.c:919: error: expected ';' before 'range'
<br>ftfuncs.c:920: error: 'TT_SBit_MetricsRec' undeclared (first use in this function)<br>ftfuncs.c:920: error: expected ';' before 'elem_metrics'<br>ftfuncs.c:931: error: 'face' undeclared (first use in this function)
<br>ftfuncs.c:931: error: expected ';' before 'ft_face'<br>ftfuncs.c:932: error: 'sfnt' undeclared (first use in this function)<br>ftfuncs.c:932: error: expected ';' before 'face'<br>
ftfuncs.c:938: error: 'range' undeclared (first use in this function)<br>ftfuncs.c:938: error: 'strike' undeclared (first use in this function)<br>ftfuncs.c:955: warning: implicit declaration of function 'FT_STREAM_POS'
<br>ftfuncs.c:955: warning: nested extern declaration of 'FT_STREAM_POS'<br>ftfuncs.c:958: warning: implicit declaration of function 'FT_STREAM_SEEK'<br>ftfuncs.c:958: warning: nested extern declaration of 'FT_STREAM_SEEK'
<br>ftfuncs.c:961: error: 'elem_metrics' undeclared (first use in this function)<br>make[3]: *** [ftfuncs.lo] Error 1<br>make[3]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0/src/FreeType'<br>make[2]: *** [all-recursive] Error 1
<br>make[2]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/tmp/tarballs/7.1/libXfont-X11R7.1-1.1.0'<br>make: *** [all] Error 2
<br><br clear="all"><br>-- <br>Thanks and Regards<br>Amit Pundir<br><br>"Disclaimer: The opinions expressed herein are not necessarily those of my employer, not necessarily mine, and probably not necessary."