Browse code

Added more detailed description to libraries (how to compile, install and use with ser).

Vaclav Kubart authored on 27/10/2005 12:53:35
Showing 1 changed files
... ...
@@ -16,3 +16,38 @@ xcap - Common XCAP operations and structures (XCAP authorization documents
16 16
 
17 17
 Used by modules: pa, rls, dialog, rpa
18 18
 
19
+Usage:
20
+-----
21
+
22
+All libraries can be compiled "with ser" or "without ser". Compilation
23
+without ser may be useful for debugging purposes or for example for 
24
+searching for memory leaks with some tool like valgrind.
25
+
26
+Compilation with ser:
27
+--------------------
28
+
29
+Compilation and installation of these libraries is NOT DONE by running
30
+main ser makefile now - it MUST be done MANUALLY. For this purpose
31
+is there Makefile.ser. To compile and install libraries simply run
32
+
33
+   make -f Makefile.ser install
34
+
35
+in lib directory. You can select destination directory like in the case
36
+of ser, for example:
37
+
38
+   make -f Makefile.ser install prefix="/my/ser/directory"
39
+   
40
+AFTER COMPILATION of libraries you can COMPILE MODULES using this 
41
+libraries like PA, RLS or dialog.
42
+
43
+
44
+Running with ser (Linux):
45
+----------------
46
+
47
+The path to installed libraries must be known to linker on startup. This
48
+can be done by setting variable LD_LIBRARY_PATH before running ser. For
49
+example, if libraries were installed to default directory (/usr/local),
50
+you should set LD_LIBRARY_PATH=/usr/local/lib/ser. In the case of 
51
+nonstandard installation, you can use something like 
52
+LD_LIBRARY_PATH=/my/ser/directory/lib/ser.
53
+