1
2How to install Ump
3------------------
4
5  The quick way to install Ump is to run
6
7    make
8    make install  (as root)
9
10  If that doesn't work or if you don't like the way it
11  compiles/installs Ump, you should edit Makefile.
12
13  To change where Ump is installed you change  BIN_DIR & DATA_DIR
14  Ump will install the executable as
15    BIN_DIR/ump
16  and the data as
17    DATA_DIR/ump.conf
18    DATA_DIR/ump-files/*.ump
19
20  If you don't have glx support in your X server (or X at all)
21  you must comment out the lines about PLOT_3D and GL_LIB in
22  Makefile. Note that this does not need GTK+...
23
24  The next thing that you can change in Makefile is how
25  good precision Ump will have when calculating with floating
26  point values, USE_FLOAT has lowest precision and
27  USE_LONG_DOUBLE the highest. USE_DOUBLE is the most
28  portable, which is why it's default.
29
30  If you have GTK+2.4 you should comment out the line
31  with AUTO_COMPLETION, as this requires GTK+2.6 or above.
32
33  Next follows only some optional optimization flags, feel
34  free to change these as you like...
35
36  If your compilation failes due to undefined trunc or log2
37  functions (or both). Try again when
38  FLAGS += -DDONT_HAVE_TRUNC  (if the problem was trunc...)
39  has been uncommented.
40
41
42  Some of you might not have GTK+2.4 (or higher) or for some
43  other mysterious reason don't want to compile support for
44  GTK+, then you should run
45
46    make text
47    make install  (as root)
48
49
50  If you would like to use Ump at a computer that you don't can
51  or don't would like to become root to be able to install Ump.
52  Then you must add the folder ump-<version>/ump-files to the list
53  of autoloading path's in the Preference window, else Ump will
54  have a little less functions avaliable.
55
56// Mattias
57