| |
1 Requirements |
| |
2 ------------ |
| |
3 |
| |
4 In order to compile this software you need, in addition to a C compiler, the |
| |
5 following libraries: |
| |
6 |
| |
7 libcurl |
| |
8 libxml2 |
| |
9 openssl |
| |
10 |
| |
11 You can install them with the following command |
| |
12 Debian/Ubuntu: |
| |
13 |
| |
14 apt-get install libxml2-dev libcurl3-openssl-dev libssl-dev |
| |
15 |
| |
16 EL/Fedora: |
| |
17 |
| |
18 yum install libxml2-devel libcurl-devel openssl-devel |
| |
19 |
| |
20 openSUSE: |
| |
21 |
| |
22 zypper install libxml2-devel libcurl-devel libopenssl-devel |
| |
23 |
| |
24 Solaris: |
| |
25 |
| |
26 pkg install libxml2 curl openssl |
| |
27 |
| |
28 |
| |
29 Build instructions |
| |
30 ------------------ |
| |
31 |
| |
32 When using gcc, just run |
| |
33 |
| |
34 make |
| |
35 |
| |
36 To use a different compiler run |
| |
37 |
| |
38 make CONF=<config> |
| |
39 |
| |
40 Available configs: |
| |
41 gcc |
| |
42 clang |
| |
43 suncc |
| |
44 osx |
| |
45 mingw |
| |
46 |
| |
47 |
| |
48 Install |
| |
49 ------- |
| |
50 |
| |
51 After a successful compilation, the binaries (dav/dav-sync) are in the |
| |
52 build directory. You can install them by running |
| |
53 |
| |
54 make install |
| |
55 |
| |
56 This installs the binaries to /usr. To install to an other location, run |
| |
57 |
| |
58 make install PREFIX=/your/prefix |
| |
59 |
| |
60 Note: The install target doesn't work on Windows, therefore you need to install |
| |
61 the two executables manually. |
| |
62 |