-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
31 lines (24 loc) · 1.19 KB
/
INSTALL
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
*** csl installation ***
To compile the csl library and all command line tools, you need the build
program 'cmake', which is part of virtually any linux distribution.
Unpack the source tarball and change into its root directory. Then type:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
make
This should build the library in ./lib and all executables in ./bin .
If cmake gives you trouble concerning the jni include directories, it might help
to specify a correct JAVA_HOME environment variable:
$ JAVA_HOME=/path/to/java/sdk cmake #[...], see above
Example: $ JAVA_HOME=/usr/lib/jvm/java7-openjdk cmake -DCMAKE_BUILD_TYPE=relase ..
You can also try 'make install', but I don't guarantee I haven't forgotten
to specify one or the other binary to be installed. It does install the
library to CMAKE_INSTALL_PREFIX/lib and the more important programs to
CMAKE_INSTALL_PREFIX/bin . CMAKE_INSTALL_PREFIX defaults to "/usr/local/", but
you can use 'ccmake' to change the prefix.
Just do
cmake ..
ccmake . # only if you want to change paths. Just follow the help given in the program.
make
make install # not very well tested
Please report bugs, problems etc. to uli _at_ cis _dot_ uni-muenchen _dot_ de .