summaryrefslogtreecommitdiff
path: root/trunk/users/hoeken/stl2pov/INSTALL
blob: ba2b0862282b3bbd1f635bf977b4f312d3f47563 (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
35
36
37
38
Installation instructions for stl2pov 2.4.2, released on 2008-02-13.

Building the program
--------------------

Have a look at the Makefile. At the top of the Makefile there are some
options that can be customized. Usually it is fine to leave them as they are.

If you want to use different compiler and linker options, modify the CFLAGS
and LFLAGS respectively. If you want to use another compiler instead of
gcc, you will probably have to change them, along with the CC variable that
specifies the compiler. If you don't know what this means, leave CC,
CFLAGS and LFLAGS as they are.

The variables whose name ends in DIR specify where different parts of the
program are installed.

It is usually not necessary to edit the makefile below the line 
"##### Maintainer stuff goes here:"

To build the program, simply issue the "make" command. This should work
without producing errors.

If it fails because the compiler can't find a header file, first check if
you have it installed, and then add an "-I" flag describing the location of
the header file to CFLAGS. If it can't find a library, add the appropriate
"-L" option to LFLAGS. See the compiler manual for further information.


Installing the program
----------------------

If building the program succeeded, you should issue the "su" command to
become root, and then give the "make install" command from the source
directory to install the program.

To remove the program, use "make uninstall" from the source directory as
root.