This is a scratchpad for notes on how mozilla.org configures its build machines for doing release builds (around the time of the Mozilla 1.7 and Aviary 1.0 branches).
Machine configuration
Windows builds
Linux/GTK1 builds
- Install Red Hat 7.1 + all errata (although we've done some releases with 7.3)
- build and install binutils 2.13.2.1 configure with "--prefix=/usr/local/binutils-2.13.2.1"
- add /usr/local/binutils/2.13.2.1/bin to start of PATH for build environment
- build (with above binutils installed and at start of path) and install gcc 3.2.3, configured with "--prefix=/usr/local/gcc-3.2.3 --enable-__cxa_atexit --enable-threads=posix --disable-shared --enable-languages=c++ --disable-checking --with-system-zlib --with-ld=/usr/local/binutils-2.13.2.1/bin/ld --with-as=/usr/local/binutils-2.13.2.1/bin/as"
- add gcc bin directory to start of PATH for build environment
Linux/GTK2 builds
- Install Red Hat 8.0 + all errata
- build and install gcc 3.3.4, configured with "--prefix=/usr/local/gcc-3.3.4 --enable-languages=c++ --enable-__cxa_atexit --with-system-zlib --enable-threads=posix --enable-shared --disable-checking --disable-libunwind-exceptions"
- add gcc bin directory to start of PATH for build environment
- upgrade glib2 to 2.0.7 by building RPM from spec file in source tarball (we have a copy of this RPM in
/builds/cltbld
onlhasa
) - edit headers manually to fix:
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h:46: error: comma at end of enumerator list
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-xfer.h:81: error: comma at end of enumerator list
/usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-xfer.h:90: error: comma at end of enumerator list
See Red Hat 8 notes for more details.
Mac OS X builds
- When building on 10.3, install the XCode cross-development package and set the flag
--with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk
in the system's mozconfig.
Build configuration
Original Document Information
- Author(s): David Baron
- Last Updated Date: February 17, 2006
- Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.