INSTALL

Sun, 27 Oct 2019 10:18:25 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 27 Oct 2019 10:18:25 +0100
changeset 677
5a4002f8d258
parent 285
02d3e4b1245f
child 802
16e5b9d32754
permissions
-rw-r--r--

add more metatests: move with metadata and directory metadata

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

mercurial