 |
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
- Untar microwindows to a directory
- cd to the microwindows source directory
- Edit the 'config' file to your target systems configuration. Make sure you specify SHAREDLIBS = Y.
- Build Nano-X
- Untar the mozilla source to a directory
- Untar the nxzilla source into the directory where you untarred mozilla
- cd to the directory where the mozilla directory is
- Apply the patch to the mozilla build system
- cd into the mozilla directory
- Run autoconf to create a new configure script
- run
./configure --enable-toolkit-nanox --with-nanox-includes= --with-nanox-libraries=
- 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.
gzip -dc ~/microwindows-0.89pre8.tar.gz -C /tmp
cd /tmp/microwin/src
vi config
make
bzip2 -dc ~/mozilla-source-1.0rc2.tar.bz2 | tar -xvf - -C /tmp
gzip -dc ~/nxzilla.tar.gz | tar -xvf - -C /tmp
cd /tmp
gzip -dc ~/nxzilla.diff.gz | patch -p0
cd /tmp/mozilla
autoconf
./configure --enable-toolkit-nanox --with-nanox-includes=/tmp/microwin/src/include --with-nanox-libraries=/tmp/microwin/src/lib
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/