The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback


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 The Mozilla Organization.