![]() |
VOOZH | about |
You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
Authors: Jim Dunn <jdunn@maine.rr.com>,
Philip Warren <pkw@us.ibm.com>
Mozilla requires AIX 4.3.3 or greater to build and run. If you encounter problems running Mozilla on an early level of AIX 4.3.3, it is recommended that you download and install the latest maintenance level for AIX 4.3.3 from http://www.ibm.com/servers/eserver/support/pseries/fixes/.
To determine the AIX version, use the following commands:
/usr/bin/oslevel (For base version number)
/usr/bin/oslevel -r (For base version number and maintenance level)
A few RPMS from the AIX Toolbox for Linux Applications are required to run Mozilla on AIX. Support for the AIX Toolbox is provided through the mailing list.
Installp Image (Required for AIX 4.3 only - installed by default on AIX 5+):
RPM images (for GTK1 builds):
RPM images (for GTK2 builds):
The latest fixes for the VisualAge C++ compiler can be downloaded from
the following location:
http://www.ibm.com/software/awdtools/vacpp/support/.
It is currently not possible to build Mozilla for AIX using gcc.
In addition to the Runtime Prerequisites listed above, the following RPMs are required to build Mozilla:
Common build requirements needed for all builds:
GTK1 build requirements:
GTK2 build requirements:
Checkout from Mozilla CVS (NOTE: Follow the generic Unix instructions, but substitute 'make' with 'gmake'.)
Configure your build:
ac_add_options --disable-tests ac_add_options --disable-auto-deps ac_add_options --enable-crypto ac_add_options --enable-extensions mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-opt ac_add_options --disable-debug ac_add_options --enable-optimize="-O2 -qmaxmem=-1 -qalias=noansi" # Uncomment the following line to create a GTK2 build # ac_add_options --enable-default-toolkit=gtk2 CC=xlc_r CXX=xlC_r LANG=C LDFLAGS="-brtl -bso -bh:5"
ac_add_options --disable-tests ac_add_options --disable-auto-deps ac_add_options --enable-crypto ac_add_options --enable-extensions mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-debug ac_add_options --enable-debug # Uncomment the following line to create a GTK2 build # ac_add_options --enable-default-toolkit=gtk2 CC=xlc_r CXX=xlC_r LANG=C LDFLAGS="-brtl -bso -bh:5"
Build:
gmake -f client.mk build 2&>1 | tee ../build.log
If building an older version of Mozilla for AIX, you may need to change the line:
echo $libdirs -Wl,-brtl -lgtk -lgdk $my_glib_libs -lintl -lXext -lX11 -lm
to:
echo $libdirs -brtl -lgtk -lgdk $my_glib_libs -lintl -lXext -lX11 -lm
in /opt/freeware/bin/gtk-config to prevent build errors in
makeC++SharedLib.
The CONFIG_SHELL and CONFIGURE_ENV_ARGS
environment variables are useful if you would like to override the default
shell which is used in the configure process for Mozilla. We have found that
using the GNU bash shell instead of the default ksh shell on AIX greatly
speeds up the time it takes to configure a Mozilla build. To use the GNU
bash shell instead of ksh, you would export the following variables prior to
starting your Mozilla build:
export CONFIG_SHELL=/opt/freeware/bin/bash
export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash
Portions of this content are © 1998–2009 by individual mozilla.org contributors; content available under a Creative Commons license | Details.
Last modified April 27, 2004 Document History