summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: f5825c7ededf43efe871fe4f074e6419187d0604 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
QUICKSTART

kio-locate uses scons for configuring and building. In general
it should suffice to execute (if you have scons installed):

$ scons configure
$ scons
$ sudo scons install

If you don't have scons installed, you can use the stripped
down version shipping with kio-locate. This can be found in the
file scons-mini.tar.bz2 and has to be unpacked.

$ tar xjf scons-mini.tar.bz2
$ python scons.py configure
$ python scons.py
$ sudo python scons.py install

As you can see the command "python scons.py" replaces executing
"scons" if you don't have that installed. In the following you
have to bear this in mind.


SPECIAL CONFIGURING

On some systems, it might be necessary to configure the project
using scons configure qtincludes=path1 kdeincludes=path2
like this:
$ scons configure qtincludes=/usr/include/qt3/include \
> kdeincludes=/usr/lib/trinity/include
When in doubt, use scons --help or scons -h to display the options.

As when using ./configure you can specify using prefix=... where to
install the package.
$ scons configure prefix=/usr

To enable debug mode you can use:
$ scons configure debug=1

To clean the project:
$ scons -c

And to uninstall kio-locate:
$ scons -c install


NOTE THIS

This is just a very overview about what you can do.

If you encounter problems, please post them (or better their solutions)
to me, so that I can include them into this guide.

Armin Straub
linux@arminstraub.de