Home | News | Reports | Articles | Softwares | Websites | Books | Archives  | Sitemap
Linux Daily

LinuxDaily.net
NxZilla - Mozilla on NanoX

Introduction

NXZILLA (formerly nanozilla) is a set of libraries that allow Mozilla to be used with a NanoX server. The NxZilla project has been adopted by the maintainers; It was originaly a developed while we were employed by TUXIA GmbH.

Download

You will need the Widget and Gfx source code as well as this patch against the mozilla build system.
You will need the Nano-X source. The version of Nano-X supported by this release is microwindows-0.89pre8
You also need the mozilla source. The version of mozilla supported by this release is mozilla-1.0rc2 Building

Complete steps to build NxZilla

  1. Untar microwindows to a directory
  2. cd to the microwindows source directory
  3. Edit the 'config' file to your target systems configuration. Make sure you specify SHAREDLIBS = Y.
  4. Build Nano-X
  5. Untar the mozilla source to a directory
  6. Untar the nxzilla source into the directory where you untarred mozilla
  7. cd to the directory where the mozilla directory is
  8. Apply the patch to the mozilla build system
  9. cd into the mozilla directory
  10. Run autoconf to create a new configure script
  11. run ./configure --enable-toolkit-nanox --with-nanox-includes= --with-nanox-libraries=
  12. Run make

Many people have had problems with these instructions. Therefore, here is an example set of specific instructions. It is assumed that all files downloaded have been placed in your home directory. The steps described here follow 1:1 with the steps described above.

  1. gzip -dc ~/microwindows-0.89pre8.tar.gz -C /tmp
  2. cd /tmp/microwin/src
  3. vi config
  4. make
  5. bzip2 -dc ~/mozilla-source-1.0rc2.tar.bz2 | tar -xvf - -C /tmp
  6. gzip -dc ~/nxzilla.tar.gz | tar -xvf - -C /tmp
  7. cd /tmp
  8. gzip -dc ~/nxzilla.diff.gz | patch -p0
  9. cd /tmp/mozilla
  10. autoconf
  11. ./configure --enable-toolkit-nanox --with-nanox-includes=/tmp/microwin/src/include --with-nanox-libraries=/tmp/microwin/src/lib
  12. make

What to do next
More people have had trouble actually running NxZilla, so here are instructions on how to do that also. It is assumed the working directory is mozilla/dist/bin.

  • GTK components must be removed in order to use NxZilla, as GTK is the default widget set used. This can be accomplished by running rm components/*gtk*
  • For NxZilla to find the Nano-X libraries, you must add it to your library path. Do this by typing:
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/microwin/src/lib
  • After these 2 requirements are met, you should be able to start the Nano-X server and run ./mozilla

Homepage: http://nxzilla.sourceforge.net/