summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 63bb8f2fc759ad9a28ad907ab6ac833471af64b8 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
sctest REQUIREMENTS
------------------------

tde is needed to run sctest

To compile sctest, the tde development packages
are needed: tdelibs-devel, tdebase-devel and python

scons is also needed http://www.scons.org
(this tool also used by Blender, ..)
Make sure scons is at least v0.96.1, otherwise
the compilation will fail. In case if you do not have
it, a minimum distribution is provided (see SCONS below)

-> One should only have to run :
$ scons
# scons install
(do "scons install" as root - the menus may not
show up if you skip this step)


SCONS
-----

-> If scons is missing, use the one bundled with PROGRAMNAME :
./unpack_local_scons.sh
python scons.py
python scons.py install
(run the last command as root)


-> For your convenience, a quick makefile is created :
./unpack_local_scons.sh
make
make install


USEFUL SCONS COMMANDS
---------------------

build the targets   : scons
install them        : scons install
clean the project   : scons -c
uninstall           : scons -c install
build in parallel   : scons -j2

CONFIGURATION NOTES
-------------------

The installation scripts are relying on the tde-config program.
The programs tde-config, qmake, uic and moc must be accesssible
through your PATH.

Qt and tde may not be installed as expected (in TQTDIR and TDEDIR)
So until tde-config is able to give that information, you may
have to give those paths.

Here are some examples :
On Fedora/Redhat
   scons configure kdeincludes=/usr/include/tde/
On Debian
   scons configure qtincludes=/usr/include/qt/ kdeinclude=/usr/include/tde/
To install in some particular location with additional include paths
   scons configure prefix=~/tmp extraincludes=/tmp/include:/usr/local/include

For more options to tune the build look at the .py files available on 
the top-level directory :
generic.py, kde.py, ...

The build system is based on bksys, a build system that replaces
autoconf, automake and make in a row. Feel free to report your opinion
about it to the authors.

BUILDING RPMS OR DEBS WITH CHECKINSTALL
---------------------------------------

With checkinstall 1.6, use
$ scons
# checkinstall --fstrans=no --nodoc scons install
# scons uninstall

---------------------------------------
enjoy KStreamRipper
Michael Goettsche