Closed Bug 312400 Opened 19 years ago Closed 19 years ago

Build of mozilla-source-1.8b1 stopped on error in nsFontMetricsPS.h

Categories

(Core :: Printing: Output, defect)

Other
Solaris
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 284077

People

(Reporter: sageev, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: 

The build of mozilla stopped on an error in compiling nsFontMetricsPS.h.  This
is a common problem on Solaris, as described in
http://wiki.inkscape.org/cgi-bin/wiki.pl?CompilingSunSolaris.  The compilation
can cause errors if <X11/Xlib.h> is not included before including Xft.h.  The
first of many similar errors was "error: 'Bool' is used as a type but it is not
defined as a type".  As described in the wiki entry, the error was fixed by
including <X11/Xlib.h> before <X11/Xft.h> in nsFontMetricsPS.h.  OS is Solaris
2.9, and all build requirements were satisfied before building.

Reproducible: Always

Steps to Reproduce:
1.Downloaded source code tarball
2.Editted .mozconfig
3.Ran gmake -f client.mk build

Actual Results:  
The build of mozilla stopped on an error in compiling nsFontMetricsPS.h.  The
first of many similar errors was "error: 'Bool' is used as a type but it is not
defined as a type".


This is just a bug report that I am filing to recommend a patch to the mozilla
source, if possible.  The following is the contents of the .mozconfig:
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

# Options for 'configure' (same as command-line options).
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-application=suite
ac_add_options --disable-ldap
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
OS: other → Solaris
Version: unspecified → 1.8 Branch
Are you going to provide a patch?
Assignee: nobody → printing
Status: UNCONFIRMED → NEW
Component: Build Config → Printing
Ever confirmed: true
Product: Mozilla Application Suite → Core
QA Contact: build-config
Version: 1.8 Branch → Trunk
mozilla-source-1.8b1 was released almost eight months ago. You should strongly
consider working with something newer, especially if you want to file bug
reports. The descendent of the mozilla suite is Seamonkey; you can pick up a
recent release at <http://ftp.mozilla.org/mirror/mozilla/seamonkey/releases/1.0a/>.

*** This bug has been marked as a duplicate of 284077 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.