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 To build a release version, run configure with the following option:
33
34 ./configure --release
35
36 The script detects your toolchain automatically. In case you want
37 a different compiler, you can set the CC environment variable before
38 running configure.
39
40 CC=clang ./configure --release
41
42 Install
43 -------
44
45 After a successful compilation, the binaries (dav/dav-sync) are in the
46 build directory. You can install them by running
47
48 make install
49
50 This installs the binaries to /usr. To install to an other location, run
51
52 ./configure --release --prefix=/your/prefix
53
54 before running make.
55
56 Note: The install target doesn't work on Windows, therefore you need to install
57 the two executables manually.
58
59