heading-features

 

Building from Source


Nvu 0.41

If you want to build Nvu from the source, please following these directions.

  1. First read the instructions in this document.
  2. Get mozilla/client.mk

    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_7_1_RELEASE mozilla/client.mk

  3. the password for the anonymous account is anonymous.

  4. 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

  5. Delete the directory composer (and all its contents) located in the mozilla directory created above.
  6. Get the Nvu specific code:

    1. Save this file and uncompress it into the mozilla directory created above.

      tar xfz nvu-0.41-source.tar.gz

    2. Save this patch file, uncompress it and apply it from the mozilla directory created above.

      gunzip trunk-0.41.patch.gz

      patch -p 0 < trunk-0.41.patch

  7. Build the code.

    make -f client.mk build_all

  8. 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.  Don't forget to look at the Tips and Hints section at the bottom of this page.

Nvu 0.30

If you want to build Nvu from the source, please following these directions.

  1. First read the instructions in this document.
  2. Get mozilla/client.mk

    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_7_RC3 mozilla/client.mk

  3. the password for the anonymous account is anonymous.

  4. 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

  5. Delete the directory composer (and all its contents) located in the mozilla directory created above.
  6. Get the Nvu specific code:

    1. Save this file and uncompress it into the mozilla directory created above.

      tar xfz nvu-0.30-source.tar.gz

    2. Save this patch file, uncompress it and apply it from the mozilla directory created above.

      gunzip trunk-0.30.patch.gz

      patch -p 0 < trunk-0.30.patch

  7. Build the code.

    make -f client.mk build_all

  8. 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.  Don't forget to look at the Tips and Hints section at the bottom of this page.

Nvu 0.20

If you want to build Nvu from the source, please following these directions.

  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

  3. the password for the anonymous account is anonymous.

  4. 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

  5. Delete the directory composer (and all its contents) located in the mozilla directory created above.
  6. Get the Nvu specific code:

    1. Save this file and uncompress it into the mozilla directory created above.

      tar xfz nvu-0.20-source.tar.gz

    2. Save this patch file, uncompress it and apply it from the mozilla directory created above.

      gunzip trunk-0.20.patch.gz

      patch -p 0 < trunk-0.20.patch

  7. Build the code.

    make -f client.mk build_all

  8. 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.  Don't forget to look at the Tips and Hints section just below.


TIPS AND HINTS FOR LINUX USERS:

  • To view an external URL (to browse an edited file or select one Help menu entry) with Mozilla Application Suite, install this executable script in your system, for instance in the directory where mozilla lives. Edit the MOZILLA_FIVE_HOME environment variable in that script to meet your system settings. Add the following lines to your prefs.js:
    user_pref("network.protocol-handler.app.http", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.https", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.ftp", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.file", "/path/to/the_shell_script");
    For Mozilla Firebird, adjust that variable too and change the last line of the script to
    exec $MOZILLA_FIVE_HOME/MozillaFirebird $url
  • If you can't launch Mozilla after Nvu, it's because your Mozilla version is too old. You need a build made after 22-nov-2003. Just get a 1.7b from Mozilla.org if you don't want to try a nightly.

 

 

Sign up for our mailing list today!

Copyright. © 2003-2004 Lindows, Inc.  All rights reserved.  
Lindows, Inc. and Nvu.com are not affiliated with the Microsoft Corporation.
Microsoft is a registered trademark of the Microsoft Corporation.

Contact Us .. Privacy Policy