2
--------------------------------------------------------------
3
There is an alternative build method since the TOra's Qt4 port.
4
You can use cmake for it (cmake.org).
6
Standard usage is very similar to configure/make/make install:
7
cmake [options] build_dir
9
where "build_dir" can be e.g.: . for TOra source root directory
10
or manually created directory to keep build files out of SVN copy.
14
Cmake installs TOra into /usr/local as default. You can change it
16
-DCMAKE_INSTALL_PREFIX:PATH=/home/username/toradevelopment
17
If you want to set special paths for help files or whatever see
18
"Paths for installation" below.
20
Note for Windows: if you don't specify install prefix, you can get
21
compile-time errorrs in some cases. It looks like some MSVC
22
environments don't like spaces in its default paths
23
(C:\Program oieeek, error here).
26
Enable compilation with debugging symbols:
30
TOra requires QScintilla2. QScintilla2 is the new Qt4 pord of old
31
Qt3 release with new API. It's strongly recomended to use standalone
32
package of QScintilla2. Unfortunatelly it's sometimes missing in
33
older distros. You can use TOra internal copy of QScintilla2 with:
34
-DWANT_INTERNAL_QSCINTILLA=1
37
TOra can be built against various Oracle clients. Some clients
38
(e.g. instant-client) do not provide ORACLE_HOME settings. Cmake will
39
warn you in this case so you can specify required paths manually:
40
-DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
41
-DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
44
You have to specify -DORACLE_OCI_VERSION for one of values:
45
[8, 8I, 9I, 10G, 10G_R2]. Example:
46
-DORACLE_OCI_VERSION=10G_R2
49
TOra requires PostgreSQL development environment to enable
50
full PgSQL support (native cancel etc.).
51
This environment shoud be found automatically on UNIXes. But you can
52
specify path for alternative location and/or for Windows too.
53
-DPOSTGRESQL_PATH_INCLUDES=/home/devel/pgsql/include
54
-DPOSTGRESQL_PATH_INCLUDES=d:\pgsql\include
55
-DPOSTGRESQL_PATH_LIB=/home/devel/pgsql/lib
56
Windows note: Sometimes (dunno why) it doesn't find pgsql libs.
57
You can use "set LIB=%LIB%;pathtopgsqllibs" then.
61
Search following for more info:
63
http://docs.scribus.net/index.php?lang=en&page=install4
66
Paths for installation
67
The base install prefix is set with -DCMAKE_INSTALL_PREFIX (see above).
68
You can specify installation of additional files with some variables.
69
Changing these variables will affects TOra compilation too.
71
-DTORA_PLUGIN_DIR=path
72
It sets the path for functionality addons (binary plugins (if it's
73
used) or template description files etc.)
74
The default value is CMAKE_INSTALL_PREFIX/share/tora
76
It sets the path for basic system-wide documentation fles (README,
77
AUTHORS, LICENSE etc.). It is not read by anybody propably but it's
78
pretty standard for Linux packages ;)
79
The default value is CMAKE_INSTALL_PREFIX/share/doc/tora
81
It sets the location of help files (manual and API docs).
82
The default value is TORA_PLUGIN_DIR/help