Closed Bug 294883 Opened 19 years ago Closed 19 years ago

Mozilla 1.7.8 src can't build with FreeType 2.1.9

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 234035

People

(Reporter: Qiang.Xu, Assigned: blizzard)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; Tucows; MyIE2)
Build Identifier: 

In file included from nsFreeType.h:39,
                 from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `GetImageCache' declared as
a `virtual' field
...[snipped]
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: expected `,' or `;' before '{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function)
nsFreeType.cpp:429: error: (Each undeclared identifier is reported only once for
 each function it appears in.)
nsFreeType.cpp: In member function `PRBool nsFreeType2::InitLibrary()':
nsFreeType.cpp:668: error: `mImageCache' undeclared (first use this function)
gmake[4]: *** [nsFreeType.o] Error 1
gmake[4]: Leaving directory `/usr/src/mozilla/gfx/src/freetype'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/src/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/src/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/src/mozilla'
gmake: *** [default] Error 2



Reproducible: Always

Steps to Reproduce:
1. mozilla-1.7.8-source.tar.gz
2. cd mozilla
2. ./configure --enable-default-toolkit=gtk2
3. gmake
Actual Results:  
In file included from nsFreeType.h:39,
                 from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `GetImageCache' declared as
a `virtual' field
...[snipped]
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: expected `,' or `;' before '{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function)
nsFreeType.cpp:429: error: (Each undeclared identifier is reported only once for
 each function it appears in.)
nsFreeType.cpp: In member function `PRBool nsFreeType2::InitLibrary()':
nsFreeType.cpp:668: error: `mImageCache' undeclared (first use this function)
gmake[4]: *** [nsFreeType.o] Error 1
gmake[4]: Leaving directory `/usr/src/mozilla/gfx/src/freetype'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/src/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/src/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/src/mozilla'
gmake: *** [default] Error 2



Expected Results:  
It should be built succesfully.

*** This bug has been marked as a duplicate of 234035 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
But 234035 is such a long thread, and it mainly discussed the problem with 
FreeType 2.1.8, could you tell me what is the final fix for that bug?

To use which patch? There are so many patches in that thread.

Or to use the option "--enable-xft"?

I am at a loss of the solution, 

thanks, 
well, the bug is still open, so I wouldn't say there is a final fix.

If you need help building Mozilla, the forums on mozillazine.org might be a
better place to ask (versus the bug database).  A quick search pulled up these
threads:
http://forums.mozillazine.org/viewtopic.php?t=242612
http://forums.mozillazine.org/viewtopic.php?t=266954

Sorry I can't be more helpful, I don't do these type of builds.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.