File: INSTALL

package info (click to toggle)
global 4.8.6-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,356 kB
  • ctags: 4,245
  • sloc: ansic: 26,150; lex: 1,471; perl: 1,233; sh: 1,032; lisp: 410; makefile: 158; yacc: 123
file content (125 lines) | stat: -rw-r--r-- 3,230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
___________________________________
|      |  |  |     |  _  |     |  |
|  |___|  |  |  |  |    _|  |  |  |    GNU GLOBAL source code tag system
|  |   |  |  |  |  |     |     |  |
|  ~~  |   ~~|     |  ~  |  |  |   ~~|          for all hackers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Copyright (c) 2000, 2002, 2003, 2004 Tama Communications Corporation

 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

		----------------------------------

Installation of GNU GLOBAL.

[Note]  Though GNU GLOBAL supports only UNIX(POSIX) environment,
        some outsite projects develop DOS or Windows 32 version of it.
        Please see:
                http://www.gnu.org/software/global/download.html

1. Preparation.

o If you want to format man files then nroff is needed.

   Additionally, if you set up man(1) on your system then you can use man
   command to read GLOBAL's online manuals.

o If you want to use the -I option of global(1) then id-utils(1) is needed.

   You can get id-utils at:

	ftp://ftp.gnu.org/pub/gnu/id-utils/
  
o If you want to use --form(-f) or --dynamic option of htags(1) then
  PERL version 4 or later is needed.

   If you don't have it, you can fetch it from this site.

	http://www.perl.com/CPAN/

2. How to install.

	$ ./configure
	$ make
	# make install

3. Using GLOBAL with editors.

o Nvi-1.79

   Please get nvi-1.79 at:

	   http://www.bostic.com/vi/

   and do the followings.

	$ tar xzvf nvi-1.79.tar.gz
	$ cd nvi-1.79
	$ patch -p < nvi-1.79-gtags.diff
	$ cd build
	$ ./configure
	$ make
	# make install

   ('nvi-1.79-gtags.diff' is included in GLOBAL package.)

o Nvi-1.81.5

   Please get nvi-1.81.5 at:


	   http://www.kotnet.org/~skimo/nvi/

   build it with '--enable-perlinterp' option and do the followings.
   ($HOME/perl is an example. Please replace it with any directory you like.)

	$ mkdir $HOME/perl
	$ cp gtags.pl $HOME/perl
	$ vi $HOME/.nexrc
	+-----------------------------------------
	|perl use lib qw($ENV{HOME}/perl)
	|perl require 'gtags.pl'
	|map ^P :tagprev^M
	|map ^N :tagnext^M
	|map ^] :perl tag^M
	|ab gtag perl tag qw(
	|ab gta perl tag qw(
	|ab gt perl tag qw(

   ('gtags.pl' is included in GLOBAL package.)

o Emacs

   Global supports GNU Emacs and XEmacs. If you meet some troubles,
   please mail to bug-global@gnu.org.

   You can get them at:

	GNU emacs:
		ftp://ftp.gnu.org/pub/gnu/emacs/
	XEmacs:
		http://www.xemacs.org

   If one of above systems is already install, gtags.el is installed by
   default installation of GLOBAL. If it doesn't work then you can place
   gtags.el in a directory (for example "~/lisp") and write $HOME/.emacs
   like this.

	+-----------------------------------------------
	|(setq load-path (cons "~/lisp" load-path))

o Elvis

   You need Elvis 2.1 or later. You can get it at:

	http://www.fh-wedel.de/elvis/

   You need not any patch for it.

Good luck!