aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
blob: d3c7c2a96726a68cf4c639f46f485b059973cbf0 (plain)
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
Requirements:

- OS: Unix/POSIX-ish system. Linux, for example.
- Compiler: Recent(ish) gcc or clang (others may work: tcc seems to,
  pcc seems not to).
- X11 and Xpm libraries and headers.
- GNU Make, any recent version. Probably even ancient versions.
- A Bourne-like shell (for make to use).
- gzip, install, mkdir commands.

Only needed if you're going to rebuild the man page (after
modifying the RST):

- rst2man, possibly in your 'python-docutils' distro package.

A full install of Slackware should have all you need. On Debian
or Ubuntu, try "apt-get install build-essentials".

To build, just run "make", optionally followed by "make install".

Packagers: the Makefile supports the full panoply of tweakable
parameters, such as CC, COPT (replaces CFLAGS), LDFLAGS, DESTDIR,
PREFIX, etc. Have a look at the top of the Makefile for the full
list. The defaults should be reasonable, except you probably want
some optimization in COPT. If you package this for your distro, send
me an email (urchlay@slackware.uk), let me know if you ran into any
problems. A hint: don't bother to include this INSTALL file in your
binary package (users won't find it useful).