INSTALL

Sat, 20 Oct 2018 12:10:25 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 20 Oct 2018 12:10:25 +0200
branch
v1.2
changeset 485
c7bea9ad9d9c
parent 285
02d3e4b1245f
child 802
16e5b9d32754
permissions
-rw-r--r--

dav 1.2.3 release

Requirements
------------

In order to compile this software you need, in addition to a C compiler, the
following libraries:

libcurl
libxml2
openssl

You can install them with the following command
Debian/Ubuntu:

    apt-get install libxml2-dev libcurl3-openssl-dev libssl-dev

EL/Fedora:

    yum install libxml2-devel libcurl-devel openssl-devel

openSUSE:

    zypper install libxml2-devel libcurl-devel libopenssl-devel

Solaris:

    pkg install libxml2 curl openssl


Build instructions
------------------

When using gcc, just run

    make

To use a different compiler run

    make CONF=<config>

Available configs:
gcc
clang
suncc
bsd
osx
mingw


Install
-------

After a successful compilation, the binaries (dav/dav-sync) are in the
build directory. You can install them by running

    make install

This installs the binaries to /usr. To install to an other location, run

    make install PREFIX=/your/prefix

Note: The install target doesn't work on Windows, therefore you need to install
the two executables manually.

mercurial