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

Building Mozilla: Redhat on Intel (out of date)

Warning: These instructions are out of date.

1. Introduction
2. Requirements/Environment
3. Get the Code
4. Build the Lizard
5. After the Build


1. Introduction

This document is intended as an express-lane for building mozilla on redhat linux systems on intel machines.


2. Requirements/Environment

  • Download the following (into an empty directory, preferably):

  • Try running the following commands:
      rpm -e gtk+-devel
      rpm -e glib-devel
      rpm -e libIDL-devel
      rpm -i glib*
      rpm -i gtk*
      rpm -i nspr*
      rpm -i libIDL*
    (note: you need to be root, and run them from the directory you saved the above rpms into)

  • Everything else you need should be provided with Redhat linux 5.1 (or later), except for fixes to glibc 2.0.7, which:
    rpm -Uvh ftp://ftp.mozilla.org/pub/mozilla/libraries/RPMS/i386/glibc-2.0.7-32.i386.rpm
    rpm -Uvh ftp://ftp.mozilla.org/pub/mozilla/libraries/RPMS/i386/glibc-devel-2.0.7-32.i386.rpm

    should take care of for you.

3. Get the Code


4. Build the Lizard

  • Change directories to the toplevel mozilla/ directory.
  • Run the following commands:
      ./configure --with-pthreads
      make depend
      make

5. After the Build

    After the build there are two primary executables: viewer and apprunner. These are symbolically linked to from mozilla/dist/bin. At the moment, apprunner is the closest thing to a browser. The viewer program serves as a test application for the layout engine.
    To run these, you need to either:

      setenv LD_LIBRARY_PATH `pwd`
      setenv MOZILLA_FIVE_HOME `pwd`
    or
      export LD_LIBRARY_PATH=`pwd`


      export MOZILLA_FIVE_HOME=`pwd`


    from the mozilla/dist/bin directory before running.

Daniel Nunes, leaf@mozilla.org
Last modified: Wed May 12 17:53:07 PDT 1999
Copyright © 1998-1999 The Mozilla Organization.
Last modified May 13, 1999.