===========================================================
安装Nvu 1.0
===========================================================
作者: looric(http://looric.itpub.net)
发表于: 2006.07.28 10:57
分类: Linux
出处: http://looric.itpub.net/post/5065/164763
---------------------------------------------------------------
发表于: 2006.07.28 10:57
分类: Linux
出处: http://looric.itpub.net/post/5065/164763
---------------------------------------------------------------
安装Nvu 1.0
Nvu 1.0
If you want to build Nvu from the source, please following these directions.
- First read and follow the build instructions for your platform. If you want to build on Windows, make sure to download bzip2 with Cygwin.
- Get the sources and save them on your disk
- Uncompress-untar
the sources
tar xfj nvu-1.0-sources.tar.bz2
This creates a directory called mozilla
- Go into the directory mozilla/composer/config , grab your preferred mozconfig.* file and copy it to mozilla/.mozconfig (dot mozconfig in the top mozilla directory). Edit that file according to your wishes and system configuration. Warning: the mozilla/composer/config also contains a compressed patch against the Firefox 1.0 source tree: you don't have to apply that patch to the source tarball linked above, it's already in.
- Build the
code.
make -f client.mk build_all - After the build, there is in the mozilla/dist/bin (Linux) or mozilladistbin (Windows) directory a file called nvu or nvu.exe. Just run it to start Nvu. On Mac, just double-click on mozilla/dist/Nvu.app. Don't forget to look at the Tips and Hints section at the bottom of this page.
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");For Mozilla Firefox, adjust that variable too and change the last line of the script to
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");exec $MOZILLA_FIVE_HOME/MozillaFirefox $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.
- After testing nvu in the mozilla/dist/bin you can install
to the
nvu binary directory unsing
nsinstall.
for example :
./nsinstall * /home/nvu-0.90
if you want to run nvu from /home/nvu-0.90











