Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 00:32:55 -0600
From:      Tom Plagge <tplagge@behemoth.stures.iastate.edu>
To:        freebsd-ports@freebsd.org
Subject:   Can't build Mozilla 0.9.9_1,1 on 4.5-RELEASE
Message-ID:  <200203160632.g2G6Wtl76064@behemoth.stures.iastate.edu>

next in thread | raw e-mail | index | archive | help
The subject kind of says it all.  The problem seems to be with the Freetype 
headers; I'm running the most recent version of Freetype2 (as of this morning,
2.0.9) so I'm not sure what the problem is.  The relevant output from make 
install is as follows: 

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../../../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-funct!
 ion-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 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

Stop in /usr/ports/www/mozilla.
*** Error code 1

Stop in /usr/ports/www/mozilla.



----------------------------------------------------------------------
The output from "make configure" is:


===>  Configuring for mozilla-0.9.9_1,1
loading cache ./config.cache
checking host system type... i386-portbld-freebsd4.5
checking target system type... i386-portbld-freebsd4.5
checking build system type... i386-portbld-freebsd4.5
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  -O -pipe  ) works... yes
checking whether the C++ compiler (c++  -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for as... (cached) /usr/bin/as
checking for ar... (cached) /usr/bin/ar
checking for ld... (cached) /usr/bin/ld
checking for strip... (cached) /usr/bin/strip
checking for dlltool... no
checking whether cc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... (cached) yes
checking for gawk... (cached) awk
checking for xemacs... no
checking for lemacs... no
checking for emacs... no
checking for perl5... (cached) /usr/bin/perl5
checking for minimum required perl version >= 5.004... 5.00503
checking for full perl installation... yes
checking for whoami... (cached) /usr/bin/whoami
checking for autoconf... (cached) :
checking for unzip... (cached) /usr/local/bin/unzip
checking for zip... (cached) /usr/local/bin/zip
checking for makedepend... (cached) /usr/X11R6/bin/makedepend
checking for xargs... (cached) /usr/bin/xargs
checking for doxygen... (cached) :
checking for gmake... (cached) /usr/local/bin/gmake
checking whether /usr/local/bin/gmake sets ${MAKE}... (cached) yes
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking whether ld has archive extraction flags... (cached) yes
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for int64... (cached) no
checking for uint... (cached) yes
checking for uint_t... (cached) no
checking for uint16_t... (cached) yes
checking for uname.domainname... (cached) no
checking for uname.__domainname... (cached) no
checking for 64-bit OS... no
checking for usable wchar_t (2 bytes, unsigned)... (cached) no
checking for compiler -fshort-wchar option... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for sys/byteorder.h... (cached) no
checking for compat.h... (cached) no
checking for getopt.h... (cached) no
checking for sys/bittypes.h... (cached) no
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking for gnu/libc-version.h... (cached) no
checking for nl_types.h... (cached) yes
checking for X11/XKBlib.h... (cached) yes
checking for sys/statvfs.h... (cached) no
checking for sys/statfs.h... (cached) no
checking for sys/vfs.h... (cached) no
checking for sys/mount.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for gethostbyname_r in -lc_r... (cached) no
checking for atan in -lm... (cached) yes
checking for dlopen in -ldl... (cached) no
checking for socket in -lsocket... (cached) no
checking for XDrawLines in -lX11... (cached) yes
checking for XextAddDisplay in -lXext... (cached) yes
checking for IceFlush in -lICE... (cached) yes
checking for SmcCloseConnection in -lSM... (cached) yes
checking for XtFree in -lXt... (cached) yes
checking for XineramaIsActive in -lXinerama... (cached) yes
checking for X11/extensions/Xinerama.h... (cached) yes
checking for XShmCreateImage in -lXext... (cached) yes
checking for X11/extensions/XShm.h... (cached) yes
checking for XieFloGeometry in -lXIE... (cached) yes
checking for X11/extensions/XIElib.h... (cached) yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... yes
checking whether cc accepts -pthread... yes
checking whether mmap() sees write()s... yes
checking whether cc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking for random... (cached) yes
checking for strerror... (cached) yes
checking for lchown... (cached) yes
checking for fchmod... (cached) yes
checking for snprintf... (cached) yes
checking for localtime_r... (cached) yes
checking for statvfs... (cached) no
checking for memmove... (cached) yes
checking for rint... (cached) yes
checking for nl_langinfo... (cached) no
checking for strtok_r... (cached) yes
checking for flockfile... (cached) yes
checking for gnu_get_libc_version()... (cached) no
checking whether va_list assignments need array notation... (cached) no
checking for C++ exceptions flag... (cached) -fno-exceptions
checking for gcc 3.0 ABI... (cached) no
checking for ios::binary... (cached) yes
checking for ios::bin... (cached) yes
checking for C++ "explicit" keyword... (cached) yes
checking for C++ template specialization support... (cached) yes
checking for modern C++ template specialization syntax support... (cached) yes
checking whether partial template specialization works... (cached) yes
checking whether operators must be re-defined for templates derived from templates... (cached) no
checking whether we need to cast a derived template to pass as its base class... (cached) no
checking whether the compiler can resolve const ambiguities for templates... (cached) yes
checking whether the C++ "using" keyword can change access... (cached) no
checking whether the C++ "using" keyword resolves ambiguity... (cached) no
checking for "std::" namespace... (cached) yes
checking whether standard template operator!=() is ambiguous... (cached) unambiguous
checking for C++ reinterpret_cast... (cached) yes
checking for C++ dynamic_cast to void*... (cached) yes
checking whether C++ requires implementation of unused virtual methods... (cached) yes
checking for trouble comparing to zero near std::operator!=()... (cached) no
checking for LC_MESSAGES... (cached) yes
checking for nspr-config... no
checking for NSPR - version >= 4.0.0 (skipping)... no
checking for jpeg_destroy_compress in -ljpeg... (cached) yes
checking for zlib.h... yes
checking for gzread in -lz... (cached) yes
checking for png_get_valid in -lpng... (cached) yes
checking for mng_initialize in -lmng... (cached) yes
checking for gtk-config... /usr/X11R6/bin/gtk12-config
checking for GTK - version >= 1.2.0... yes
checking for freetype-config... (cached) /usr/local/bin/freetype-config
checking for FreeType - version >= 6.1.0... yes
checking for freetype-config... (cached) /usr/local/bin/freetype-config
checking for FreeType - version >= 8.0.2... yes
checking for XpGetPrinterList in -lXp... (cached) yes
checking for cplus_demangle in -liberty... (cached) no
checking for gcc -pipe support... yes
checking for correct overload resolution with const and templates... no
checking whether compiler supports -Wno-long-long... yes
checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 1.2.0... yes
checking for libIDL-config... /usr/local/bin/libIDL-config
checking for libIDL - version >= 0.6.3... yes
updating cache ./config.cache
creating ./config.status
creating build/unix/mozilla-config
creating config/autoconf.mk
configuring in nsprpub
running /bin/sh ./configure  --disable-auto-deps --enable-chrome-format=jar --disable-cpp-exceptions --disable-cpp-rtti --enable-crypto --disable-debug --enable-default-toolkit=gtk --enable-double-buffer --enable-dtd-debug --enable-jsd --enable-ldap --enable-mailnews --enable-mathml --disable-md --disable-optimize --disable-pedantic --disable-plaintext-editor-only --enable-reorder --enable-strip --enable-svg --disable-tests --disable-xterm-updates --enable-xinerama --with-system-jpeg=/usr/local --with-system-mng=/usr/local --with-system-png=/usr/local --with-pthreads --enable-extensions=default,irc,xmlterm --prefix=/usr/X11R6 i386-portbld-freebsd4.5 --with-dist-prefix=/usr/ports/www/mozilla/work/mozilla/dist --with-mozilla --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i386-portbld-freebsd4.5
checking target system type... i386-portbld-freebsd4.5
checking build system type... i386-portbld-freebsd4.5
checking for whoami... (cached) /usr/bin/whoami
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -O -pipe  ) works... yes
checking whether the C++ compiler (c++ -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for ranlib... (cached) ranlib
checking for as... (cached) /usr/bin/as
checking for ar... (cached) /usr/bin/ar
checking for ld... (cached) /usr/bin/ld
checking for strip... (cached) /usr/bin/strip
checking for dlltool... no
checking for windres... no
checking for gcc -pipe support... yes
checking for perl5... (cached) /usr/bin/perl5
DSO_CFLAGS: not found
checking for dlopen... (cached) yes
checking whether cc needs -traditional... (cached) no
checking for lchown... (cached) yes
checking for strerror... (cached) yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... yes
checking whether cc accepts -pthread... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config/Makefile
creating config/autoconf.mk
creating config/nsprincl.mk
creating config/nsprincl.sh
creating config/nspr-config
creating lib/Makefile
creating lib/ds/Makefile
creating lib/libc/Makefile
creating lib/libc/include/Makefile
creating lib/libc/src/Makefile
creating lib/tests/Makefile
creating pr/Makefile
creating pr/include/Makefile
creating pr/include/md/Makefile
creating pr/include/obsolete/Makefile
creating pr/include/private/Makefile
creating pr/src/Makefile
creating pr/src/io/Makefile
creating pr/src/linking/Makefile
creating pr/src/malloc/Makefile
creating pr/src/md/Makefile
creating pr/src/md/unix/Makefile
creating pr/src/memory/Makefile
creating pr/src/misc/Makefile
creating pr/src/threads/Makefile
creating pr/tests/Makefile
creating pr/tests/dll/Makefile
creating pr/src/pthreads/Makefile
configure: warning: Recreating autoconf.mk with updated nspr-config output
configuring in directory/c-sdk/ldap
running /bin/sh ./configure  --disable-auto-deps --enable-chrome-format=jar --disable-cpp-exceptions --disable-cpp-rtti --enable-crypto --disable-debug --enable-default-toolkit=gtk --enable-double-buffer --enable-dtd-debug --enable-jsd --enable-ldap --enable-mailnews --enable-mathml --disable-md --disable-optimize --disable-pedantic --disable-plaintext-editor-only --enable-reorder --enable-strip --enable-svg --disable-tests --disable-xterm-updates --enable-xinerama --with-system-jpeg=/usr/local --with-system-mng=/usr/local --with-system-png=/usr/local --with-pthreads --enable-extensions=default,irc,xmlterm --prefix=/usr/X11R6 i386-portbld-freebsd4.5 --prefix=/usr/ports/www/mozilla/work/mozilla/dist --cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
updating cache ../../.././config.cache
creating ./config.status
creating Makefile
creating build/Makefile
creating build/autoconf.mk
creating include/Makefile
creating libraries/Makefile
creating libraries/libldap/Makefile
creating libraries/liblber/Makefile

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203160632.g2G6Wtl76064>