{% extends "base.html" %} {% block title %}Contributing to realmd{% endblock %} {% block content %}

Installing dependencies

To build realmd you need the following installed, and their development packages where relevant:

In addition if you're building from git, you'll need to have the various tools like Autoconf, Automake, GCC, git and so on.

On Debian or Ubuntu you can use the following command to install the dependencies:

$ sudo apt-get install build-essential autoconf automake intltool \
         gtk-doc-tools libglib2.0-dev libpackagekit-glib2-dev \
         libpolkit-gobject-1-dev libkrb5-dev libldap2-dev libsasl2-dev

On Fedora you can use the following command to install the dependencies:

$ sudo yum groupinstall "Development Tools"
$ sudo yum install automake autoconf intltool gtk-doc glib-devel \
    PackageKit-glib-devel polkit-devel krb5-devel openldap-devel \
    cyrus-sasl-devel

Getting the source code

Use git to get the source code like this:

$ git clone git://anongit.freedesktop.org/realmd/realmd

Building

To build realmd, once you have the source and dependencies run commands like this. They may need to be adapted to your system:

$ sh autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
        --enable-strict --enable-debug
$ make all
$ make check

Coding Resources

Collaborating

{% endblock %}