夫子哂之 行成于思毁于随
===========================================================
安装Nvu 1.0
===========================================================

安装Nvu 1.0

Nvu 1.0

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

  1. First read and follow the build instructions for your platform. If you want to build on Windows, make sure to download bzip2 with Cygwin.

  1. Get the sources and save them on your disk
  2. Uncompress-untar the sources
    tar xfj nvu-1.0-sources.tar.bz2

    This creates a directory called mozilla

  3. 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.
  4. Build the code.

    make -f client.mk build_all
  5. 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");
    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 Firefox, adjust that variable too and change the last line of the script to
    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
http://www.nvu.com/Building_From_Source.php#tipsandhints
looric 发表于:2006.07.28 10:57 ::分类: ( Linux ) ::阅读:(326次) :: 评论 (0)

发表评论
标题

在此添加评论
表情符号: smile laughing tongue angry crying sad wassat wink

称呼

邮箱地址(可选)

个人主页(可选)




切换风格
新闻聚合
博客日历
文章归档...
最新发表...
博客统计...
Blog信息
网站链接...