source: trunk/indexers/mg/INSTALL.mg@ 3745

Last change on this file since 3745 was 3745, checked in by mdewsnip, 21 years ago

Addition of MG package for search and retrieval

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1 BUILDING AND INSTALLATION OF MG
2 ===============================
3
4This file explains how to build the mg system.
5
6(1) Follow the general GNU install instructions in the INSTALL file.
7 NOTE: this procedure has changed from version mg-1.1 which did
8 not use a GNU configure script.
9 e.g.
10 cd ~/mg-1.2
11 ./configure --prefix=`pwd`
12 make
13 make check
14 make install
15 Report portability problems to [email protected] .
16
17(2) You will need to set the environment variable MGDATA which
18 indicates where the mg data files will be created. You will also
19 need to create the directory you specify.
20
21 e.g.
22 setenv MGDATA ~/mgdata
23 mkdir ~/mgdata
24
25(4) You may also need to set the environment variable MGSAMPLE which
26 is used by mg_get and indicates where the sample data included
27 with this package is located.
28 If this is not specified it defaults to ``./SampleData''
29
30(4) Included with mg is an X11 interface to mgquery called xmg.
31 Xmg is a ``wish'' script which uses the Tcl/Tk packages available
32 by anonymous ftp from allspice.berkeley.edu [128.32.150.27].
33
34(5) Another environment variable that you may wish to set is
35 MGIMAGEVIEWER, this variable sets the image viewer to be used
36 to display images. The image viewer must take the image from stdin.
37 If this is not specified it defaults to ``xv -''.
38
Note: See TracBrowser for help on using the repository browser.