File: INSTALL

package info (click to toggle)
the 3.1-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 4,500 kB
  • ctags: 5,421
  • sloc: ansic: 66,327; sh: 2,745; makefile: 526
file content (60 lines) | stat: -rw-r--r-- 2,517 bytes parent folder | download | duplicates (2)
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
                     The Hessling Editor

               Installation Notes for Un*x Port
               --------------------------------

Please read ALL of these notes before building THE!

To install THE, you first need to configure it.  This is done by
executing the configure script provided in this archive.  Because
THE can be configured to run with different Curses libraries and
with different Rexx interpreters, there are quite a few options
available when configuring.  To see these options, run:

configure --help

If you are interested in building different versions of THE on the
one platform; like the X11 version and a text mode version, then you can
do something like this.

To build a text-mode version of THE with "standard" curses and Regina:

mkdir curses
cd curses
../configure --with-rexx=regina
make the

To build the X11 version of THE with PDCurses (aka XCurses) and REXX/imc:

**** THE requires the file; xcurses.h.  This file is actually the curses.h
**** that is distributed with PDCurses.  Either make a copy of this file
**** called xcurses.h or make a symbolic link to it.

mkdir xcurses
cd xcurses
../configure --with-xcurses --with-cursesincdir=somewhere --with-curseslibdir=somewhere --with-rexx=rexximc
make the

The configure script looks in some common places for all the libraries (both
curses and Rexx).  These are defined in the configure script. Some of the
common directories are $HOME/include, /usr/local/include for header files
and $HOME/lib and /usr/local/lib for libraries.  There are several others;
see 'configure' for the full list.
If you build THE with the same Rexx interpreter, you can set REXXINCDIR and 
REXXLIBDIR environment variables to the include and lib directories
respectively.
These switches --with-rexxincdir and --with-rexxlibdir override the values
set in REXXINCDIR and REXXLIBDIR.
If you build THE with the same curses library, you can set CURSESINCDIR and
CURSESLIBDIR environment variables to the include and lib directories
respectively.
These switches --with-cursesincdir and --with-curseslibdir override the values
set in CURSESINCDIR and CURSESLIBDIR.

Once you have THE compiled, it can then be installed.  By default, the
THE executable will be installed into /usr/bin, while the supplied
macros will be installed into /usr/share/THE.  The base path "/usr"
can be changed by adding the --prefix=path (where path is the base path)
to the configure command.
eg. to install THE into /opt/bin and /opt/share/THE, configure --prefix=/opt ...