Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users 5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo

Mozilla (M10) FreeBSD 3.3 How-To

This document explains how to build Mozilla (M10) for FreeBSD. At the time of this writing (16-Nov-1999) the Mozilla port for FreeBSD will not build on a -STABLE system.

This document is now out of date (27-Dec-1999.) M12 has been released and GNU make is at version 3.78.1. These directions will be available for a while longer, but are deprecated.

  1. Install glib 1.2 (devel/glib12) from ports.

  2.   # cd /usr/ports/devel/glib12
      # make install
      # cd /usr/local/bin
      # ln -s glib12-config glib-config
     
  3. Install GTK+ 1.2 (x11-toolkits/gtk12) from ports.

  4.   # cd /usr/ports/x11-toolkits/gtk12
      # make install
      # cd /usr/X11R6/bin
      # ln -s gtk12-config gtk-config
     
  5. Fetch and build libIDL from source.

  6.   # cd /usr/local/src
      # fetch ftp://ftp.mozilla.org/pub/mozilla/libraries/source/\
       libIDL-0.6.5.tar.gz
      # tar -zxvf libIDL-0.6.5.tar.gz
      # cd libIDL-0.6.5
      # ./configure
      # gmake
      # gmake install
     
  7. Install gcc 2.95 (lang/egcs) from ports

  8.   # cd /usr/ports/lang/egcs
      # make install
     
  9. Fetch and build GNU make 3.76.1 in /usr/local/src/make-3.76.1

  10.   # cd /usr/local/src
      # fetch ftp://prep.ai.mit.edu/pub/gnu/make/make-3.76.1.tar.gz
      # tar -zxvf make-3.76.1.tar.gz
      # cd make-3.76.1
      # ./configure
      # make
      # cd /usr/local/bin
      # [ -e gmake ] && mv gmake gmake-3.77
      # ln -s /usr/local/src/make-3.76.1/make gmake
     
  11. Fetch Mozilla

  12.   # cd /usr/local/src
      # fetch ftp://ftp.mozilla.org/pub/mozilla/releases/m10/src/\
       mozilla-source-M10.tar.gz
      # tar -zxvf mozilla-source-M10.tar.gz
     
  13. Build Mozilla

  14.   # cd /usr/local/src/mozilla
      # CC=gcc295; export CC
      # CCC=g++295; export CCC
      # ./configure
      # gmake
     
  15. Test the build

  16.   # MOZILLA_FIVE_HOME=/usr/local/src/mozilla/dist/bin
      # LD_LIBRARY_PATH=/usr/local/src/mozilla/dist/bin  # /usr/local/src/mozilla/dist/bin/apprunner
     
  17. Play with Mozilla
  18. Clean up when you're finished

  19.   # cd /usr/local/bin
      # rm gmake
      # [ -e gmake-3.77 ] && mv gmake-3.77 gmake
      # rm glib-config
      # cd /usr/X11R6/bin
      # rm gtk-config

    Chris Wicklein, chrisw@wicklein.org

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.