Re: Compiling CVS on Linux
Nicolas Pioch <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Yes, it's a classic... your version of Freetype is too new and you need to downgrade. You can probably find details in bugzilla searching for Freetype or FTC_Image_Cache. Apparently the Freetype API has changed in version 2.1.8 and FTC_Image_Cache isn't there anymore, so I suspect you need to downgrade to Freetype 2.1.7 to build Mozilla. cf: http://mail.gnome.org/archives/epiphany-list/2004-April/msg00057.html http://bugzilla.mozilla.org/show_bug.cgi?id=234035 [email protected] wrote: > I have tried compiling Mozilla CVS on Linux and have run accross > /usr/gcc34x/bin/g++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.6.8\" -DOSARCH=\"Linux\" -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/drives/work/src/mozilla/dist/include/nspr -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC -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 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -march=athlon-mp -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp > In file included from nsFreeType.h:55, > from nsFreeType.cpp:48: > In file included from nsFreeType.cpp:48: > nsFreeType.h:123: error: typedef `FTC_Image_Cache_Lookup_t' is initialized (use __typeof__ instead) > nsFreeType.h:123: error: `FTC_Image_Cache' was not declared in this scope