Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 11:43:59 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Ferruccio Zamuner <nonsolosoft@diff.org>
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: Mozilla 0.9.9-2
Message-ID:  <3C9AFCDF.4FD3C828@FreeBSD.org>
References:  <200203220930.g2M9UL425561@tnt.diff.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ferruccio Zamuner wrote:
> 
> Dear FreeBSD Gnome project staff,
> 
> I've installed successfully Gnome on FreeBSD 4.5-stable and I've always upgraded Mozilla
> in every version since last november without any troubles until the newest 0.9.9 version
> of Mozilla.
> 
> Below there is the compilation error.
> 
> I've redone the installation of freetype2, but mozilla still gives me this same error.
> 
> Thank you in advance for any reply.

Already resolved - see below.

-------- Original Message --------
Subject: Freetype-related problem with Mozilla build had been resolved
Date: Thu, 14 Mar 2002 16:19:01 +0200
From: Maxim Sobolev <sobomax@FreeBSD.ORG>
Organization: Vega International Capital
CC: gnome@FreeBSD.ORG, ports@FreeBSD.ORG

Folks,

I've resolved Mozilla build breakage when it is being built on a
system with freetype1 installed. Please follow the following procedure
to resolve the problem:

1. cvsup your ports as usually;
2. deinstall freetype-1.x.x package;
3. rebuild/reinstall freetype-1.x.x package from a freshly cvsup'ed
ports;
4. restart Mozilla build.

Thanks to all for their reports! Feel free to drop me a note if there
are any other problems with Mozilla-0.9.9.

-Maxim

> 
> Bye,              \fer
> 
> su-2.04# cd /usr/ports/www/mozilla
> su-2.04# make
> [...]
> gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/gfx/src/gtk'
> nsAntiAliasedGlyph.cpp
> c++ -o nsAntiAliasedGlyph.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI -D_IMPL_NS_GFXNONXP -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES -DMOZ_ENABLE_
> FREETYPE2 -I./. -I./.. -I./../x11shared  -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -
> I../../../dist/include/util -I../../../dist/include/dom -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../d
> ist/include/windowwatcher -I../../../dist/include/locale -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/necko -I../../../di
> st/include/gfx -I../../../dist/include -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr  -I/usr/local/include -I/usr/local/include   -I/usr/local/include/fr
> eetype2 -I/usr/local/include -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O -pipe -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/X
> 11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include   -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../
> ../../config-defs.h nsAntiAliasedGlyph.cpp
> In file included from ../x11shared/nsAntiAliasedGlyph.h:9,
>                  from nsAntiAliasedGlyph.cpp:47:
> /usr/local/include/freetype2/freetype/ftglyph.h:104: syntax error before `;'
> /usr/local/include/freetype2/freetype/ftglyph.h:106: syntax error before `;'
> /usr/local/include/freetype2/freetype/ftglyph.h:157: syntax error before `;'
> /usr/local/include/freetype2/freetype/ftglyph.h:205: syntax error before `;'
> /usr/local/include/freetype2/freetype/ftglyph.h:227: `FT_Error' was not declared in this scope
> /usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:250: `FT_Error' was not declared in this scope
> /usr/local/include/freetype2/freetype/ftglyph.h:251: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:280: `FT_Error' was not declared in this scope
> /usr/local/include/freetype2/freetype/ftglyph.h:281: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:360: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:436: `FT_Error' was not declared in this scope
> /usr/local/include/freetype2/freetype/ftglyph.h:437: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:455: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:486: syntax error before `('
> /usr/local/include/freetype2/freetype/ftglyph.h:505: `FT_Error' was not declared in this scope
> /usr/local/include/freetype2/freetype/ftglyph.h:506: syntax error before `('
> In file included from nsAntiAliasedGlyph.cpp:47:
> ../x11shared/nsAntiAliasedGlyph.h:45: `FT_BBox' was not declared in this scope
> ../x11shared/nsAntiAliasedGlyph.h:45: `aBbox' was not declared in this scope
> ../x11shared/nsAntiAliasedGlyph.h:45: syntax error before `,'
> ../x11shared/nsAntiAliasedGlyph.h:46: ANSI C++ forbids initialization of member `WrapFreeType'
> ../x11shared/nsAntiAliasedGlyph.h:46: making `WrapFreeType' static
> ../x11shared/nsAntiAliasedGlyph.h:46: ANSI C++ forbids in-class initialization of non-const static member `WrapFreeType'
> nsAntiAliasedGlyph.cpp:104: `FT_BBox' was not declared in this scope
> nsAntiAliasedGlyph.cpp:104: `aBbox' was not declared in this scope
> nsAntiAliasedGlyph.cpp:104: syntax error before `,'
> nsAntiAliasedGlyph.cpp:106: duplicate initialization of nsAntiAliasedGlyph::WrapFreeType
> nsAntiAliasedGlyph.cpp:106: initializer list being treated as compound expression
> nsAntiAliasedGlyph.cpp:106: syntax error before `{'
> nsAntiAliasedGlyph.cpp:108: ANSI C++ forbids declaration `mDescent' with no type
> nsAntiAliasedGlyph.cpp:108: `aBbox' was not declared in this scope
> nsAntiAliasedGlyph.cpp:109: ANSI C++ forbids declaration `mLBearing' with no type
> nsAntiAliasedGlyph.cpp:109: `aBbox' was not declared in this scope
> nsAntiAliasedGlyph.cpp:110: ANSI C++ forbids declaration `mRBearing' with no type
> nsAntiAliasedGlyph.cpp:110: `aBbox' was not declared in this scope
> nsAntiAliasedGlyph.cpp:111: ANSI C++ forbids declaration `mAdvance' with no type
> nsAntiAliasedGlyph.cpp:111: `aSlot' was not declared in this scope
> nsAntiAliasedGlyph.cpp:112: ANSI C++ forbids declaration `mWidth' with no type
> nsAntiAliasedGlyph.cpp:112: `aSlot' was not declared in this scope
> nsAntiAliasedGlyph.cpp:113: ANSI C++ forbids declaration `mHeight' with no type
> nsAntiAliasedGlyph.cpp:113: `aSlot' was not declared in this scope
> nsAntiAliasedGlyph.cpp:116: syntax error before `if'
> {standard input}: Assembler messages:
> {standard input}:320: Error: Rest of line ignored. First ignored character is `:'.
> {standard input}:326: Error: Rest of line ignored. First ignored character is `:'.
> {standard input}:332: Error: Rest of line ignored. First ignored character is `:'.
> {standard input}:338: Error: Rest of line ignored. First ignored character is `:'.
> {standard input}:344: Error: Rest of line ignored. First ignored character is `:'.
> {standard input}:350: Error: Rest of line ignored. First ignored character is `:'.
> gmake[4]: *** [nsAntiAliasedGlyph.o] Error 1
> gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src/gtk'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/www/mozilla.
> *** Error code 1
> 
> ----------------
> [...]
> # $FreeBSD: ports/www/mozilla/Makefile,v 1.88 2002/03/19 08:41:44 sobomax Exp $
> #
> 
> PORTNAME=       mozilla
> PORTVERSION=    0.9.9
> PORTREVISION=   2
> PORTEPOCH=      1
> [...]
> ----------------
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9AFCDF.4FD3C828>