INSTALL

Sun, 21 Jul 2024 23:19:40 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 21 Jul 2024 23:19:40 +0200
changeset 822
f9e40f5c6daf
parent 802
16e5b9d32754
permissions
-rw-r--r--

fix dav_set_string_property crash if an unknown namespace prefix was specified

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
------------------

To build a release version, run configure with the following option:

    ./configure --release

The script detects your toolchain automatically. In case you want
a different compiler, you can set the CC environment variable before
running configure.

    CC=clang ./configure --release

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

    ./configure --release --prefix=/your/prefix

before running make.

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

mercurial