Trouble Building on Mac OSX

Tim Roberts <[email protected]> Mon, 15 Apr 2002 15:03:01 -0500
Newsgroups gmane.comp.mozilla.builds
Message-ID <[email protected]>
Hi folks,
I hope someone here can help me. I am new to the mozilla build process, 
and I'm doing my best to figure out
what is going on. At this point, I'm not sure what I'm missing or really 
what I should expect.
I'm working with Mac OS X 10.1.3 and the Dec 2001 DevTools. The Machine 
is a PM7300/200.(I know, "Step into the 21st century pal!"); )
Anyway, I have followed Build Instructions at 
http://mozilla.org/ports/fizzilla/Mach.html to no avail.
I've tried a number of different configuration options. My current 
.mozconfig file contains:

ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --disable-tests
ac_add_options --enable-xterm-updates

The build fails during header generation at 
/mozilla/gfx/idl/nsIPrintsettings.idl

gmake[5]: Entering directory 
`/Volumes/BDrive/Downloads/mozillabld/mozilla/gfx/public'
Creating ../../dist/include/gfx
../../config/nsinstall -R -m 644 imgScaler.h nsColor.h nsColorNames.h 
nsColorNameList.h nsCompressedCharMap.h nsCoord.h nsFont.h nsRect.h 
nsRepeater.h nsPoint.h nsSize.h nsMargin.h nsNameValuePairDB.h 
nsTransform2D.h nsIRenderingContext.h nsRenderingContextImpl.h 
nsIFontMetrics.h nsIDeviceContext.h nsIImage.h nsIBlender.h nsGfxCIID.h 
nsIRegion.h nsDeviceContext.h nsIDeviceContextSpec.h 
nsIDeviceContextSpecFactory.h nsIDrawingSurface.h nsITheme.h 
nsThemeConstants.h nsIPrintingContext.h ../../dist/include/gfx
/usr/bin/perl -I../../config ../../config/build-list.pl 
../../dist/include/gfx/.headerlist imgScaler.h nsColor.h nsColorNames.h 
nsColorNameList.h nsCompressedCharMap.h nsCoord.h nsFont.h nsRect.h 
nsRepeater.h nsPoint.h nsSize.h nsMargin.h nsNameValuePairDB.h 
nsTransform2D.h nsIRenderingContext.h nsRenderingContextImpl.h 
nsIFontMetrics.h nsIDeviceContext.h nsIImage.h nsIBlender.h nsGfxCIID.h 
nsIRegion.h nsDeviceContext.h nsIDeviceContextSpec.h 
nsIDeviceContextSpecFactory.h nsIDrawingSurface.h nsITheme.h 
nsThemeConstants.h nsIPrintingContext.h
make[5]: Leaving directory 
`/Volumes/BDrive/Downloads/mozillabld/mozilla/gfx/public'
make[5]: Entering directory 
`/Volumes/BDrive/Downloads/mozillabld/mozilla/gfx/idl'
../../config/nsinstall -R -m 644 nsIFontEnumerator.idl nsIFontList.idl 
nsIScriptableRegion.idl nsIGraphics.idl nsIScreen.idl 
nsIScreenManager.idl nsIPrintOptions.idl nsIPrintSettings.idl 
../../dist/idl
Creating _xpidlgen/.done
nsIFontEnumerator.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIFontEnumerator nsIFontEnumerator.idl
nsIFontList.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIFontList nsIFontList.idl
nsIScriptableRegion.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIScriptableRegion nsIScriptableRegion.idl
nsIGraphics.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIGraphics nsIGraphics.idl
nsIScreen.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIScreen nsIScreen.idl
nsIScreenManager.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIScreenManager nsIScreenManager.idl
nsIPrintOptions.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIPrintOptions nsIPrintOptions.idl
nsIPrintSettings.idl
../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o 
_xpidlgen/nsIPrintSettings nsIPrintSettings.idl
nsIPrintSettings.idl:91: Error: unsigned const declaration 
'kInitSaveAll' initialized with negative constant
make[5]: *** [_xpidlgen/nsIPrintSettings.h] Error 1
make[5]: Leaving directory 
`/Volumes/BDrive/Downloads/mozillabld/mozilla/gfx/idl'
make[4]: *** [export] Error 2
make[4]: Leaving directory 
`/Volumes/BDrive/Downloads/mozillabld/mozilla/gfx'
make[3]: *** [tier_9] Error 2
make[3]: Leaving directory `/Downloads/mozillabld/mozilla'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/Downloads/mozillabld/mozilla'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/Downloads/mozillabld/mozilla'
make: *** [build] Error 2
make: Leaving directory `/Downloads/mozillabld/mozilla'

I can comment that line in nsIPrintSettings.idl and the build will 
continue until it gets to nsIDOMNodeFilter.idl
where It returns a similar error.

So at this point I'm wondering if this is a point I' wondering if this 
is a problem with Apple's compiler or
if I'm just missing a key ingredient. I checked all the prerequisites in 
the Detailed Unix Build instructions
and so far I've got everything and it is in the PATH.

Thanks in advance,

Tim Roberts
Waterknot Music
Nashville, TN