Date: Sat, 6 Apr 2002 14:57:05 -0800 (PST) From: User Tomdean <tomdean@speakeasy.org> To: gnome@FreeBSD.org Subject: mozilla Port Borken Message-ID: <200204062257.g36Mv5977446@celebris.tddhome>
next in thread | raw e-mail | index | archive | help
I have a problem building the mozilla port. I have not tried to build mozilla before so the mozilla work directory was clean. I did a 'make distclean' and tried it again. Same results. My ports tree is up-to-date as of a 3~4 hours ago. # uname -a FreeBSD celebris 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu Jun 14 16:13:54 PDT 2001 root@celebris:/usr/src/sys/compile/CELEBRIS-SMP i386 # pwd /usr/ports/www/mozilla # ls -l -rw-r--r-- 1 root wheel 2887 Apr 6 07:49 Makefile -rw-r--r-- 1 root wheel 137 Mar 22 07:26 distinfo drwxr-xr-x 2 root wheel 512 Apr 6 07:49 files/ -rw-r--r-- 1 root wheel 49 Jan 21 2001 pkg-comment -rw-r--r-- 1 root wheel 715 Jan 15 18:52 pkg-descr -rw-r--r-- 1 root wheel 21183 Mar 22 07:26 pkg-plist drwxr-xr-x 3 root wheel 512 Apr 6 12:11 work/ # ls -l /usr/ports/distfiles/mozilla* -rw-r--r-- 1 root wheel 29309160 Mar 11 16:11 \ /usr/ports/distfiles/mozilla-source-0.9.9.tar.bz2 From Makefile # $FreeBSD: ports/www/mozilla/Makefile,v 1.89 2002/03/29 07:03:57 sumikawa Exp$ The error is below. Possilby a broken define because FT_BBox is not declared in x11shared/nsAntiAliasedGlyph.h. tomdean # cd /usr/ports/www/mozilla # make ... xprintutil.c: In function `XpuGetPrinterList': xprintutil.c:773: warning: suggest parentheses around assignment used as truth value 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../../../dist/include/windowwatcher -I../../../dist/include/locale -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/necko -I../../../dist/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/freetype2 -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/X11R6/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. 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?200204062257.g36Mv5977446>