The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

Zulu Unix Build Instructions

This document explains how to build Zulu for the Unix platform.
Required Tools:
  • The same set of tools for building Mozilla
Setting up:
  • Install Zulu source.
  • The environment variables to set are:
    • MOZ_DEBUG=1 (don't set this if you want to build an optimized release build)
    • MOZ_MEDIUM=1
    • MOZILLA_CLIENT=1
    • NO_MDUPDATE=1
    • set MOZ_OUT=(location of resulting executable and totally optional, see Notes for more details)
    • set MOZ_SRC=(top of your tree path, i.e. set MOZ_SRC=/calendar_src. The topmost directory under this should be mozilla)
    • set NO_SECURITY=1
    • set NSPR20=1
    • set MODULAR_NETLIB=1
    • set MOZ_TREX=1
    • set MOZ_ZULU_FREE=1
    • set NGLAYOUT_PLUGINS=1
    • set NO_SECURITY=1
    • set STANDALONE_IMAGE_LIB=1
Building:
  • Change to the directory where you copied your source and enter:
    • gmake -f trex.mk build_all
Running:
  • To run Zulu:
    • cd mozilla/dist/[OBJDIR]/bin
    • set LD_LIBRARY_PATH to this directory, ie: setenv LD_LIBRARY_PATH `pwd`
    • This varies by platform:
                On HP-UX, the equivalent environment variable is SHLIB_PATH.
                On AIX, the equivalent environment variable is LIBPATH.
    • ./zulu
Notes:
  • Because of a Linker problem on IRIX, change line 89 in config/IRIX.mk to say (prior to building):
    • LD = $(CCC)
  • Code has been build on Redhat Linux (2.0.34) & IRIX 6.2.  It is know to get 99% of the way through on SunOS 5.6, you'll get 1 unresolved external associated with raptorhtml.so in a template class.

Copyright © 1998 Netscape Communications Corporation
Copyright © 1998-2000 The Mozilla Organization.
Last modified October 1, 1999.