aboutsummaryrefslogtreecommitdiff
path: root/contrib/global/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/global/INSTALL')
-rw-r--r--contrib/global/INSTALL143
1 files changed, 93 insertions, 50 deletions
diff --git a/contrib/global/INSTALL b/contrib/global/INSTALL
index d958971fc6a2..a047c1e73d92 100644
--- a/contrib/global/INSTALL
+++ b/contrib/global/INSTALL
@@ -1,7 +1,7 @@
Installation of GLOBAL
- 20-Jan-1998 Shigio Yamaguchi
+ 6-Dec-1998 Shigio Yamaguchi
---------------------------------------------------------------------------
Guide line (C style)
---------------------------------------------------------------------------
@@ -14,26 +14,30 @@ if (Your system == FreeBSD) {
case 2.0.5R:
case 2.1.0R:
case 2.1.5R:
- There is no problem.
- break;
case 2.1.6R:
case 2.1.7R:
- I don't know. But it seems same with 2.1.5R.
- break;
case 2.2.1R:
- It is OK. But your native nvi is version 1.71.
- Use 1.79 nvi available on the Internet.
+ There is no problem.
break;
case 2.2.2R:
case 2.2.5R:
- Your system inlucdes GLOBAL 1.9. You can overwrite it
- with this 2.2 package.
- But skip procedure "3. Extended vi (OPTIONAL)", because
- your /usr/bin/nvi is already extended nvi for GLOBAL.
+ case 2.2.6R:
+ case 2.2.7R:
+ Your system includes GLOBAL 1.9 or 2.24.
+ You can overwrite it with this package.
break;
default:
I don't know. But it seems to be little problem.
}
+} else if (Your system == NetBSD 1.3.2) {
+ You are lucky!
+ You need not to do procedure "1. Preparation for generic UNIX"
+ and you can use nvi-1.66.diff for native nvi.
+} else if (Your system == Debian GNU linux 1.3.1) {
+ You are lucky!
+
+ You can skip most of "1. Preparation for generic UNIX" except for
+ "a) Generic makefile".(It's very easy.)
} else {
You may some error messages to make GLOBAL.
But it seems not so difficult to clear it. If you make a patch for it,
@@ -43,6 +47,8 @@ if (Your system == FreeBSD) {
Thank you in advance.
}
+Please see ./dbpatches/README.
+
----------------------------------------------------------------------------
Install procedure
----------------------------------------------------------------------------
@@ -56,31 +62,47 @@ Install procedure
1. Preparation for generic UNIX
- If you are a FreeBSD (all version) user, nothing to do here.
- Please go to "2. GLOBAL basic".
+ If you are a user of FreeBSD (all version) or NetBSD 1.3.2 then
+ nothing to do here. Please go to "2. GLOBAL basic".
- Otherwise, you must install following items before you install GLOBAL.
+ Otherwise, you must check following items before you install GLOBAL.
- a) Generic makefile
+ a) Generic makefile (necessary)
This package includes generic makefile. Please do the followings.
% make -f Makefile.generic gen
- % vi Makefile <- check install directories (BINDIR, MANDIR)
+ % vi Makefile <- check variables like BINDIR, MANDIR, ...
+
+ b) Some UNIX tools (necessary)
+
+ Find(1), sed(1), sort(1), uniq(1) are needed.
+ If your environment is UNIX, you have them. You can confirm it like this.
- b) BSD db library version 1.85
+ % which find
+ /usr/bin/find
+ %
+
+ c) POSIX regular expression (extension) library (necessary)
+
+ If you don't have it, you can use GNU's regex library (regex-0.12.tar.gz).
+ See following site.
+
+ http://www.gnu.org/order/ftp.html
+
+ d) BSD db library version 1.85 (necessary)
If you don't have it, you can fetch it from this site.
http://mongoose.bostic.com/db/packages/db.1.85.tar.gz
- c) PERL version 4 or later
+ e) PERL version 4 or later (needed for htags)
If you don't have it, you can fetch it from this site.
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/src/5.0/latest.tar.gz
- d) Rewrite some files
+ f) Rewrite some files (needed for htags)
If you install GLOBAL into other than /usr/bin, you need rewrite
hard coded path in a program. You can find the place by this command.
@@ -92,43 +114,33 @@ Install procedure
% grep '/usr/bin/perl' */*.pl
- e) POSIX regular expression (extension) library
+ g) Groff (needed for formatting online manuals)
+
+ Online manuals in GLOBAL are written with 'mandoc' macro which is a part
+ of GNU groff package. See following site:
- If you don't have it, you can use GNU's regex library.
+ http://www.gnu.org/order/ftp.html
- f) Some UNIX tools
+ You can format these manuals by following command line manually.
- Find(1), sed(1), sort(1) are needed.
- If your environment is UNIX, you have them.
+ % groff -Wall -Tascii -mandoc global.1
+
+ If you replace your system's nroff(1) with GNU's one(nroff.sh) then
+ you can use man(1) to see GLOBAL's online manuals.
2. GLOBAL basic (NEEDED)
% make
# make install
-3. Extended vi (OPTIONAL)
-
- GLOBAL supports two version of nvi.
- There is a little defference in behavior between them when a number of
- functions located. (please see 'README'.)
- Version 1.34 nvi is included by FreeBSD 2.0.5R, 2.1.0R and 2.1.5R.
- Version 1.79 nvi is available on
+3. Extended nvi (OPTIONAL)
- ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz.
+ If you use FreeBSD 2.2.2R or later, your nvi is already extended nvi.
+ Otherwise, please get nvi-1.79 at:
- If you don't have nvi-1.34, use nvi-1.79.
+ ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz
- If you use version 1.34 nvi which is a native command in FreeBSD 2.0.5R,
- 2.1.0R or 2.1.5R then
-
- % cp -r /usr/src/usr.bin/vi vi <- version 1.34 of nex/nvi
- % cd vi
- % patch -p < ../nvi-1.34.diff
- % make
- # make install
-
- else if you use version 1.79 nvi which is the latest version then
- fetch from ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz and
+ and do the followings.
% tar xzvf nvi-1.79.tar.gz
% cd nvi-1.79
@@ -138,10 +150,7 @@ Install procedure
% make
# make install
- Caution: If you use FreeBSD 2.2.2R or later, your nvi is already
- extended vi. Don't patch with nvi-1.79.diff.
-
- else we have no patch for it.
+ The patch for nvi-1.66 is also available for NetBSD 1.3.2 users.
4. Extended emacs (OPTIONAL)
@@ -149,7 +158,7 @@ Install procedure
Mule 2.3 (= Emacs 19.28). Other emacs version seems to work well,
but I don't confirm it.
- You can get it from
+ You can get it at:
Emacs 19.34b:
ftp://prep.ai.mit.edu/pub/gnu/emacs-19.34b.tar.gz
@@ -165,7 +174,16 @@ Install procedure
+-----------------------------------------------
|(setq load-path (cons "~/lisp" load-path))
-5. Gozilla (OPTIONAL)
+5. Elvis (OPTIONAL)
+
+ You need Elvis 2.1. You can get it at:
+
+ ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.1.tar.gz
+
+ You need not any patch for it.
+
+
+6. Gozilla (OPTIONAL)
You need X(1) to install gozilla.
@@ -175,4 +193,29 @@ Install procedure
# make install
# make install.man
+7. other parser (OPTIONAL)
+
+ If you want to use other tag command like etags (tag command for emacs)
+ as a parser, you need to write global.conf (or $HOME/.globalrc).
+
+ Sample gtags.conf has etags's entry. Try this.
+
+
+ a) Install parser.
+
+ % cd <emacs's source directory>/lib-src
+ % make ctags
+ ...
+ # cp ctags /usr/local/bin/ctags-emacs
+
+ b) Select ctags-emacs for GLOBAL system.
+
+ % setenv GTAGSLABEL ctags-emacs
+
+ or
+
+ +------------------------------------------------
+ |default:\ <== gtags use 'default' entry by default.
+ | :include=ctags-emacs:include=htags:
+
Good luck!