On Dec 3, 2004, at 3:41 AM, Viv Kendon wrote:
Drat, I have a freetype sort of error with the latest mozilla (below, it's rather long...) 1.7.2-1 is installed and working fine, but I installed Xorg (in place of XFree864.4) since installing 1.7.2-1, so that may be the cause of the problem?
I have the latest unstable and unstable crypto, 10.3.6, and X.org, all else is up to date. I do not have any fink freetype packages installed. I have saved the rest of the output from the build attempt before the excerpt below, in case that is useful.
Any suggestions? It isn't urgent given the currently installed version is working fine for now.
many thanks, -- Viv
make[4]: Entering directory `/sw/src/mozilla-1.7.2-2/mozilla/gfx/src/freetype'
nsFreeType.cpp
c++ -o nsFreeType.o -c -DOSTYPE=\"Darwin7.6.0\" -DOSARCH=\"Darwin\" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/sw/src/mozilla-1.7.2-2/mozilla/dist/include/nspr -I/sw/include -I/sw/include -I/sw/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC -I/sw/include -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 -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/sw/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:39,
from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `FTC_Image_Cache' was not
declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: `aImageCache' was not
declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: variable declaration is not
allowed here
../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Cache' was not
declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:92: error: parse error before `,'
token
../../../dist/include/gfx/nsIFreeType2.h:104: error: type specifier omitted for
parameter `FTC_Image_Cache'
../../../dist/include/gfx/nsIFreeType2.h:104: error: parse error before `*'
token
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:107: error: parse error before `,' token
nsFreeType.h:113: error: type specifier omitted for parameter `FTC_Image_Cache'
nsFreeType.h:113: error: parse error before `*' token
nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:145: error: `aImageCache' was not declared in this scope
nsFreeType.h:145: error: invalid data member initialization
nsFreeType.h:145: error: (use `=' to initialize static data members)
nsFreeType.h:145: error: `GetImageCache' declared as a `virtual' field
nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:145: error: parse error before `,' token
nsFreeType.h:145: error: type specifier omitted for parameter `FTC_Image_Cache'
nsFreeType.h:145: error: parse error before `*' token
nsFreeType.h:216: error: 'FTC_Image_Cache' is used as a type, but is not
defined as a type.
nsFreeType.cpp:101: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Done_Face' of NULL object
nsFreeType.cpp:101: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:102: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Done_FreeType' of NULL object
nsFreeType.cpp:102: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:103: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Done_Glyph' of NULL object
nsFreeType.cpp:103: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:104: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Char_Index' of NULL object
nsFreeType.cpp:104: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:105: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Glyph' of NULL object
nsFreeType.cpp:105: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:106: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Sfnt_Table' of NULL object
nsFreeType.cpp:106: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:107: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Glyph_Get_CBox' of NULL object
nsFreeType.cpp:107: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:108: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Init_FreeType' of NULL object
nsFreeType.cpp:108: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:109: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Load_Glyph' of NULL object
nsFreeType.cpp:109: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:110: warning: invalid access to non-static data member `
nsFreeType2::nsFT_New_Face' of NULL object
nsFreeType.cpp:110: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:111: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Outline_Decompose' of NULL object
nsFreeType.cpp:111: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:112: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Set_Charmap' of NULL object
nsFreeType.cpp:112: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:113: warning: invalid access to non-static data member `
nsFreeType2::nsFTC_Image_Cache_Lookup' of NULL object
nsFreeType.cpp:113: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:114: warning: invalid access to non-static data member `
nsFreeType2::nsFTC_Manager_Lookup_Size' of NULL object
nsFreeType.cpp:114: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:115: warning: invalid access to non-static data member `
nsFreeType2::nsFTC_Manager_Done' of NULL object
nsFreeType.cpp:115: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:116: warning: invalid access to non-static data member `
nsFreeType2::nsFTC_Manager_New' of NULL object
nsFreeType.cpp:116: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:117: warning: invalid access to non-static data member `
nsFreeType2::nsFTC_Image_Cache_New' of NULL object
nsFreeType.cpp:117: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:119: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Glyph_Transform' of NULL object
nsFreeType.cpp:119: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:120: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Kerning' of NULL object
nsFreeType.cpp:120: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:121: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Glyph_Copy' of NULL object
nsFreeType.cpp:121: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:122: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Glyph_To_Bitmap' of NULL object
nsFreeType.cpp:122: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:124: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_First_Char' of NULL object
nsFreeType.cpp:124: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:125: warning: invalid access to non-static data member `
nsFreeType2::nsFT_Get_Next_Char' of NULL object
nsFreeType.cpp:125: warning: (perhaps the `offsetof' macro was used
incorrectly)
nsFreeType.cpp:285: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:285: error: parse error before `,' token
nsFreeType.cpp: In member function `virtual nsresult
nsFreeType2::ImageCacheLookup(...)':
nsFreeType.cpp:289: error: `cache' undeclared (first use this function)
nsFreeType.cpp:289: error: (Each undeclared identifier is reported only once
for each function it appears in.)
nsFreeType.cpp:289: error: `desc' undeclared (first use this function)
nsFreeType.cpp:289: error: `glyphID' undeclared (first use this function)
nsFreeType.cpp:289: error: `glyph' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:323: error: type specifier omitted for parameter `
FTC_Image_Cache'
nsFreeType.cpp:323: error: parse error before `*' token
nsFreeType.cpp: In member function `virtual nsresult
nsFreeType2::ImageCacheNew(...)':
nsFreeType.cpp:326: error: `manager' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:392: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:392: error: `aCache' was not declared in this scope
nsFreeType.cpp:393: error: `nsresult nsFreeType2::GetImageCache' is not a
static member of `class nsFreeType2'
nsFreeType.cpp:393: error: syntax error before `{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function)
make[4]: *** [nsFreeType.o] Error 1
make[4]: Leaving directory `/sw/src/mozilla-1.7.2-2/mozilla/gfx/src/freetype'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/sw/src/mozilla-1.7.2-2/mozilla/gfx/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/sw/src/mozilla-1.7.2-2/mozilla/gfx'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/sw/src/mozilla-1.7.2-2/mozilla'
make: *** [default] Error 2
make: Leaving directory `/sw/src/mozilla-1.7.2-2/mozilla'
### execution of /var/tmp/tmp.3.gIBm8F failed, exit code 1
Failed: compiling mozilla-1.7.2-2 failed
------------------------------------------------ Dr Viv Kendon [EMAIL PROTECTED] Quantum Information tel: 0113 343 3897 Physics & Astronomy University of Leeds
This is indeed a known problem with Mozilla (& Firefox for that matter, since it's derived from Mozilla) when building against X.org. Apparently it's known upstream, and I've read that the next version of firefox won't have this problem--I'm not sure about mozilla, but it should be fixable.
The workaround that I used for this was to swap in XFree86-4.4 (which actually involved building it--I lost my .deb somehow) to build mozilla, and then reinstall X.org. This seemed to work fine.
--
Alexander K. Hansen
Fink Documentarian
Day Job: Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
