thunderbird-0.8, nsFontMetricsPS.cpp: In me...

Andrew Benton andy at benton987.fsnet.co.uk
Fri Oct 8 08:42:27 PDT 2004


Julius wrote:
> Hi,
> 
> ive installed these versions to get the right dependencies for thunderbird:
> 
> glibc-2.6.4
> gtk+-2.4.9   instead of the listed 2.4.6
> 
> now make errors with:
> 
> nsFontMetricsPS.cpp
> c++ -o nsFontMetricsPS.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" 
> -DHAVE_DEPENDENT_LIBS -I../.. -I./..  -I../../../dist/include/xpcom 
> -I../../../dist/include/string -I../../../dist/include/widget 
> -I../../../dist/include/pref -I../../../dist/include/caps 
> -I../../../dist/include/locale -I../../../dist/include/uconv 
> -I../../../dist/include/view -I../../../dist/include/necko 
> -I../../../dist/include/imglib2 -I../../../dist/include/unicharutil 
> -I../../../dist/include/gfx -I../../../dist/include 
> -I/sources/blfs/thunderbird/mozilla/dist/include/nspr     -I. 
> -I/usr/include/freetype2    -fPIC   -frtti -fno-exceptions -Wall -Wconversion 
> -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar 
> -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMOZILLA_CLIENT 
> -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFontMetricsPS.pp 
> nsFontMetricsPS.cpp
> nsFontMetricsPS.cpp: In member function `nsresult 
> nsFontPSFreeType::Init(nsITrueTypeFontCatalogEntry*, nsPSFontGenerator*)':
> nsFontMetricsPS.cpp:1144: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'face_id'
> nsFontMetricsPS.cpp:1145: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'width'
> nsFontMetricsPS.cpp:1146: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'height'
> nsFontMetricsPS.cpp: In member function `FT_FaceRec_* 
> nsFontPSFreeType::getFTFace()':
> nsFontMetricsPS.cpp:1231: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'face_id'
> nsFontMetricsPS.cpp: In member function `virtual void 
> nsFT2Type8Generator::GeneratePSFont(FILE*)':
> nsFontMetricsPS.cpp:1625: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'face_id'
> nsFontMetricsPS.cpp:1627: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'width'
> nsFontMetricsPS.cpp:1628: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'height'
> nsFontMetricsPS.cpp:1633: error: 'struct FTC_ImageTypeRec_' has no member 
> named 'face_id'
> make[4]: *** [nsFontMetricsPS.o] Error 1
> make[4]: Leaving directory `/sources/blfs/thunderbird/mozilla/gfx/src/ps'
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory `/sources/blfs/thunderbird/mozilla/gfx/src'
> make[2]: *** [libs] Error 2
> make[2]: Leaving directory `/sources/blfs/thunderbird/mozilla/gfx'
> make[1]: *** [tier_9] Error 2
> make[1]: Leaving directory `/sources/blfs/thunderbird/mozilla'
> make: *** [default] Error 2
> 
> Applied the patch from blfs, but didnt installed the enigmail extension 
> dependencies...
> 
> Any idea what could be wrong?
> 
> Regards
> Julius
You need to apply two patches to get the mozilla code to build against 
freetype-2.1.8 or 2.1.9. The one in BLFS is basically the same as this 
one from bug 234035 https://bugzilla.mozilla.org/show_bug.cgi?id=234035 
https://bugzilla.mozilla.org/attachment.cgi?id=159844&action=view but 
from your error it looks like you also need this one 
https://bugzilla.mozilla.org/attachment.cgi?id=156865&action=view from 
bug 190031 https://bugzilla.mozilla.org/show_bug.cgi?id=190031 You may 
need to add --disable-freetype2 to your build options.



More information about the blfs-support mailing list