If you're not familiar with Mozilla build process, the following is for you.

If you are familiar with it, read it and you'll know what to change to match your own settings.

  1. First read the instructions in this document
  2. get mozilla/client.mk
    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk

    the password for the anonymous account is anonymous.

  3. If you're using Windows, save this file in the mozilla directory the previous command just created and edit it.
    If you are using Linux, save this file in the mozilla directory the previous command just created and edit it.
    In both cases the name of the file is .mozconfig (dot mozconfig).
    Then carefully read the Mozilla build instructions for Windows or the detailed  Mozilla build instructions for Linux and do
    make -f client.mk pull_all
  4. get the Nvu specific code:
    1. delete the composer directory from the mozilla directory
    2. save this file and uncompress it into the mozilla directory created above
      tar xfz nvu-0.17-source.tar.gz
    3. save this patch file, uncompress it and apply it from the mozilla directory created above
      gunzip trunk-0.17.patch.gz
      patch -p 0 < trunk-0.17.patch
  5. build the code
    make -f client.mk build_all
  6. after the build, there is in the mozilla/dist/bin (Linux) or mozilla\dist\bin (Windows) directory a file called nvu or nvu.exe. Just run it to start Nvu BUT don't forget to take a look at this article first...