aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
blob: 916992498af04f9be43b75ef807dde7c43d53dc5 (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
29
30
31
32
33
34
Prerequisites

    - GNU make >= 3.81    http://www.gnu.org/software/make/
    - GNU bash >= 2.05a   http://www.gnu.org/software/bash/


Installing the build system

  To install the build system you can say

  $ make install

  in the root directory of the source distribution. If you want to
  install it to a different location (default is /usr/local) you
  can say

  $ make install_prefix=/usr install

  Note that you need to install the build runtime into a place where
  `make' will look by default (normally /usr/include and /usr/local/include).
  Alternatively, you can install it into some other place (e.g., your home
  directory) and set MAKEFLAGS accordingly:

  $ make install install_prefix=/home/boris/local
  $ export MAKEFLAGS="-I /home/boris/local/include"


Building examples

  There is a makefile accompanying each example. Saying 'make'
  usually does the trick. Note that saying 'make install' in
  example directory will install what the example has built as
  opposed to installing the example itself.