File: INSTALL

package info (click to toggle)
atom4 4.1-9
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 836 kB
  • ctags: 1,222
  • sloc: cpp: 4,451; makefile: 46; perl: 6
file content (70 lines) | stat: -rw-r--r-- 2,485 bytes parent folder | download | duplicates (6)
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
------------------------------------------------------------------------------

                                   ATOM-4

                                     by
                                 H. S. Teoh

                                  Dec 2002

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


INSTALLATION INSTRUCTIONS


I. REQUIREMENTS

Software Requirements:
	POSIX-compliant system (currently tested under Linux 2.4)
	Ncurses (other curses-based libraries may work, but they have not
		been tested)
	X11R6 (currently tested under XFree86)

Build Requirements:
	Cons 2.2.0 or greater
	Perl 5.005 or greater (basically, requirement of Cons)
	GCC 2.95 or greater (currently tested with GCC 3.2. Other C++
		compilers may work, but they have not been tested)
	X11R6 development libraries (including libXpm)
	prog/lib libraries (should be included in the same archive you got
		Atom-4 from)


II. BUILDING AND INSTALLATION

You will probably need to build the prog/lib library first. To do that,
simply cd to the root directory of the prob/lib source tree and type
	cons .

To build Atom-4, simply type
	cons .

from the root directory of this source tree, and Cons should take care of the
rest. The resulting binary will expect to find its data files in the data/
subdirectory in the source tree, however; for installation purposes you may
need to configure the build process as necessary.

The Construct script can be configured using the following arguments:

BINDIR=$dir		Where to install Atom-4 binaries
COMPILER=$binary	Compiler to use (default: g++)
DATADIR=$dir		Where data files should be installed
MANDIR=$dir		Directory to store manpages
REALDATADIR=$dir	Where Atom-4 should look for data files (default
			is $DATADIR; this option is mainly for packaging
			builds where the build-time dir is different from
			the run-time dir)
PROGLIBPATH=$dir	Path to prog/lib libraries (default: #../lib)
X11LIBPATH=$dir		Where to find X11 libraries (default: /usr/X11R6/lib)
DEBUG=1			Build with debugging symbols

These arguments are passed to Cons during the build. For example, to build
and install the Atom-4 binary into /usr/games, and the data files into
/usr/share/games/atom4, you would run:
	cons . BINDIR=/usr/games DATADIR=/usr/share/games/atom4

Currently, the Construct script does not auto-detect X11 libraries and such;
you will have to specify this explicitly using X11LIBPATH=... if your X11
libraries are not in /usr/X11R6/lib.