Subject: Re: Thunderbird compilation problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 12/28/2004 13:12:35
--Signature=_Tue__28_Dec_2004_13_12_35_+0100_2w3raiT4EJc7=1HN
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Tue, 28 Dec 2004 14:09:07 +0200 (EET)
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:

> # uname -srm 
> Linux 2.6.10 i686
> 
> 
> g++ -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/usr/pkgsrc/mail/thunderbird-gtk2/work/mozilla/dist/include/nspr 
> -I/usr/pkg/include -I/usr/pkg/include  -I. -I/usr/include/freetype2
> -I/usr/X11R6/include   -fPIC  -I/usr/pkg/include -I/usr/include
> -I/usr/pkg/include/freetype2  -I/usr/X11R6/include -fno-rtti -fno-exceptions
> -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -fshort-wcha
>  r -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -DXTHREADS
>  -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include
>  -I/usr/X11R6/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/pango-1.0
>  -I/usr/include/freetype2 -I/usr/pkg/include/glib/glib-2.0
>  -I/usr/pkg/lib/glib-2.0/include    -I/usr/pkg/include -I/usr/include
>  -I/usr/pkg/include/freetype2  -I/usr/X11R6/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
> `/usr/pkgsrc/mail/thunderbird-gtk2/work/mozilla/gfx/src/ps'

I'd say that it's using a non-compatible fontconfig version, do you have
fontconfig installed from pkgsrc, and is thunderbird using it?

--Signature=_Tue__28_Dec_2004_13_12_35_+0100_2w3raiT4EJc7=1HN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFB0U22ypkLYVDran0RArg3AKC3Y9r+XtMF/mLL2CTJA5l40Zb8LwCfWES/
IleKl9KXsjjBWGoTbeLGeUk=
=99ER
-----END PGP SIGNATURE-----

--Signature=_Tue__28_Dec_2004_13_12_35_+0100_2w3raiT4EJc7=1HN--