Mercurial > hg > sv-dependency-builds
comparison src/serd-0.18.2/INSTALL @ 0:c7265573341e
Import initial set of sources
author | Chris Cannam |
---|---|
date | Mon, 18 Mar 2013 14:12:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c7265573341e |
---|---|
1 Installation Instructions | |
2 ========================= | |
3 | |
4 Basic Installation | |
5 ------------------ | |
6 | |
7 Building this software requires only Python. To install with default options: | |
8 | |
9 ./waf configure | |
10 ./waf | |
11 ./waf install | |
12 | |
13 You may need to become root for the install stage, for example: | |
14 | |
15 sudo ./waf install | |
16 | |
17 Configuration Options | |
18 --------------------- | |
19 | |
20 All supported options can be viewed using the command: | |
21 | |
22 ./waf --help | |
23 | |
24 Most options only need to be passed during the configure stage, for example: | |
25 | |
26 ./waf configure --prefix=/usr | |
27 ./waf | |
28 ./waf install | |
29 | |
30 Compiler Configuration | |
31 ---------------------- | |
32 | |
33 Several standard environment variables can be used to control how compilers are | |
34 invoked: | |
35 | |
36 * CC: Path to C compiler | |
37 * CFLAGS: C compiler options | |
38 * CXX: Path to C++ compiler | |
39 * CXXFLAGS: C++ compiler options | |
40 * CPPFLAGS: C preprocessor options | |
41 * LINKFLAGS: Linker options | |
42 | |
43 Installation Directories | |
44 ------------------------ | |
45 | |
46 The --prefix option (or the PREFIX environment variable) can be used to change | |
47 the prefix which all files are installed under. There are also several options | |
48 allowing for more fine-tuned control, see the --help output for details. | |
49 | |
50 Packaging | |
51 --------- | |
52 | |
53 Everything can be installed to a specific root directory by passing a --destdir | |
54 option to the install stage (or setting the DESTDIR environment variable), | |
55 which adds a prefix to all install paths. For example: | |
56 | |
57 ./waf configure --prefix=/usr | |
58 ./waf | |
59 ./waf install --destdir=/tmp/package |